Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

FTP: 421 Service not available....

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2007, 04:52 PM
Default FTP: 421 Service not available....



Hello all, I am running to this problem and I have no clue how to
solve it...if somebody can give me some ideas, I will really
appreciatted

I am trying to ftp a file. This is the process:

ftp -n nameofserver
user username password
cd /var/xx/xx/xx
ascii
put nameoffile
dir
bye

When i first do the ftp i get all this (I dont know if this is good or
bad):
220 bigbird FTP server (DG/UX Release R4.11MU06) ready.
500 Command not understood.
500 Command not understood.
KERBEROS_V4 rejected as an authentication type

Then I enter the username and password
and when I tried to put the file i get this message:
421 Service not available, remote server has closed connection
Passive mode refused.

Can this be a problem on the other end? I dont know what to do



erick-flores
Reply With Quote
  #2  
Old 06-15-2007, 06:02 PM
David M
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

On Fri, 15 Jun 2007 15:52:43 +0000, erick-flores rearranged some electrons
to form:

> Hello all, I am running to this problem and I have no clue how to
> solve it...if somebody can give me some ideas, I will really
> appreciatted
>
> I am trying to ftp a file. This is the process:
>
> ftp -n nameofserver
> user username password
> cd /var/xx/xx/xx
> ascii
> put nameoffile
> dir
> bye
>
> When i first do the ftp i get all this (I dont know if this is good or
> bad):
> 220 bigbird FTP server (DG/UX Release R4.11MU06) ready.
> 500 Command not understood.
> 500 Command not understood.
> KERBEROS_V4 rejected as an authentication type
>
> Then I enter the username and password
> and when I tried to put the file i get this message:
> 421 Service not available, remote server has closed connection
> Passive mode refused.
>
> Can this be a problem on the other end? I dont know what to do


Google is that way -->

"FTP 421" produced 1.5 million hits.

--
David M (dmacchiarolo)
http://home.triad.rr.com/redsled
T/S 53
sled351 Linux 2.4.18-14 has been up 14:07 1 user

Reply With Quote
  #3  
Old 06-15-2007, 06:15 PM
erick-flores
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

I know that....thats why I put all my information in this post, so
maybe somebody in here already solved this problem.

Reply With Quote
  #4  
Old 06-15-2007, 06:27 PM
Joe Beanfish
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

erick-flores wrote:
> Hello all, I am running to this problem and I have no clue how to
> solve it...if somebody can give me some ideas, I will really
> appreciatted
>
> I am trying to ftp a file. This is the process:
>
> ftp -n nameofserver
> user username password
> cd /var/xx/xx/xx
> ascii
> put nameoffile
> dir
> bye
>
> When i first do the ftp i get all this (I dont know if this is good or
> bad):
> 220 bigbird FTP server (DG/UX Release R4.11MU06) ready.
> 500 Command not understood.
> 500 Command not understood.
> KERBEROS_V4 rejected as an authentication type
>
> Then I enter the username and password
> and when I tried to put the file i get this message:
> 421 Service not available, remote server has closed connection
> Passive mode refused.

^^^^^^^^^^^^^^^^^^^^
If it were me I'd try turning off passive mode.
Reply With Quote
  #5  
Old 06-15-2007, 09:26 PM
erick-flores
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

How do I do that?

Reply With Quote
  #6  
Old 06-17-2007, 12:54 AM
Moe Trin
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

On Fri, 15 Jun 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <(E-Mail Removed) .com>, erick-flores
wrote:

>Hello all, I am running to this problem and I have no clue how to
>solve it...if somebody can give me some ideas, I will really
>appreciatted
>
>I am trying to ftp a file. This is the process:


Do you have permission to upload files to this server?

>ftp -n nameofserver
>user username password


OK - but see below

>cd /var/xx/xx/xx
>ascii
>put nameoffile


Do you have permission to put files there? /var/ is normally used for
system variable data, logs, and spools.

>When i first do the ftp i get all this (I dont know if this is good or
>bad):
>220 bigbird FTP server (DG/UX Release R4.11MU06) ready.
>500 Command not understood.
>500 Command not understood.
>KERBEROS_V4 rejected as an authentication type


Well, the server doesn't like two commands you gave, though from the
sequence you show above, I have no idea what it is responding to. The
KERBEROS_V4 protocol rejection suggests a configuration mismatch - again
no details to say what.

>Then I enter the username and password
>and when I tried to put the file i get this message:
>421 Service not available, remote server has closed connection


Obviously it doesn't like something you are trying, but you show no
context, so we have no idea what the responses are relating to. Try
cutting/pasting the console output so someone can SEE what you are doing
and what the server is doing in response. You can munge the server name,
username and password, but avoid doing any munging on the rest if you
expect people to understand your problem.

