SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Unable to rmdir?
Author Message
Post Unable to rmdir? 
Hi.

I've been backing up several servers to one server for some time now without any problems. Last week I had a problem with one server where for some reason it was unable to rmdir a directory on the backup server - see the log below. The rdiff-backup version I've been using is 1.0.4 and the source server is OS X.

The way the backup is setup is that it is initiated by root on the source server and connects to the backup server with a unique account. The permissions for the entire server-root/* are owned by this unique account, so I don't see how it can be a permission problem. I've tried to delete the server-root/Library/WebServer/Documents/bookdev/vfg directory manually, but that didn't seem to make any difference.

Does anyone have any ideas what may be going on, or how I can fix this?

I'm invoking the command like so:
/usr/bin/rdiff-backup --create-full-path --print-statistics --include /var/backup --include /home --include /var/www --include /etc --include /Library --exclude / / bob::server-root/

Thanks!

-Mike

Previous backup seems to have failed, regressing destination now.
Warning: unable to rmdir server-root/Library/WebServer/Documents/bookdev/vfg
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py", line 285, in Main
take_action(rps)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py", line 255, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/Main.py", line 305, in Backup
backup.Mirror_and_increment(rpin, rpout, incdir)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/backup.py", line 51, in Mirror_and_increment
DestS.patch_and_increment(dest_rpath, source_diffiter, inc_rpath)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/connection.py", line 445, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/rdiff_backup/connection.py", line 367, in reval
if isinstance(result, Exception): raise result
OSError: [Errno 13] Permission denied: 'server-root/Library/WebServer/Documents/bookdev/vfg'
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 285, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 253, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 352, in Server
self.get_response(-1)
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 314, in get_response
try: req_num, object = self._get()
File "/usr/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 'server-root/rdiff-backup-data/file_statistics.2006-02-28T21:15:03-07:00.data.gz', mode 'wb' at 0xb7bb09b0 -0x48861f74>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file 'server-root/rdiff-backup-data/error_log.2006-02-28T21:15:03-07:00.data.gz', mode 'wb' at 0xb77ca458 -0x48861d54>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file 'server-root/rdiff-backup-data/mirror_metadata.2006-02-28T21:15:03-07:00.snapshot.gz', mode 'wb' at 0xb7bb0f98 -0x48861c54>> ignored

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