John, I found the post I made a while back where the same thing was happening to me. Unfortunately, it's not very descriptive. It only says that I misconfigured my /etc/sudoers file.
http://sourceforge.net/mailarchive/forum.php?thread_name=46B9C3FF.1010404%40bio-chemvalve.com&forum_name=backuppc-users Post your /etc/sudoers file and I'll see if anything jogs my memory. -Rob John Medway, Rim Semiconductors wrote: > OK, so it boils down to one machine on which this happens. > All the others are just fine, with what should be the same > sshd and sudo config, but there are different versions of > the rsync packages, so I tried updating that. > > Still the infinite hang, just trying to back up /boot and > /root and /etc as a small test. > > Ideas on what I should check next? > > If I run that rsync command manually, what should be produced > and where? > > > At 11:39 AM 10/1/2007, John Medway, Rim Semiconductors wrote: >> Well, both ssh and sudo each work correctly, as it turns out. But I am >> starting to wonder about the actual rsync command and aruments. I don't >> know all these switches, and just took this from someone's on-line backuppc >> example, so I think that's what I need to research next. >> >> >> At 08:01 AM 10/1/2007, Rob Owens wrote: >> >>> John Medway, Rim Semiconductors wrote: >>>> New install via RPM of version 2.1.2pl2 on Fedora 7. >>>> >>>> Trying to back up /root (just the root acct. homedir as a small test) on >>>> itself, succeeds. Trying to back up /root on another Linux host starts, >>> but >>>> never terminates or produces any data. >>>> >>>> >>>> Per one of the recommendations on how to run BackUPC securely, I have the >>>> following set for the RsyncClientCmd. >>>> >>>> >> <http://mckenzie.rimsemi.com/BackupPC?action=view&type=docs#item_%24conf%7brsyncclientcmd%7d>$Conf{RsyncClientCmd} >>>> = '$sshPath -l backuppc $host nice -n 19 sudo $rsyncPath $argList+'; >>>> >>>> >>>> The ssh and the sudo succeed, because on the backup target, the following >>>> process is running: >>>> >>>> 4 S root 6133 6132 0 94 19 - 4384 - 14:41 >> ? 00:00:04 >>>> /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D >>>> --links --times --block-size=2048 --recursive --one-file-system >>>> --ignore-times . /root/ >>>> >>> I had this happen before. Two things: Sudo could be running but >>> waiting for a password. SSH could be running, but waiting for the OK to >>> connect to a previously unknown host. In both cases, if I remember >>> correctly, everything appears to be working but nothing actually gets >>> transferred. Since the rsync process is running on the server, it seems >>> like SSH has succeeded. Check your sudoers file for proper >>> configuration (use the NOPASSWD option) >>> >>> -Rob >>> >>>> But it produces nothing in the data dir, and only this in the LOG file: >>>> >>>> [EMAIL PROTECTED] fs]# more LOG >>>> 2007-09-29 14:41:56 full backup started for directory /root >>>> >>>> >>>> Ideas? >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> BackupPC-users mailing list >>>> BackupPC-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/backuppc-users >>>> http://backuppc.sourceforge.net/ >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> BackupPC-users mailing list >>> BackupPC-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/backuppc-users >>> http://backuppc.sourceforge.net/ >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> BackupPC-users mailing list >> BackupPC-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/backuppc-users >> http://backuppc.sourceforge.net/ > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/backuppc-users > http://backuppc.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/