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

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

[rdiff-backup-users] Weird to analyze rdiff-backup problem.


From: Steve Clement
Subject: [rdiff-backup-users] Weird to analyze rdiff-backup problem.
Date: Fri, 15 Apr 2005 18:24:10 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050405)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It is very difficult to see what the problem REALLY is, it looks like
a permissions problem but it ain't.
Following you will see 3 rdiff-backup runs and my comments at the end
of it:

1st
-
------------------------------------------------------------------------------------
beekini root # rdiff-backup -v5 /usr/home/share/BOOKS/
address@hidden::/home/bup/disk1/dakini/home-share-books-rdiff
Executing ssh -C address@hidden rdiff-backup --server
Password:
Unable to import module xattr.  EAs not supported on filesystem at
/usr/home/share/BOOKS
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /usr/home/share/BOOKS
- -----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                        Off
  Mac OS X style resource forks        Off
  Mac OS X Finder information          Off
- -----------------------------------------------------------------
Warning: ownership cannot be changed on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff/rdiff-backup-data
- -----------------------------------------------------------------
Unable to import module xattr.  EAs not supported on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff/rdiff-backup-data/rdiff-backup.tmp.0
Detected abilities for destination (read/write) file system:
  Characters needing quoting                   ''
  Ownership changing                           Off
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    Off
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
- -----------------------------------------------------------------
Starting mirror /usr/home/share/BOOKS to
/home/bup/disk1/dakini/home-share-books-rdiff
Processing changed file .
Processing changed file BOOKS
Processing changed file BOOKS/50+
Processing changed file BOOKS/50+/50+ market analysis.doc
Processing changed file BOOKS/50+/50+ supermarket.doc
Processing changed file BOOKS/50+/The Luxury Phenomenon -Europe and
Japan-.doc
Processing changed file BOOKS/50+/UK population and other statistics.doc
Processing changed file BOOKS/50+/~$+ market analysis.doc
Processing changed file BOOKS/50+/~$+ supermarket.doc
Processing changed file BOOKS/AVIS
Processing changed file BOOKS/AVIS/.keep_me
Processing changed file BOOKS/AVIS/IMAGES
Processing changed file BOOKS/AVIS/IMAGES/AVIS OPEN 1.jpg
Processing changed file BOOKS/AVIS/IMAGES/AVIS OPEN 2.jpg
Traceback (most recent call last):
Processing changed file BOOKS/AVIS/IMAGES/AVIS OPEN 3.jpg
Processing changed file BOOKS/AVIS/IMAGES/AVIS OPEN 4.jpg
Processing changed file BOOKS/AVIS/IMAGES/AVIS OPEN 5.jpg
Processing changed file BOOKS/AVIS/IMAGES/aviscover.jpg
Processing changed file BOOKS/AVIS/keep_me
Processing changed file BOOKS/BOLLYWOOD
Sending back exception [Errno 1] Operation not permitted:
'/home/bup/disk1/dakini/home-share-books-rdiff/BOOKS/AVIS' of type
exceptions.OSError:
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 334, in answer_request
    result = apply(eval(request.function_string), argument_list)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
215, in patch
    ITR(diff.index, diff)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 275, in __call__
    if self.finish_branches(index) is None:
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 227, in finish_branches
    to_be_finished.end_process()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
566, in end_process
    rpath.copy_attribs(self.dir_update, self.base_rp)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 162, in copy_attribs
    rpout.chmod(rpin.getperms())
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 752, in chmod
    self.conn.os.chmod(self.path, permissions)

  File "/usr/local/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 259, in Main
    take_action(rps)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 229, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 281, in Backup
    backup.Mirror(rpin, rpout)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 445, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 367, in reval
    if isinstance(result, Exception): raise result
OSError: [Errno 1] Operation not permitted:
'/home/bup/disk1/dakini/home-share-books-rdiff/BOOKS/AVIS'
beekini root # 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.4/site-packages/rdiff_backup/Main.py",
line 259, in Main
    take_action(rps)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 227, in take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 352, in Server
    self.get_response(-1)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 314, in get_response
    try: req_num, object = self._get()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 230, 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