>Passive mode refused.


No context - no idea when this message was received. but the remote
server has already hung up the phone because it didn't like something
you said.

>Can this be a problem on the other end? I dont know what to do


As this is not a "normal" anonymous FTP transfer, discuss the with the
administrator of the DGSUX box.

Old guy
Reply With Quote
  #7  
Old 06-17-2007, 01:00 AM
Ivar Rosquist
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

On Fri, 15 Jun 2007 13:02:51 -0400, David M wrote:

> On Fri, 15 Jun 2007 15:52:43 +0000, erick-flores rearranged some
> electrons to form:
>
>> Hello all, I am running to this problem and I have no clue how to solve
>> it...if somebody can give me some ideas, I will really appreciatted
>>
>> I am trying to ftp a file. This is the process:
>>
>> ftp -n nameofserver
>> user username password
>> cd /var/xx/xx/xx
>> ascii
>> put nameoffile
>> dir
>> bye
>>
>> When i first do the ftp i get all this (I dont know if this is good or
>> bad):
>> 220 bigbird FTP server (DG/UX Release R4.11MU06) ready. 500 Command not
>> understood.
>> 500 Command not understood.
>> KERBEROS_V4 rejected as an authentication type
>>
>> Then I enter the username and password and when I tried to put the file
>> i get this message: 421 Service not available, remote server has closed
>> connection Passive mode refused.
>>
>> Can this be a problem on the other end? I dont know what to do

>
> Google is that way -->
>
> "FTP 421" produced 1.5 million hits.


Ie in this case, Google is pretty useless. It's interesting how
often people invoke the Google mantra, with useless suggestions like the
one above, as though they solved anything.

If you want to help, rather than chastise the OP, do suggest a
useful approach to Google that returns a manageable number of hits. Of
course, that's much more difficult; on the other hand, any moron with
delusions can redirect anyone to Google.



Reply With Quote
  #8  
Old 06-17-2007, 06:17 AM
David M
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

On Sun, 17 Jun 2007 00:00:31 +0000, Ivar Rosquist rearranged some
electrons to form:

> On Fri, 15 Jun 2007 13:02:51 -0400, David M wrote:
>
>> On Fri, 15 Jun 2007 15:52:43 +0000, erick-flores rearranged some
>> electrons to form:
>>
>>> Hello all, I am running to this problem and I have no clue how to solve
>>> it...if somebody can give me some ideas, I will really appreciatted
>>>
>>> I am trying to ftp a file. This is the process:
>>>
>>> ftp -n nameofserver
>>> user username password
>>> cd /var/xx/xx/xx
>>> ascii
>>> put nameoffile
>>> dir
>>> bye
>>>
>>> When i first do the ftp i get all this (I dont know if this is good or
>>> bad):
>>> 220 bigbird FTP server (DG/UX Release R4.11MU06) ready. 500 Command not
>>> understood.
>>> 500 Command not understood.
>>> KERBEROS_V4 rejected as an authentication type
>>>
>>> Then I enter the username and password and when I tried to put the file
>>> i get this message: 421 Service not available, remote server has closed
>>> connection Passive mode refused.
>>>
>>> Can this be a problem on the other end? I dont know what to do

>>
>> Google is that way -->
>>
>> "FTP 421" produced 1.5 million hits.

>
> Ie in this case, Google is pretty useless. It's interesting how
> often people invoke the Google mantra, with useless suggestions like the
> one above, as though they solved anything.
>
> If you want to help, rather than chastise the OP, do suggest a
> useful approach to Google that returns a manageable number of hits. Of
> course, that's much more difficult; on the other hand, any moron with
> delusions can redirect anyone to Google.


Any moron could see that the first 10 hits seemed relevant to
the OP's problem.

David M (dmacchiarolo)

Reply With Quote
  #9  
Old 06-18-2007, 06:54 PM
erick-flores
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

On Jun 16, 6:54 pm, ibupro...@painkiller.example.tld (Moe Trin) wrote:
> On Fri, 15 Jun 2007, in the Usenet newsgroup comp.os.linux.networking, in
> article <1181922763.119526.308...@o61g2000hsh.googlegroups .com>, erick-flores
> wrote:
>
> >Hello all, I am running to this problem and I have no clue how to
> >solve it...if somebody can give me some ideas, I will really
> >appreciatted

>
> >I am trying to ftp a file. This is the process:

>
> Do you have permission to upload files to this server?
>
> >ftp -n nameofserver
> >user username password

>
> OK - but see below
>
> >cd /var/xx/xx/xx
> >ascii
> >put nameoffile

