From: Tony N. <ton...@ge...> - 2007-08-27 20:54:36
|
At 11:57 AM -0400 8/27/07, Ubaidul Khan wrote: >I attempting to backup a Redhat Linux Machine(Linux 2.6.18-8.1.1.el5xen >x86_64) without a tape drive to another Redhat Linux Machine(Linux >2.6.18-8.1.1.el5xen x86_64) with a tape drive. I have some backup scripts >that login to remote machines over ssh and call scripts that start dump over >ssh. The machines are setup in the following way: > >1. operator - This group exits on all machines >2. sysop - This is the user that's invoking dump on all machines - this >user is also part of the following groups: operator disk wheel >3. The sysop environment includes the variable RSH which is set to >"/usr/bin/ssh" >4. Public key authentication has been setup between the machines so sysop >can login from one machine to the other and back and forth. I verified this >and it works(I can ssh to the remote machine and from that machine I can ssh >to the machine with the tape drive and run commands). > >The backup system works in the following manner: > > M1 ---sysop-ssh-login(invoke dump)----> M2 > M2 ---dump-over-ssh---> M1:/dev/nst0 > [sysop@M1 ~]$ ssh -T -v M2 "/sbin/dump -0 -f M1:/dev/nst0 /boot" > >The error message I am getting is: > DUMP: rcmd: socket: Permission denied > >However I can successfully run dumps, if I login to M2 over ssh to an >interactive shell(bash) and run: > > [sysop@M2 ~]$/sbin/dump -0 -f M1:/dev/nst0 /boot > >Any help/suggestion is greatly appreciated. Uhh, the second one is a login shell? WAG. -- ____________________________________________________________________ TonyN.:' <mailto:ton...@ge...> ' <http://www.georgeanelson.com/> |