Strange error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Strange error

Chris Wilson-3
Hi Ben and all,

I've recently started to get this error for no apparent reason (as far as
I can see nothing has changed). It happens when backing up a Fedora Core 1
box (phpeace) onto a Gentoo box (top). Both run rdiff-backup 1.0.0.

--------------------------------------------------------------------------
top root # rdiff-backup --force --exclude '/proc'
  --exclude '/var/spool/exim' [hidden email]::/
  /mnt/backup/phpeace-rdiff/
Traceback (most recent call last):
   File "/usr/bin/rdiff-backup", line 21, in ?
     import rdiff_backup.Main
   File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line 25,
in ?
     import Globals, Time, SetConnections, selection, robust, rpath, \
   File "/usr/lib/python2.2/site-packages/rdiff_backup/SetConnections.py",
line 30, in ?
     import Globals, connection, rpath
   File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
534, in ?
     import Globals, Time, Rdiff, Hardlink, FilenameMapping, C, Security, \
   File "/usr/lib/python2.2/site-packages/rdiff_backup/manage.py", line 24,
in ?
     import Globals, Time, static, statistics, restore, selection
ValueError: bad marshal data
Fatal Error: Truncated header string (problem probably originated
remotely)

Couldn't start up the remote connection by executing

     ssh -C [hidden email] 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.0.0).
--------------------------------------------------------------------------

But I can run the ssh command just fine:

--------------------------------------------------------------------------
top root # ssh -C [hidden email] -v rdiff-backup --server
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
[...]
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: rdiff-backup --server
--------------------------------------------------------------------------

And if I enter some junk data into this session n, the remote
rdiff-backup throws an exception:

--------------------------------------------------------------------------

aa
aaa

debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
Traceback (most recent call last):
   File "/usr/bin/rdiff-backup", line 24, in ?
     rdiff_backup.Main.Main(sys.argv[1:])
[...]
   File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py", line
208, in _read
     return self.inpipe.read(length)
OverflowError: long int too large to convert to int
debug1: channel 0: free: client-session, nchannels 1
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 7.8 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1
--------------------------------------------------------------------------

I'm completely stumped. Any ideas, anyone?

Cheers, Chris.
--
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: Strange error

Ben Escoto
>>>>> Chris Wilson <[hidden email]>
>>>>> wrote the following on Sun, 6 Nov 2005 12:15:45 +0000 (GMT)
>
> I've recently started to get this error for no apparent reason (as far as
> I can see nothing has changed). It happens when backing up a Fedora Core 1
> box (phpeace) onto a Gentoo box (top). Both run rdiff-backup 1.0.0.
...
> ValueError: bad marshal data

Does rdiff-backup work fine on both sides individually?  If so, how
about "rdiff-backup --test-server [hidden email]::/"?  If that
fails, another thing you can try is seeing if either side can connect
to itself, like on machine A do "rdiff-backup --test-server A::/" and
on machine B do "rdiff-backup --test-server B::/"


--
Ben Escoto

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

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Strange error

Chris Wilson-3
Hi Ben,

> Does rdiff-backup work fine on both sides individually?  If so, how
> about "rdiff-backup --test-server [hidden email]::/"?  If that
> fails, another thing you can try is seeing if either side can connect
> to itself, like on machine A do "rdiff-backup --test-server A::/" and
> on machine B do "rdiff-backup --test-server B::/"

Looks like the source machine was unhappy about something. Local backups
didn't work, and rpm segfaulted when I tried to verify the python package.
I rebooted it and it seems to be working now. Sorry to have troubled you.

Cheers, Chris.
--
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |



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