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

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

Re: [rdiff-backup-users] error 22 -- rdiff-backup 1.2.5 & OS X


From: sphen
Subject: Re: [rdiff-backup-users] error 22 -- rdiff-backup 1.2.5 & OS X
Date: Thu, 15 Jan 2009 08:54:56 -0800 (PST)

weird -- the ls command on 10.4.11 doesnt have the -@ switch...  so i
attempted to use rsync 3 with the -X switchto transfer and got the same
error:

sending incremental file list
rsync: get_xattr_names: llistxattr("duraseal/RequestADemo.html",1024)
failed: Invalid argument (22)
rsync: get_xattr_names: llistxattr("duraseal/Comps/index.psd",1024) failed:
Invalid argument (22)
rsync: get_xattr_names: llistxattr("duraseal/Comps/inside.psd",1024) failed:
Invalid argument (22)
rsync: get_xattr_names: llistxattr("duraseal/Comps/landing.psd",1024)
failed: Invalid argument (22)
duraseal/

strange...  so it looks like the files itself maybe are locked?  i have
never had rsync fail on a file before...  i can try and see if there is a
way to trim the xattr from the files and try again.  and yes this is 10.4.11
server on the sending side...


Andrew Ferguson-4 wrote:
> 
> Hi Sphen,
> 
> Strange error ... Each time, it comes when rdiff-backup is asking for  
> a list of the extended attributes on those 4 files.
> 
> What does `file` and `ls address@hidden report on each of those files?
> 
> /Library/WebServer/Documents/duraseal/Comps/index.psd
> /Library/WebServer/Documents/duraseal/Comps/inside.psd
> /Library/WebServer/Documents/duraseal/Comps/landing.psd
> /Library/WebServer/Documents/duraseal/RequestADemo.html
> 
> 
> And, just to confirm, this is on the 10.4.11 server, yes? I wonder  
> what would happen if you copy those files to the 10.5.6 server and try  
> again...
> 
> 
> thanks,
> Andrew
> 
> 
> On Jan 14, 2009, at 7:10 PM, sphen boyle wrote:
> 
>> hi there..
>>
>> just installed rdiff-backup on a couple machines (one on server  
>> 10.5.6 <python 2.5.1> and  one on server 10.4.11 <python 2.3>)  --  
>> everything worked fine upon first backup - but is throwing some  
>> errors on 4 files upon subsequent ones.  nothing too crazy with the  
>> setup that i am aware of. the command i am running is as follows:
>>
>> rdiff-backup -v5 --remote-schema 'ssh -c arcfour -C %s  rdiff- 
>> backup  --server' --print-statistics /Library/WebServer
>> address@hidden 
>> ::/Volumes/Storage/rdiff/WebServer
>>
>> the following is what is put out to the logfile.  other files do  
>> seem to increment fine - but ive only ran the backup a few times...   
>> please let me know if there is any more information that i can give  
>> to narrow this down.  thanks!
>>
>> Using rdiff-backup version 1.2.5
>> Executing ssh -C address@hidden rdiff-backup --server
>> No increments older than Sat Nov 15 16:34:31 2008 found, exiting.
>> Using rdiff-backup version 1.2.5
>> Executing ssh -c arcfour -C address@hidden  rdiff-backup  -- 
>> server
>> Unable to import module posix1e from pylibacl package.
>> POSIX ACLs not supported on filesystem at /Library/WebServer
>> Unable to import win32security module. Windows ACLs
>> not supported by filesystem at /Library/WebServer
>> escape_dos_devices not required by filesystem at /Library/WebServer
>> Starting increment operation /Library/WebServer to /Volumes/Storage/ 
>> rdiff/WebServer
>> Exception '[Errno 22] Invalid argument: '/Library/WebServer/ 
>> Documents/duraseal/Comps/index.psd'' raised of class  
>> 'exceptions.IOError':
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/robust.py", line 32, in  
>> check_common_error
>>    try: return function(*args)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1149, in append
>>    return self.__class__(self.conn, self.base, self.index + (ext,))
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 884, in __init__
>>    else: self.setdata()
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 909, in setdata
>>    if self.lstat(): self.conn.rpath.setdata_local(self)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1496, in  
>> setdata_local
>>    if Globals.eas_conn: rpath.data['ea'] = ea_get(rpath)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 589, in  
>> rpath_ea_get
>>    ea.read_from_rp(rp)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 60, in  
>> read_from_rp
>>    attr_list = rp.conn.xattr.listxattr(rp.path, rp.issym())
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 178, in listxattr
>>    return tuple(xattr(f).list(options=symlink and XATTR_NOFOLLOW or  
>> 0))
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 99, in list
>>    res = self._list(options | self.options).split('\x00')
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 16, in _func
>>    return func(first, *args)
>>
>> Exception '[Errno 22] Invalid argument: '/Library/WebServer/ 
>> Documents/duraseal/Comps/inside.psd'' raised of class  
>> 'exceptions.IOError':
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/robust.py", line 32, in  
>> check_common_error
>>    try: return function(*args)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1149, in append
>>    return self.__class__(self.conn, self.base, self.index + (ext,))
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 884, in __init__
>>    else: self.setdata()
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 909, in setdata
>>    if self.lstat(): self.conn.rpath.setdata_local(self)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1496, in  
>> setdata_local
>>    if Globals.eas_conn: rpath.data['ea'] = ea_get(rpath)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 589, in  
>> rpath_ea_get
>>    ea.read_from_rp(rp)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 60, in  
>> read_from_rp
>>    attr_list = rp.conn.xattr.listxattr(rp.path, rp.issym())
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 178, in listxattr
>>    return tuple(xattr(f).list(options=symlink and XATTR_NOFOLLOW or  
>> 0))
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 99, in list
>>    res = self._list(options | self.options).split('\x00')
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 16, in _func
>>    return func(first, *args)
>>
>> Exception '[Errno 22] Invalid argument: '/Library/WebServer/ 
>> Documents/duraseal/Comps/landing.psd'' raised of class  
>> 'exceptions.IOError':
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/robust.py", line 32, in  
>> check_common_error
>>    try: return function(*args)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1149, in append
>>    return self.__class__(self.conn, self.base, self.index + (ext,))
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 884, in __init__
>>    else: self.setdata()
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 909, in setdata
>>    if self.lstat(): self.conn.rpath.setdata_local(self)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1496, in  
>> setdata_local
>>    if Globals.eas_conn: rpath.data['ea'] = ea_get(rpath)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 589, in  
>> rpath_ea_get
>>    ea.read_from_rp(rp)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 60, in  
>> read_from_rp
>>    attr_list = rp.conn.xattr.listxattr(rp.path, rp.issym())
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 178, in listxattr
>>    return tuple(xattr(f).list(options=symlink and XATTR_NOFOLLOW or  
>> 0))
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 99, in list
>>    res = self._list(options | self.options).split('\x00')
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 16, in _func
>>    return func(first, *args)
>>
>> Exception '[Errno 22] Invalid argument: '/Library/WebServer/ 
>> Documents/duraseal/RequestADemo.html'' raised of class  
>> 'exceptions.IOError':
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/robust.py", line 32, in  
>> check_common_error
>>    try: return function(*args)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1149, in append
>>    return self.__class__(self.conn, self.base, self.index + (ext,))
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 884, in __init__
>>    else: self.setdata()
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 909, in setdata
>>    if self.lstat(): self.conn.rpath.setdata_local(self)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/rpath.py", line 1496, in  
>> setdata_local
>>    if Globals.eas_conn: rpath.data['ea'] = ea_get(rpath)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 589, in  
>> rpath_ea_get
>>    ea.read_from_rp(rp)
>>  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
>> python2.3/site-packages/rdiff_backup/eas_acls.py", line 60, in  
>> read_from_rp
>>    attr_list = rp.conn.xattr.listxattr(rp.path, rp.issym())
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 178, in listxattr
>>    return tuple(xattr(f).list(options=symlink and XATTR_NOFOLLOW or  
>> 0))
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 99, in list
>>    res = self._list(options | self.options).split('\x00')
>>  File "/Library/Python/2.3/site-packages/xattr-0.4-py2.3-macosx-10.4- 
>> ppc.egg/xattr/__init__.py", line 16, in _func
>>    return func(first, *args)
>>
>> --------------[ Session statistics ]--------------
>> StartTime 1231968876.00 (Wed Jan 14 16:34:36 2009)
>> EndTime 1231968968.35 (Wed Jan 14 16:36:08 2009)
>> ElapsedTime 92.35 (1 minute 32.35 seconds)
>> SourceFiles 39640
>> SourceFileSize 3770965364 (3.51 GB)
>> MirrorFiles 39640
>> MirrorFileSize 3770966203 (3.51 GB)
>> NewFiles 0
>> NewFileSize 0 (0 bytes)
>> DeletedFiles 0
>> DeletedFileSize 0 (0 bytes)
>> ChangedFiles 2
>> ChangedSourceSize 22170 (21.7 KB)
>> ChangedMirrorSize 23009 (22.5 KB)
>> IncrementFiles 4
>> IncrementFileSize 720 (720 bytes)
>> TotalDestinationSizeChange -119 (-119 bytes)
>> Errors 4
>> --------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> rdiff-backup-users mailing list at address@hidden
>> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
>> Wiki URL:
>> http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
> 
> 
> 
> _______________________________________________
> rdiff-backup-users mailing list at address@hidden
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL:
> http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
> 
> 

-- 
View this message in context: 
http://www.nabble.com/error-22----rdiff-backup-1.2.5---OS-X-tp21468381p21481797.html
Sent from the rdiff-backup-users mailing list archive at Nabble.com.





reply via email to

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