Results 1 to 4 of 4
Below is a ftp job that cron runs every night. What it does, it pings the main server for connectivity before ftping the file across. I have started getting the ...
- 05-22-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 3
Cron Daemon
Below is a ftp job that cron runs every night. What it does, it pings the main server for connectivity before ftping the file across. I have started getting the error two days ago and cant figure out what the problem is because the ftp password hasnt been changed. I have 5 other RHEL5 servers that are experiencing the same problem. Please help
3 packets transmitted, 3 received, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 851.710/855.264/858.362/2.734 ms Login incorrect.
Login failed.
Please login with USER and PASS.
Interactive mode off.
Local directory now /dir/dir/r??/p??/s??/??
Please login with USER and PASS.
Please login with USER and PASS.
Passive mode refused.
Please login with USER and PASS.
Passive mode refused.
- 05-22-2009 #2Linux Newbie
- Join Date
- Jul 2005
- Location
- Australia (Down Under)
- Posts
- 141
I don't mean to offend by asking,
Can you login to the FTP manually with the password, supplied in the script? If so try re entering that password into the script. If you cannot login manually it could indicate that the password has changed or perhaps that username is no longer valid?... on the FTP server
Its strange that all 5 RH servers would be doing it at the same time, this indicates to me that the issue may be with the FTP server not the RH servers, have you installed a firewall, changed permissions on the FTP or something. Unless you have done updates to all of the RH servers recently, i would imagine that its the FTP server not the RH ServersLinux is the OS of tomorrow, Here today!!
- 05-22-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 3
thanks, crazy01, I was able to manually upload the file onto the main server. I must admit i am a linux newbie, and having quite a hell of a time trying to locate this script. could you point out where to locate it
many thanks for your help
- 05-22-2009 #4Linux Newbie
- Join Date
- Jul 2005
- Location
- Australia (Down Under)
- Posts
- 141
not to sure, it depends on the server. i spose the easiest way would be to check the crontab using
for example it may say something likeCode:crontab -e
30 15 * * 2 ./Backup.sh
this would indicate that the script is in root's home directory. hope that helpsLinux is the OS of tomorrow, Here today!!


Reply With Quote