>
> Do you have permission to put files there? /var/ is normally used for
> system variable data, logs, and spools.
>
> >When i first do the ftp i get all this (I dont know if this is good or
> >bad):
> >220 bigbird FTP server (DG/UX Release R4.11MU06) ready.
> >500 Command not understood.
> >500 Command not understood.
> >KERBEROS_V4 rejected as an authentication type

>
> Well, the server doesn't like two commands you gave, though from the
> sequence you show above, I have no idea what it is responding to. The
> KERBEROS_V4 protocol rejection suggests a configuration mismatch - again
> no details to say what.
>
> >Then I enter the username and password
> >and when I tried to put the file i get this message:
> >421 Service not available, remote server has closed connection

>
> Obviously it doesn't like something you are trying, but you show no
> context, so we have no idea what the responses are relating to. Try
> cutting/pasting the console output so someone can SEE what you are doing
> and what the server is doing in response. You can munge the server name,
> username and password, but avoid doing any munging on the rest if you
> expect people to understand your problem.
>
> >Passive mode refused.

>
> No context - no idea when this message was received. but the remote
> server has already hung up the phone because it didn't like something
> you said.
>
> >Can this be a problem on the other end? I dont know what to do

>
> As this is not a "normal" anonymous FTP transfer, discuss the with the
> administrator of the DGSUX box.
>
> Old guy


Thanks for your reply.

Here is whats happening and its getting more confused:
This ftp process runs from a crontab. It runs every day (mon-fri) @
19:30. When it runs it fails. But then when i run (the exact same
script) manually @ 8.35 every morning it runs just fine. Can be
something wrong in the crontab then?

this is how my crontab looks like:
30 19 * * 1-5 /usr/local/bin/x.autoextract # Extract orders

Any ideas?

Thanks

Reply With Quote
  #10  
Old 06-18-2007, 07:07 PM
Joe Beanfish
Guest
 
Posts: n/a
Default Re: FTP: 421 Service not available....

erick-flores wrote:
> On Jun 16, 6:54 pm, ibupro...@painkiller.example.tld (Moe Trin) wrote:
>> On Fri, 15 Jun 2007, in the Usenet newsgroup comp.os.linux.networking, in
>> article <1181922763.119526.308...@o61g2000hsh.googlegroups .com>, erick-flores
>> wrote:
>>
>>> Hello all, I am running to this problem and I have no clue how to
>>> solve it...if somebody can give me some ideas, I will really
>>> appreciatted
>>> I am trying to ftp a file. This is the process:

>> Do you have permission to upload files to this server?
>>
>>> ftp -n nameofserver
>>> user username password

>> OK - but see below
>>
>>> cd /var/xx/xx/xx
>>> ascii
>>> put nameoffile

>> Do you have permission to put files there? /var/ is normally used for
>> system variable data, logs, and spools.
>>
>>> When i first do the ftp i get all this (I dont know if this is good or
>>> bad):
>>> 220 bigbird FTP server (DG/UX Release R4.11MU06) ready.
>>> 500 Command not understood.
>>> 500 Command not understood.
>>> KERBEROS_V4 rejected as an authentication type

>> Well, the server doesn't like two commands you gave, though from the
>> sequence you show above, I have no idea what it is responding to. The
>> KERBEROS_V4 protocol rejection suggests a configuration mismatch - again
>> no details to say what.
>>
>>> Then I enter the username and password
>>> and when I tried to put the file i get this message:
>>> 421 Service not available, remote server has closed connection

>> Obviously it doesn't like something you are trying, but you show no
>> context, so we have no idea what the responses are relating to. Try
>> cutting/pasting the console output so someone can SEE what you are doing
>> and what the server is doing in response. You can munge the server name,
>> username and password, but avoid doing any munging on the rest if you
>> expect people to understand your problem.
>>
>>> Passive mode refused.

>> No context - no idea when this message was received. but the remote
>> server has already hung up the phone because it didn't like something
>> you said.
>>
>>> Can this be a problem on the other end? I dont know what to do

>> As this is not a "normal" anonymous FTP transfer, discuss the with the
>> administrator of the DGSUX box.
>>
>> Old guy

>
> Thanks for your reply.
>
> Here is whats happening and its getting more confused:
> This ftp process runs from a crontab. It runs every day (mon-fri) @
> 19:30. When it runs it fails. But then when i run (the exact same
> script) manually @ 8.35 every morning it runs just fine. Can be
> something wrong in the crontab then?
>
> this is how my crontab looks like:
> 30 19 * * 1-5 /usr/local/bin/x.autoextract # Extract orders


Could be time sensitivity on the ftp server.
Or environment dependencies in your script. cron jobs get a much smaller
set of env vars than do interactive jobs.
Try cron for 8:35 to tell for sure.
Check your scripts for env dependencies.
Post your script for further input.
Reply With Quote
Reply

Tags
421, ftp, service

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:51 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.