RCP Failure


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers RCP Failure
# 1  
Old 04-25-2010
RCP Failure

I HAVE A PERL SCRIPT WHICH RCP files from one server to another. The script is not having any issues for years and it is running for more than 3 years . Last week it had failed with error "Command timed out " error. Please help me out
# 2  
Old 04-25-2010
Well, start thinking about this logically. What does "Command timed out" mean? Is it coming from the script, or from some command in the script? Can you RCP the files manually? If so, then either something in the script has changed, or something the script depends on has changed. If not, then maybe it has nothing to do with the script. It could be a routing problem, or an interface problem, or any number of networking problems.

Just saying that "it doesn't work" isn't a good way to get help with issues like this. You should provide details about what exactly is going on, and let everyone know what you've tried so they can start ruling things out.
# 3  
Old 04-25-2010
Sorry for not providing the earlier. I have tried to manually rcp the files and it is successful. The script was running fine and only the rcp part in the script has thrown this error. Also i believe that no modifcation has been doen to script recently. Will the file size that is getting rcp'ed have an impact on this.

PLease advise
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

rcp -r || cp -r

what different between two instruction cp -r rcp -r (1 Reply)
Discussion started by: tamer11007
1 Replies

2. Shell Programming and Scripting

rcp not working?

I'm trying to copy a file from a remote unix box, host1, to my unix box, host2. The first line of code gets the last word from a text document (this is the name of the file I need from host1) #!/usr/bin/ksh tail -1 Report.txt | perl -e '@arr = split /\//,<>; lastWord = $arr' rcp... (3 Replies)
Discussion started by: mrskittles99
3 Replies

3. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

4. UNIX for Dummies Questions & Answers

RCP command

hi, When i use RCP command to copy filr from a different servers, it is showing as connection refused??? ca anyone help me out??? thanks, Arun Manas:b: (2 Replies)
Discussion started by: arunmanas
2 Replies

5. Shell Programming and Scripting

rcp the file

Hi I am using rcp command to copy the file one linux to other linux machine I need the ouput log for this like 1 file coied size of the file date stamp my copy comman is rcp 10.100.11.2:/u01/pr/uni.txt /u05/ryd/uni.txt once this script run i need to capture the... (3 Replies)
Discussion started by: aboorkuma
3 Replies

6. Shell Programming and Scripting

using rcp command

Hi All, I am writing a shell script which will copy binaries from one remote server to local server. I am using "rcp command". But "rcp" command asks for the login password when copying to local server. Can anybody tell me how to pass the password through the shell script? Thanks ... (2 Replies)
Discussion started by: amitrajvarma
2 Replies

7. UNIX for Dummies Questions & Answers

RCP problems

Hi! Daily, one of our RedHat Enterprise servers tries to get some files from other RedHat Enterprise server through rcp. Strangely, only the smallest files (about 80K) are transferred, the larger ones (about 40Mb) are not. The rcp doesn't issue any error message, only keeps waiting and waiting... (0 Replies)
Discussion started by: Daishi
0 Replies

8. UNIX for Dummies Questions & Answers

Rcp

I am trying to set up RCP so root can access a few machines for file transfer. On the target machine, I have set up a .RHOSTS file that looks like: 10.33.1.59 root However when I try to use RCP to copy a file to this machine, I get permission denied. Is it possible since another user is... (1 Reply)
Discussion started by: hshapiro
1 Replies

9. UNIX for Advanced & Expert Users

rcp error

I'm trying to perform a rcp to a remote machine, but it keeps throwing up "LOGNAME: undefined variable" error. When I echo $LOGNAME, it comes up with my username. I have tried setting both the .rhosts and the .hosts.equiv file but to no avail (on both machines as well out of desperation!). Anyone... (8 Replies)
Discussion started by: divid_gil
8 Replies

10. UNIX for Dummies Questions & Answers

rcp in SCO 5.0.7

I am installing 5.0.7 on an existing SCO network. The 2 other machines are using 5.0.5 and rcp works daily both ways between the 2 older machines. However I cannot copy from either machine running 5.0.5 to the new 5.0.7 machine - "Permission Denied" /etc/hosts is configured correctly... (4 Replies)
Discussion started by: farmacy
4 Replies
Login or Register to Ask a Question