rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Can anyone explain this error when running rdiff-ba


From: Chris G
Subject: [rdiff-backup-users] Can anyone explain this error when running rdiff-backup from cron?
Date: Mon, 22 Nov 2010 13:41:54 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

I realise this isn't really an rdiff-backup problem but I'm rather
stumped by this problem.

I have an rdiff-backup that runs as a cron job, "crontab -l" shows:-

    25 02 * * * /usr/local/bin/rdiff-backup /home/isbd 
address@hidden::backups/isbd


When run from the command line this works fine:-

    chris$ /usr/local/bin/rdiff-backup /home/isbd
    address@hidden::backups/isbd
    /usr/local/lib/python2.6/dist-packages/rdiff_backup/SetConnections.py:148:
    DeprecationWarning: os.popen2 is deprecated.  Use the subprocess module.
      stdin, stdout = os.popen2(remote_cmd)
    Warning: Local version 1.2.8 does not match remote version 1.2.5.


But when run as a cron job (from my crontab) I get the following errors
(mailed to me):-

    /usr/local/lib/python2.6/dist-packages/rdiff_backup/SetConnections.py:148:
    DeprecationWarning: os.popen2 is deprecated.  Use the subprocess module.
      stdin, stdout = os.popen2(remote_cmd)
    Permission denied, please try again.
    Permission denied, please try again.
    Permission denied (publickey,password).
    Fatal Error: Truncated header string (problem probably originated remotely)

    Couldn't start up the remote connection by executing

        ssh -C address@hidden rdiff-backup --server

    Remember that, under the default settings, rdiff-backup must be
    installed in the PATH on the remote system.  See the man page for more
    information on this.  This message may also be displayed if the remote
    version of rdiff-backup is quite different from the local version (1.2.8).



While I'm about it will moving to Version 1.3.3 get rid of all those
warning messages?

-- 
Chris Green



reply via email to

[Prev in Thread] Current Thread [Next in Thread]