Networking Forums

Networking Forums > Computer Networking > Linux Networking > FTP: 421 Service not available....

Reply
Thread Tools Display Modes

FTP: 421 Service not available....

 
 
erick-flores
Guest
Posts: n/a

 
      06-15-2007, 03:52 PM
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

 
Reply With Quote
 
 
 
 
David M
Guest
Posts: n/a

 
      06-15-2007, 05:02 PM
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
 
erick-flores
Guest
Posts: n/a

 
      06-15-2007, 05:15 PM
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
 
Joe Beanfish
Guest
Posts: n/a

 
      06-15-2007, 05:27 PM
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
 
erick-flores
Guest
Posts: n/a

 
      06-15-2007, 08:26 PM
How do I do that?

 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      06-16-2007, 11:54 PM
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
 
Ivar Rosquist
Guest
Posts: n/a

 
      06-17-2007, 12:00 AM
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
 
David M
Guest
Posts: n/a

 
      06-17-2007, 05:17 AM
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
 
erick-flores
Guest
Posts: n/a

 
      06-18-2007, 05:54 PM
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
 
Joe Beanfish
Guest
Posts: n/a

 
      06-18-2007, 06:07 PM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
service logs in with local service account MS News Windows Networking 1 02-18-2008 08:04 PM
windows 2000 server Terminal service licensing service bharat Windows Networking 0 02-20-2007 09:01 PM
The Routing and Remote Access service terminated with service-specific error 193 Manu Windows Networking 0 07-10-2005 07:59 AM
Firewall Service/Winsock Redirector Service alternatives on Linux? Nil Einne Linux Networking 1 02-26-2004 05:16 PM
Server service does not start - TCP/IP service not available. David Sklarew Windows Networking 1 01-30-2004 01:15 AM



1 2 3 4 5 6 7 8 9 10 11