'/home/bup/disk1/dakini/home-share-books-rdiff/rdiff-backup-data/file_statistics.2005-04-15T18:10:39+02:00.data.gz',
mode 'wb' at 0x81ded10 0x832814c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/bup/disk1/dakini/home-share-books-rdiff/rdiff-backup-data/error_log.2005-04-15T17:10:39+01:00.data.gz',
mode 'wb' at 0x81deba8 0x832628c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/bup/disk1/dakini/home-share-books-rdiff/rdiff-backup-data/mirror_metadata.2005-04-15T18:10:39+02:00.snapshot.gz',
mode 'wb' at 0x81ded58 0x832802c>> ignored
beekini root #


2nd
-
------------------------------------------------------------------------------------

beekini root # rdiff-backup -v5 /usr/home/share/BOOKS/BOOKS/AVIS/
address@hidden::/home/bup/disk1/dakini/home-share-books-rdiff2
Executing ssh -C address@hidden rdiff-backup --server
Password:
Unable to import module xattr.  EAs not supported on filesystem at
/usr/home/share/BOOKS/BOOKS/AVIS
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /usr/home/share/BOOKS/BOOKS/AVIS
- -----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
- -----------------------------------------------------------------
Warning: ownership cannot be changed on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff2/rdiff-backup-data
- -----------------------------------------------------------------
Unable to import module xattr.  EAs not supported on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff2/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff2/rdiff-backup-data/rdiff-backup.tmp.0
Detected abilities for destination (read/write) file system:
  Characters needing quoting                   ''
  Ownership changing                           Off
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    Off
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
- -----------------------------------------------------------------
Starting mirror /usr/home/share/BOOKS/BOOKS/AVIS to
/home/bup/disk1/dakini/home-share-books-rdiff2
Processing changed file .
Processing changed file IMAGES
Traceback (most recent call last):
Processing changed file IMAGES/AVIS OPEN 1.jpg
Processing changed file IMAGES/AVIS OPEN 2.jpg
Processing changed file IMAGES/AVIS OPEN 3.jpg
Processing changed file IMAGES/AVIS OPEN 4.jpg
Processing changed file IMAGES/AVIS OPEN 5.jpg
Processing changed file IMAGES/aviscover.jpg
Sending back exception [Errno 1] Operation not permitted:
'/home/bup/disk1/dakini/home-share-books-rdiff2' of type
exceptions.OSError:
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 334, in answer_request
    result = apply(eval(request.function_string), argument_list)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
216, in patch
    ITR.Finish()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/rorpiter.py",
line 245, in Finish
    to_be_finished.end_process()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
566, in end_process
    rpath.copy_attribs(self.dir_update, self.base_rp)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 162, in copy_attribs
    rpout.chmod(rpin.getperms())
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/rpath.py",
line 752, in chmod
    self.conn.os.chmod(self.path, permissions)

  File "/usr/local/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 259, in Main
    take_action(rps)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 229, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 281, in Backup
    backup.Mirror(rpin, rpout)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/backup.py", line
38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 445, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 367, in reval
    if isinstance(result, Exception): raise result
OSError: [Errno 1] Operation not permitted:
'/home/bup/disk1/dakini/home-share-books-rdiff2'
beekini root # 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.4/site-packages/rdiff_backup/Main.py",
line 259, in Main
    take_action(rps)
  File "/usr/local/lib/python2.4/site-packages/rdiff_backup/Main.py",
line 227, in take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 352, in Server
    self.get_response(-1)
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 314, in get_response
    try: req_num, object = self._get()
  File
"/usr/local/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 230, 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
'/home/bup/disk1/dakini/home-share-books-rdiff2/rdiff-backup-data/file_statistics.2005-04-15T18:14:52+02:00.data.gz',
mode 'wb' at 0x81ded10 0x832814c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/bup/disk1/dakini/home-share-books-rdiff2/rdiff-backup-data/error_log.2005-04-15T17:14:52+01:00.data.gz',
mode 'wb' at 0x81deba8 0x832628c>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in
<bound method GzipFile.__del__ of <gzip open file
'/home/bup/disk1/dakini/home-share-books-rdiff2/rdiff-backup-data/mirror_metadata.2005-04-15T18:14:52+02:00.snapshot.gz',
mode 'wb' at 0x81ded58 0x832802c>> ignored
beekini root #


