problem with ufsdump over rsh/ssh with solaris 10
807557May 3 2005 — edited Aug 10 2007Hi,
I want to do a ufsdump over rsh/ssh between 2 servers running Solaris 10. Here is the command I launch :
localServer:# rsh rmtServer "ufsdump 0f - /var" > /backups/rmtServer
When I execute this command on the command line, everything is working very well. But, when I launch the same command with cron or at, it's not working. Instead, I have a broken pipe, the dump is aborted and the following message appears in /var/cron/log:
"! could not obtain latest contract from popen(3C): No such process Tue May 3 10:27:09 2005"
If I run the same command (cron) on a remote server running Solaris 8, it's working.
The problem seems to come from the redirection of the input in a file on the local server. If I put the redirection on the remote server (rsh rmtServer "ufsdump 0f - /var > /somefs/rmtServer"), it's working.
So, what is the source of the problem ?
Jeff