Hi,
Jesse Proudman wrote on 02.03.2007 at 14:01:15 [[BackupPC-users]
fileListReceive failed on 2 servers]:
> I just added 2 servers to our backup pool: a direct admin and a
> cpanel server. Both are getting the following error when trying to
> back them up:
>
> Contents of file /backuparray/pc/xxx/XferLOG.bad.z, modified
> 2007-03-02 13:00:04 (Extracting only Errors)
>
> full backup started for directory /
> Running: /usr/bin/ssh -q -x -l bbBackup xxxsudo\ /usr/bin/rsync --
> server --sender --numeric-ids --perms --owner --group -D --links --
> times --block-size=2048 --recursive --ignore-times . /
> Xfer PIDs are now 20392
> Got remote protocol 1768191091
> Fatal error (bad version): stdin: is not a tty
^^^^^^^^^^^^^^^^^^^
> [... leading to ...]
> fileListReceive() failed
> Done: 0 files, 0 bytes
> Got fatal error during xfer (fileListReceive failed)
> Backup aborted by user signal
this is output generated by your shell startup process. Non-interactive shells
should probably never generate *any* output (except perhaps on fatal errors),
as this will commonly lead to problems (not only within BackupPC).
Craig Barratt wrote on 10.02.07 [[BackupPC-users] Strange Backuppc Problem with
rsync], Message-ID: <[EMAIL PROTECTED]>:
> The most likely cause is that root's .cshrc (or equivalent) is doing
> an stty. You should change it so that it doesn't do an stty on a
> non-login shell. For csh/tcsh you could do something like this
>
> if ( ! $?USER || "$prompt" == "" || ! $?term ) then
> # done for non-interactive shell
> exit
> endif
>
> prior to running login-shell commands like stty.
As it turned out, in that case it was something different (though in your
case the above may apply).
Paulo Cardoso wrote on 13.02.07 [same thread], Message-ID: <[EMAIL PROTECTED]>:
> I found that I had "mesg y" on /etc/bashrc
> As soon as I comented it the backups start working.
>
> After that I've placed this on the .bashrc file:
>
> [[ -t 0 ]] && mesg y
There are other commands (and shells and startup processes ...) that could
lead to the same problem, but these two examples might give you a hint what
to look for.
Regards,
Holger
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/