|
||||||||
|
|
#1
|
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
I know that....thats why I put all my information in this post, so
maybe somebody in here already solved this problem. |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
How do I do that?
|
|
#6
|
|||
|
|||
|
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 |
|
#7
|
|||
|
|||
|
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. |
|
#8
|
|||
|
|||
|
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) |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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. |
![]() |
| Tags |
| 421, ftp, service |
| Thread Tools | |
| Display Modes | |
|
|