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

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

Re: [rdiff-backup-users] Assertion Error, Fatal Error: Lost connection t


From: Josh Nisly
Subject: Re: [rdiff-backup-users] Assertion Error, Fatal Error: Lost connection to the remote system. Rdiff-Backup v1.2.8-1 on Ubuntu 8.10 Intrepid Ibex
Date: Sun, 03 May 2009 08:24:51 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Although the error message should be better, I believe that you are calling rdiff-backup incorrectly. Depending on what you are trying to do, you should either run:

rdiff-backup --test-server address@hidden

or
/usr/bin/rdiff-backup address@hidden::/var/exports/ /var/backups/fileserver/

In other words, --test-server is only for testing whether rdiff-backup is 
functioning correct at the remote host. Since it appears that you are wanting 
to actually run a backup, I believe that you need to remove the --test-server 
parameter.

JoshN


Shoaibi wrote:
I have a fileserver and a backupserver. Both have Ubuntu 8.10 Intrepid
ibex, fully updated, and contains the latest rdiff-backup build
available at: https://launchpad.net/~rdiff-backup-pkgs/+archive/ppa


Here is my issue:

Trying to backup:
============
/usr/bin/rdiff-backup -v5 --print-statistics --test-server
address@hidden::/var/exports/ /var/backups/fileserver/
Using rdiff-backup version 1.2.8
Executing ssh -C address@hidden rdiff-backup --server
Exception '' raised of class '<type 'exceptions.AssertionError'>':
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
324, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
291, in take_action
    elif action == "test-server": SetConnections.TestConnections(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/SetConnections.py",
line 248, in TestConnections
    assert len(Globals.connections) == len(rpaths) + 1

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
304, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
324, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line
291, in take_action
    elif action == "test-server": SetConnections.TestConnections(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/SetConnections.py",
line 248, in TestConnections
    assert len(Globals.connections) == len(rpaths) + 1
AssertionError
Fatal Error: Lost connection to the remote system




Where as both machines has the exact same versions of the rdiff-backup
requirements:
================
# dpkg -l | grep python
ii  python                                2.5.2-1ubuntu1
 An interactive high-level object-oriented la
ii  python-apt                            0.7.7.1ubuntu4
 Python interface to libapt-pkg
ii  python-central                        0.6.7ubuntu1
 register and build utility for Python packag
ii  python-gdbm                           2.5.2-1ubuntu1
 GNU dbm database support for Python
ii  python-gnupginterface                 0.3.2-9ubuntu1
 Python interface to GnuPG (GPG)
ii  python-minimal                        2.5.2-1ubuntu1
 A minimal subset of the Python language (def
ii  python-pexpect                        2.1-1build1
 Python module for automating interactive app
ii  python-pylibacl                       0.4.0-1ubuntu1
 module for manipulating POSIX.1e ACLs
ii  python-pyxattr                        0.4.0-1ubuntu1
 module for manipulating filesystem extended
ii  python-support                        0.8.4
 automated rebuilding support for Python modu
ii  python2.5                             2.5.2-11.1ubuntu1
 An interactive high-level object-oriented la
ii  python2.5-dev                         2.5.2-11.1ubuntu1
 Header files and a static library for Python
ii  python2.5-minimal                     2.5.2-11.1ubuntu1
 A minimal subset of the Python language (ver

# dpkg -l | grep rdiff
ii  rdiff-backup                          1.2.8-1~andol2~intrepid1
 remote incremental backup

# dpkg -l | grep ssh
ii  openssh-blacklist                     0.4.1
 list of default blacklisted OpenSSH RSA and
ii  openssh-client                        1:5.1p1-3ubuntu1
 secure shell client, an rlogin/rsh/rcp repla
ii  openssh-server                        1:5.1p1-3ubuntu1
 secure shell server, an rshd replacement
ii  ssh                                   1:5.1p1-3ubuntu1
 secure shell client and server (metapackage)

# dpkg -l | grep rsync
ii  librsync-dev                          0.9.7-5
 rsync remote-delta algorithm library (develo
ii  librsync1                             0.9.7-5
 rsync remote-delta algorithm library
ii  rsync                                 3.0.3-2ubuntu1
 fast remote file copy program (like rcp)



Any suggestion are appreciated.

thanks for the time.


_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki






reply via email to

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