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

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

Re: [rdiff-backup-users] Re: rdiff-crash: why does it crash?


From: Thomas Bettler
Subject: Re: [rdiff-backup-users] Re: rdiff-crash: why does it crash?
Date: Sat, 20 Nov 2004 03:14:20 +0100
User-agent: KMail/1.7.1

I get an error backing up my laptop to an nfs location.
(See former mails with same subject)

So therefore I now tried to an ssh location on a FreeBSD server.
As a normal user I'm not allowed to set the sticky bit there:
$ chmod 1644 foo
chmod: foo: Inappropriate file type or format

I looked at man and tried it with --no-change-dir-inc-perms but nothing 
changes I still get this failure with [errno 79] ... see below for details.

What should I do? Any suggetions here. I don't wan't to allow normal users to 
set sticky bit on my FreeBSD server, no way - neiter I'd allow connection via 
ssh as root. 
Are there any other possibilities?


Thank you kindly for any hints
Tom

Output......
[...]
Processing changed file etc/wget
Processing changed file etc/wget/wgetrc
Processing changed file etc/wvdial.conf
Sending back exception [Errno 79] Inappropriate file type or format: 
'/usr/files/SAVE/debox2/system/etc/rdiff-backup.tmp.2332' of type 
exceptions.OSError:
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py", 
line 329, in answer_request
    result = apply(eval(request.function_string), argument_list)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
210, in patch
    ITR(diff.index, diff)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 
279, in __call__
    last_branch.fast_process(*args)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
456, in fast_process
    if self.patch_to_temp(rp, diff_rorp, tf):
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/backup.py", line 
482, in patch_to_temp
    if new.lstat(): rpath.copy_attribs(diff_rorp, new)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 
157, in copy_attribs
    rpout.chmod(rpin.getperms())
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 
629, in chmod
    self.conn.os.chmod(self.path, permissions)

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 254, in 
Main
    take_action(rps)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 226, in 
take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 271, in 
Backup
    backup.Mirror(rpin, rpout)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 36, in 
Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 
440, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib/python2.3/site-packages/rdiff_backup/connection.py", line 
362, in reval
    if isinstance(result, Exception): raise result
OSError: [Errno 79] Inappropriate file type or format: 
'/usr/files/SAVE/debox2/system/etc/rdiff-backup.tmp.2332'
debox tom # 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 
254, in Main
    take_action(rps)
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/Main.py", line 
224, in take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/local/lib/python2.3/site-packages/rdiff_backup/connection.py", 
line 347, in Server
    self.get_response(-1)
  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 225, in _get
    raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem 
probably originated remotely)
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method GzipFile.__del__ of <gzip open file 
'/usr/files/SAVE/debox2/system/rdiff-backup-data/file_statistics.2004-11-20T02:57:01+01:00.data.gz',
 
mode 'wb' at 0x81ef2e0 0x832244c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method GzipFile.__del__ of <gzip open file 
'/usr/files/SAVE/debox2/system/rdiff-backup-data/error_log.2004-11-20T02:57:01+01:00.data.gz',
 
mode 'wb' at 0x81c99a0 0x8315a4c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound 
method GzipFile.__del__ of <gzip open file 
'/usr/files/SAVE/debox2/system/rdiff-backup-data/mirror_metadata.2004-11-20T02:57:01+01:00.snapshot.gz',
 
mode 'wb' at 0x81ef860 0x832256c>> ignored

Attachment: pgpNo6mixMZyY.pgp
Description: PGP signature


reply via email to

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