SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rdiff-backup 1.2.8 - Sending back exception global name posi
Author Message
Post rdiff-backup 1.2.8 - Sending back exception global name posi 
Hi,

we use rdiff-backup to backup 4 servers. For backup media we use 10 WD
WorldBook NAS drives and cycle them through days.

We use NFS to mount a NAS disk on one of the servers (the file server),
then we run rdiff-backup to remotly backup a server to a 'local' NFS mount:

# rdiff-backup -v5 --force --ssh-no-compression --exclude-fifos
--exclude-device-files --exclude-sockets --print-statistics server2::/
/mnt/nas_backup/disk-01-D1

We used this backup for a couple of years now and apart from the NAS
disk slowness we haven't had much trouble...

However, we have replaced the file server recently. We still use
rdiff-backup 1.2.8, but now we get an error:

Sending back exception global name 'posix1e' is not defined of type
<type 'exceptions.NameError'>:
File
"/usr/lib64/python2.6/site-packages/rdiff_backup/connection.py", line
335, in answer_request
result = apply(eval(request.function_string), argument_list)
File
"/usr/lib64/python2.6/site-packages/rdiff_backup/connection.py", line
485, in readfromid
if length is None: return cls.vfiles[id].read()
File "/usr/lib64/python2.6/site-packages/rdiff_backup/iterfile.py",
line 302, in read
if not self.addtobuffer(): break
File "/usr/lib64/python2.6/site-packages/rdiff_backup/iterfile.py",
line 325, in addtobuffer
try: currentobj = self.iter.next()
File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py",
line 166, in get_sigs
for src_rorp, dest_rorp in cls.CCPP:
File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py",
line 326, in next
if len(self.cache_indicies) > self.cache_size: self.shorten_cache()
File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py",
line 367, in shorten_cache
changed_flag, success_flag, inc)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/backup.py",
line 417, in post_process
self.metawriter.write_object(metadata_rorp)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/metadata.py",
line 445, in write_object
if self.aclwriter and not rorp.get_acl().is_basic():
File "/usr/lib64/python2.6/site-packages/rdiff_backup/rpath.py",
line 1327, in get_acl
except KeyError: acl = self.data['acl'] = acl_get(self)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/eas_acls.py",
line 580, in rpath_acl_get
if not rp.issym(): acl.read_from_rp(rp)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/eas_acls.py",
line 366, in read_from_rp
rp.conn.eas_acls.get_acl_lists_from_rp(rp)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/eas_acls.py",
line 399, in get_acl_lists_from_rp
try: acl = posix1e.ACL(file=rp.path)

Exception 'global name 'posix1e' is not defined' raised of class
'<type 'exceptions.NameError'>':
File "/usr/lib64/python2.5/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/lib64/python2.5/site-packages/rdiff_backup/Rdiff.py",
line 61, in get_delta_sigrp_hash
hash.FileWrapper(rp_new.open("rb")))
File "/usr/lib64/python2.5/site-packages/rdiff_backup/librsync.py",
line 138, in __init__
sig_string = signature.read()
File "/usr/lib64/python2.5/site-packages/rdiff_backup/rpath.py",
line 1415, in read
def read(self, length = -1): return self.file.read(length)
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 122, in read
if not self.addtobuffer(): break
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 133, in addtobuffer
type, data = self.iwf._get()
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 414, in _get
if not self.buf: self.buf += self.file.read()
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
518, in read
return self.connection.VirtualFile.readfromid(self.id, length)
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
370, in reval
if isinstance(result, Exception): raise result

Sending back exception global name 'posix1e' is not defined of type
<type 'exceptions.NameError'>:
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
335, in answer_request
result = apply(eval(request.function_string), argument_list)
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
485, in readfromid
if length is None: return cls.vfiles[id].read()
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 302, in read
if not self.addtobuffer(): break
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 325, in addtobuffer
try: currentobj = self.iter.next()
File "/usr/lib64/python2.5/site-packages/rdiff_backup/backup.py",
line 113, in get_diffs
if dest_sig.isreg(): attach_diff(diff_rorp, src_rp, dest_sig)
File "/usr/lib64/python2.5/site-packages/rdiff_backup/backup.py",
line 95, in attach_diff
error_handler, Rdiff.get_delta_sigrp_hash, (dest_sig, src_rp))
File "/usr/lib64/python2.5/site-packages/rdiff_backup/robust.py",
line 32, in check_common_error
try: return function(*args)
File "/usr/lib64/python2.5/site-packages/rdiff_backup/Rdiff.py",
line 61, in get_delta_sigrp_hash
hash.FileWrapper(rp_new.open("rb")))
File "/usr/lib64/python2.5/site-packages/rdiff_backup/librsync.py",
line 138, in __init__
sig_string = signature.read()
File "/usr/lib64/python2.5/site-packages/rdiff_backup/rpath.py",
line 1415, in read
def read(self, length = -1): return self.file.read(length)
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 122, in read
if not self.addtobuffer(): break
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 133, in addtobuffer
type, data = self.iwf._get()
File "/usr/lib64/python2.5/site-packages/rdiff_backup/iterfile.py",
line 414, in _get
if not self.buf: self.buf += self.file.read()
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
518, in read
return self.connection.VirtualFile.readfromid(self.id, length)
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
450, in __call__
return apply(self.connection.reval, (self.name,) + args)
File
"/usr/lib64/python2.5/site-packages/rdiff_backup/connection.py", line
370, in reval
if isinstance(result, Exception): raise result

This happens after the backup has been running for hours (there's about
100GB of data and NAS disks are slow). Nothing has changed on the
'remote' server and we used the same rdiff-backup package on the file
server...

Searching through the web I thought this'posix1e' issue has been fixed a
long time ago...


Any ideas?

Danilo



--
Danilo Godec, sistemska podpora / system administration

Predlog! Obiscite prenovljeno spletno stran www.agenda.si

ODPRTA KODA IN LINUX
STORITVE : POSLOVNE RESITVE : UPRAVLJANJE IT : INFRASTRUKTURA IT : IZOBRAZEVANJE : PROGRAMSKA OPREMA

Visit our updated web page at www.agenda.si

OPEN SOURCE AND LINUX
SERVICES : BUSINESS SOLUTIONS : IT MANAGEMENT : IT INFRASTRUCTURE : TRAINING : SOFTWARE


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

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB