[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] OverflowError when backing up remote server
From: |
Jon Daniels |
Subject: |
Re: [rdiff-backup-users] OverflowError when backing up remote server |
Date: |
Wed, 4 Feb 2004 14:23:18 -0800 (PST) |
User-agent: |
SquirrelMail/1.4.2 |
Okay, it appears that rdiff-backup is seg faulting on the remote server
(RH Linux). I've tried upgraded to Python 2.3.3, re-installing librsync
and rdiff-backup, and I've tried the development version of rdiff-backup.
No matter what, it always seg faults. Python seems to work fine. I could
have sworn it was working yesterday....
What could be causing a segmentation fault of rdiff-backup?
-Jon
> Yesterday I could use rdiff-backup to backup a test directory across
> machines, but I had to enter the password each time. Now I've finally
> gotten my ssh key pairs working (openssh & ssh2 didn't work together
> nicely) but I can't backup a single file anymore.
>
> Here's the error I get:
>
> rdiff-backup -v10 forked.net::/tmp test
> Wed Feb 4 13:45:36 2004 Executing ssh -C forked.net rdiff-backup
> --server
> Wed Feb 4 13:45:36 2004 Client sending (0): ConnectionRequest:
> Globals.get with 1 arguments
> Wed Feb 4 13:45:36 2004 Client sending (0): 'version'
> Traceback (most recent call last):
> File "/usr/local/bin/rdiff-backup", line 23, in ?
> rdiff_backup.Main.Main(sys.argv[1:])
> File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line
> 248, in Main
> rps = map(SetConnections.cmdpair2rp, cmdpairs)
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/SetConnections.py",
> line 73, in cmdpair2rp
> if cmd: conn = init_connection(cmd)
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/SetConnections.py",
> line 136, in init_connection
> check_connection_version(conn, remote_cmd)
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/SetConnections.py",
> line 144, in check_connection_version
> try: remote_version = conn.Globals.get('version')
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> line 440, in __call__
> return apply(self.connection.reval, (self.name,) + args)
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> line 360, in reval
> result = self.get_response(req_num)
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> line 309, in get_response
> try: req_num, object = self._get()
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> line 234, in _get
> data = self._read(length)
> File
> "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py",
> line 203, in _read
> return self.inpipe.read(length)
> OverflowError: long int too large to convert to int
> [avarice] ~/rdiff-backup-0.12.6# select: Bad file descriptor
>
> I thought it may have been a problem with Python so I upgraded to the
> latest version (2.3.3) and re-built and installed rdiff-backup. Same
> problem.
>
> I am able to backup local files, but get the above mentioned error
> whenever I attempt to backup remote files to the local server.
>
> Any help would be greatly appreciated.
>
> Regards,
> Jon Daniels
>