Hi All,

I think I found it after a big of googling.
My disk is full because I haven't mounted my backup drive properly :-[

I agree with someone else that posted a message in response to the same error message I saw, that a more relevant error message would be better. eg. disk full, not enough space, etc.

Cheers,
Brendan.


Brendan Simon wrote:

I fixed the remote login problem, but now my backups seem to be exiting prematurely.
The only error message is:
   backup failed (Child exited prematurely)

Anyone have any idea what could be causing this?
I'm using rsync/rsh from an Intel Debian Linux server (backuppc) to backup a small test directory on a PowerPC Debian Linux development server.

Thanks,
Brendan.


If you need it in other cases ist better to surround it with a test for tty-ness:

[ -t ] && {
    mesg n
}

Maarten



On Friday 30 September 2005 10:08, Brendan Simon wrote:
Craig Barratt wrote:
Brendan Simon writes:
Contents of file /var/lib/backuppc/pc/larabee/XferLOG.bad.z, modified
2005-09-30 09:00:04 (Extracting only Errors)

Running: /usr/bin/ssh -q -x -l root larabee /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive --ignore-times . /home/bjsimon/Temp/ Xfer
PIDs are now 7762
Got remote protocol 1768191091
Fatal error (bad version): stdin: is not a tty

This error is likely coming from root's .cshrc (or similar
startup script) is trying to set tty modes.  These scripts
instead should exit when stdin is not a tty.

What happens when you manually run:

  /usr/bin/ssh -q -x -l root larabee whoami

stdin: is not a tty
root

Found the problem. /root/.bash_profile sources ~/.bashrc, which has the
line "mesg n".
I've commented that line out and hopefully this change will make
backuppc happier :)






-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to