rcp is meant to copy between different hosts; attempting to
rcp a file onto itself, as with:
rcp tmp/file myhost:/tmp/file
results in a severely corrupted file.
rcp may not correctly fail when the target of a copy is a
file instead of a directory.
rcp can become confused by output generated by commands in
a $HOME/.profile on the remote host.
rcp requires that the source host have permission to exe-
cute commands on the remote host when doing third-party
copies.
rcp does not properly handle symbolic links. Use tar \(see
tar\(1\)\) or cpio \(see cpio\(1\)\) piped to rsh to obtain
remote copies of directories containing symbolic links or
named pipes.
If you forget to quote metacharacters intended for the
remote host, you will get an incomprehensible error message.
rcp will fail if you copy ACLs to a file system that does
not support ACLs.
Also do a :
<pre>
ps -ef|grep remshd // to see if anything like this is running
more /etc/passwd // to see if there is any account like remshd
cd /root/daily_maint //check that directory or file.
I think that it is a problem with this particular box. When I do a type rcp, the response comes back with /bin/rcp. All of my other boxes have it in /usr/bin/rcp.
Also, I can rcp the file in question to any other box except this box. I have check the file permissions and directory parms as well. Everything looks to be okay.
I do have an .rhosts file setup. I have tried to use the full path of the exe /usr/bin/rcp from both directions, a remote box and from the box in question as well. I still get the same reply.
It was a problem with access between the two boxes. I tried to rlogin back and forth between the boxes. I could go from the box with rcp problems back to my other box with no problems. But I could not rlogin from the latter box into the former box.
When I tried to rlogin it asked me to change the password. So, I did. Now it works!!
Thanks for updating on the solution. Sometimes the little, hidden things are more important than the big things. Well... now that I think about it.... the little things that we can't explain make life so interested.
My sincere thanks to everyone who takes the time to post the solutions to their problems and not just the problems !