3rd
-
------------------------------------------------------------------------------------

beekini root # rdiff-backup -v5
/usr/home/share/BOOKS/BOOKS/AVIS/IMAGES/
address@hidden::/home/bup/disk1/dakini/home-share-books-rdiff3
Executing ssh -C address@hidden rdiff-backup --server
Password:
Unable to import module xattr.  EAs not supported on filesystem at
/usr/home/share/BOOKS/BOOKS/AVIS/IMAGES
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at
/usr/home/share/BOOKS/BOOKS/AVIS/IMAGES
- -----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
- -----------------------------------------------------------------
Warning: ownership cannot be changed on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff3/rdiff-backup-data
- -----------------------------------------------------------------
Unable to import module xattr.  EAs not supported on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff3/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at
/home/bup/disk1/dakini/home-share-books-rdiff3/rdiff-backup-data/rdiff-backup.tmp.0
Detected abilities for destination (read/write) file system:
  Characters needing quoting                   ''
  Ownership changing                           Off
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    Off
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
- -----------------------------------------------------------------
Starting mirror /usr/home/share/BOOKS/BOOKS/AVIS/IMAGES to
/home/bup/disk1/dakini/home-share-books-rdiff3
Processing changed file .
Processing changed file AVIS OPEN 1.jpg
Processing changed file AVIS OPEN 2.jpg
Processing changed file AVIS OPEN 3.jpg
Processing changed file AVIS OPEN 4.jpg
Processing changed file AVIS OPEN 5.jpg
Processing changed file aviscover.jpg
beekini root #

NOW, the first 2 runs fail, the third one succeeds. I am running
FreeBSD 4.10 but I have very similar problems on other client machines
which run FreeBSD 5.

beekini root # uname -a
FreeBSD beekini.dakinibooks.com 4.10-RELEASE FreeBSD 4.10-RELEASE #6:
Fri Jun 18 23:15:52 BST 2004    
address@hidden:/usr/obj/usr/src/sys/BEEKINI  i386

Following structure:

beekini BOOKS # pwd
/usr/home/share/BOOKS/BOOKS
beekini BOOKS # ls -lahR AVIS/
total 6
drwxrwsr-x   3 lucky  public  512B Apr 15 17:14 .
drwxrwsr-x  16 lucky  public  512B Apr 15 16:14 ..
drwxrwxr-x   2 lucky  public  512B Oct 14  2004 IMAGES

AVIS/IMAGES:
total 86
drwxrwxr-x  2 lucky  public   512B Oct 14  2004 .
drwxrwsr-x  3 lucky  public   512B Apr 15 17:14 ..
- -rwxrw-r--  1 lucky  public    12K May  9  2004 AVIS OPEN 1.jpg
- -rwxrw-r--  1 lucky  public    14K May  9  2004 AVIS OPEN 2.jpg
- -rwxrw-r--  1 lucky  public    12K May  9  2004 AVIS OPEN 3.jpg
- -rwxrw-r--  1 lucky  public    12K May  9  2004 AVIS OPEN 4.jpg
- -rwxrw-r--  1 lucky  public    12K May  9  2004 AVIS OPEN 5.jpg
- -rwxrw-r--  1 lucky  public     8K May  9  2004 aviscover.jpg
beekini BOOKS #


NOTICE that AVIS is EMPTY! Could that be the problem? CASES? I tried
putting empty files into AVIS but the same problems were occuring.

I googled quite a lot and didn't find anything relating to this Errno 1.

If it is a FreeBSD problem I will try and fix it. Hmmm, I might just
tar that up and try it on one of our Gentoo Installs.

Thanks,

Steve C

- --
ION Network Solutions
Steve Clement
Unix System Administrator
209, rue des Romains
L-8041 Bertrange
Tel: +352 261 276-2
Fax: +352 261 276-9
mailto:address@hidden
http://www.ion.lu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCX+qoMH8DIBsiCrgRArVpAJ43nab3rVgoqVDLJkRIfQnjDiuDWgCgsMUr
r4CHeLY39YaGiJi+grh5dZY=
=Stc1
-----END PGP SIGNATURE-----





reply via email to

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