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

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

[rdiff-backup-users] Keep Getting Security Error Traceback and losing co


From: Hubbitus
Subject: [rdiff-backup-users] Keep Getting Security Error Traceback and losing connection
Date: Mon, 13 Oct 2008 04:06:05 -0400


Andrew Ferguson wrote:
> Excellent. Do you think you could also test ssh Windows -> Windows for  
> me? (eg, ssh to localhost from the Windows machine) ... I want to make  
> sure the fix works for that case as well.

Yes, off course.
Do mean test it on windows machine like this:
rdiff-backup-1.2.2pre3 -v5 --no-hard-links --exclude=**.ncb 
--exclude=**/HuSMPP.exe/Debug/* --exclude=**/HuSMPP.exe/Release/* 
--remote-schema "ssh -C %s rdiff-backup-1.2.2pre3.exe --server" 
--print-statistics 
address@hidden::d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe 
d:\TestLocalFolder
??
So it is working on first glance, but fails on the end of process:
Processing changed file databaselayer/tests/wxwin.png
Processing changed file databaselayer/website
Processing changed file databaselayer/website/index.php
Processing changed file res
Processing changed file res/SMPPSample.ico
Processing changed file res/SMPPSample.rc2
Processing changed file res/ico00001.ico
Processing changed file res/idr_main.ico
Processing changed file res/vssver.scc
Processing changed file resource.h
--------------[ Session statistics ]--------------
StartTime 1223719236.00 (Sat Oct 11 14:00:36 2008)
EndTime 1223719268.70 (Sat Oct 11 14:01:08 2008)
ElapsedTime 32.70 (32.70 seconds)
SourceFiles 723
SourceFileSize 41787654 (39.9 MB)
MirrorFiles 1
MirrorFileSize 0 (0 bytes)
NewFiles 722
NewFileSize 41787654 (39.9 MB)
DeletedFiles 0
DeletedFileSize 0 (0 bytes)
ChangedFiles 1
ChangedSourceSize 0 (0 bytes)
ChangedMirrorSize 0 (0 bytes)
IncrementFiles 0
IncrementFileSize 0 (0 bytes)
TotalDestinationSizeChange 41787654 (39.9 MB)
Errors 0
--------------------------------------------------
Sending back exception 'module' object has no attribute 'getuid' of type <type '
exceptions.AttributeError'>&#58;
&nbsp; File "rdiff_backup\connection.pyc", line 335, in answer_request
&nbsp; File "<string>", line 1, in <module>

Sending back exception 'module' object has no attribute 'getuid' of type <type '
exceptions.AttributeError'>&#58;
&nbsp; File "rdiff_backup\connection.pyc", line 335, in answer_request
&nbsp; File "<string>", line 1, in <module>

Sending back exception 'module' object has no attribute 'getuid' of type <type '
exceptions.AttributeError'>&#58;
&nbsp; File "rdiff_backup\connection.pyc", line 335, in answer_request
&nbsp; File "<string>", line 1, in <module>

Sending back exception 'module' object has no attribute 'getuid' of type <type '
exceptions.AttributeError'>&#58;
&nbsp; File "rdiff_backup\connection.pyc", line 335, in answer_request
&nbsp; File "<string>", line 1, in <module>

Hardlinks disabled by default on Windows
Unable to import module xattr.
Extended attributes not supported on filesystem at d&#58;\/Hubbitus/My_PRO
C&#58;\Documents and Settings\Hubbitus>GRAMS/HuSMPP.exe
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at 
d&#58;\/Hubbitus/My_PROGRAMS/HuSMPP.exe
Unable to load a Windows ACL.
Windows ACLs not supported by filesystem at 
d&#58;\/Hubbitus/My_PROGRAMS/HuSMPP.exe
escape_dos_devices not required by filesystem at 
d&#58;\/Hubbitus/My_PROGRAMS/HuSMPP
.exe

One observation. If run without arguments, rdiff-backup load CPU to 100% 
several seconds, before drop message:
Fatal Error&#58; No arguments given
See the rdiff-backup manual page for more information.
Possible it is also bug?


Andrew Ferguson wrote:
> Tonight, I may have found a solution. Try this:
> 
> rdiff-backup -v9 --no-hard-links
> --exclude=**.ncb
> --exclude=**/HuSMPP.exe/Debug/*
> --exclude=**/HuSMPP.exe/Release/*
> --remote-schema 'nice -n17 ssh -C %s nice -n15 'rdiff-backup --server'
> --print-statistics
> 'hubbitus < at > workcomp::d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe'
> '/mnt/sgtBarracuda/BackUPs/HuSMPP'

As I report, it is my initial variant.


Andrew Ferguson wrote:
> 
> or
> 
> rdiff-backup -v9 --no-hard-links
> --exclude=**.ncb
> --exclude="d:\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*"
> --exclude="d:\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Release/*"
> --remote-schema 'nice -n17 ssh -C %s nice -n15 'rdiff-backup --server'
> --print-statistics
> 'hubbitus < at > workcomp::d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe'
> '/mnt/sgtBarracuda/BackUPs/HuSMPP'

This variant fails with:
Warning&#58; Local version 1.2.1 does not match remote version 1.2.2pre3.
Exception ''NoneType' object has no attribute 'next'' raised of class '<type 
'exceptions.AttributeError'>'&#58;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, 
in error_check_Main
&nbsp; &nbsp; try&#58; Main&#40;arglist&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, 
in Main
&nbsp; &nbsp; take_action&#40;rps&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 278, 
in take_action
&nbsp; &nbsp; elif action == "backup"&#58; Backup&#40;rps&#91;0&#93;, 
rps&#91;1&#93;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 344, 
in Backup
&nbsp; &nbsp; backup.Mirror&#40;rpin, rpout&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 38, 
in Mirror
&nbsp; &nbsp; DestS.patch&#40;dest_rpath, source_diffiter&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 
230, in patch
&nbsp; &nbsp; for diff in rorpiter.FillInIter&#40;source_diffiter, 
dest_rpath&#41;&#58;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 
169, in FillInIter
&nbsp; &nbsp; first_rp = rpiter.next&#40;&#41; # StopIteration gets passed 
upwards
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 
382, in next
&nbsp; &nbsp; while not type&#58; type, data = self._get&#40;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 
414, in _get
&nbsp; &nbsp; if not self.buf&#58; self.buf += self.file.read&#40;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
516, in read
&nbsp; &nbsp; return self.connection.VirtualFile.readfromid&#40;self.id, 
length&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
448, in __call__
&nbsp; &nbsp; return apply&#40;self.connection.reval, &#40;self.name,&#41; + 
args&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
370, in reval
&nbsp; &nbsp; if isinstance&#40;result, Exception&#41;&#58; raise result

Using rdiff-backup version 1.2.1
Executing nice -n17 ssh -C address@hidden nice -n15 
'/cygdrive/d/Hubbitus/Distributivs/rdiff-backup/rdiff-backup-1.2.2pre3.exe 
--server'
-----------------------------------------------------------------
Detected abilities for source &#40;read only&#41; file system&#58;
&nbsp; Access control lists&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Off
&nbsp; Extended attributes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Off
&nbsp; Windows access control lists&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp;Off
&nbsp; Case sensitivity&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Off
&nbsp; Escape DOS devices&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Off
&nbsp; Mac OS X style resource forks&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; Off
&nbsp; Mac OS X Finder information&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; Off
-----------------------------------------------------------------
POSIX ACLs not supported by filesystem at 
/mnt/sgtBarracuda/BackUPs/HuSMPP/rdiff-backup-data/rdiff-backup.tmp.0
Unable to import win32security module. Windows ACLs
not supported by filesystem at 
/mnt/sgtBarracuda/BackUPs/HuSMPP/rdiff-backup-data/rdiff-backup.tmp.0
escape_dos_devices not required by filesystem at 
/mnt/sgtBarracuda/BackUPs/HuSMPP/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination &#40;read/write&#41; file system&#58;
&nbsp; Ownership changing&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Off
&nbsp; Hard linking&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;On
&nbsp; fsync&#40;&#41; directories&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; On
&nbsp; Directory inc permissions&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; On
&nbsp; High-bit permissions&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;On
&nbsp; Symlink permissions&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Off
&nbsp; Extended filenames&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;On
&nbsp; Windows reserved filenames&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp;Off
&nbsp; Access control lists&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Off
&nbsp; Extended attributes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; On
&nbsp; Windows access control lists&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp;Off
&nbsp; Case sensitivity&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;On
&nbsp; Escape DOS devices&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Off
&nbsp; Mac OS X style resource forks&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; Off
&nbsp; Mac OS X Finder information&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; Off
-----------------------------------------------------------------
Backup&#58; must_escape_dos_devices = 0
Starting mirror d&#58;\Hubbitus\My_PROGRAMS\HuSMPP.exe to 
/mnt/sgtBarracuda/BackUPs/HuSMPP
Sending back exception 'NoneType' object has no attribute 'next' of type <type 
'exceptions.AttributeError'>&#58;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
335, in answer_request
&nbsp; &nbsp; result = apply&#40;eval&#40;request.function_string&#41;, 
argument_list&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
483, in readfromid
&nbsp; &nbsp; if length is None&#58; return 
cls.vfiles&#91;id&#93;.read&#40;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 
302, in read
&nbsp; &nbsp; if not self.addtobuffer&#40;&#41;&#58; break
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 
325, in addtobuffer
&nbsp; &nbsp; try&#58; currentobj = self.iter.next&#40;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 
166, in get_sigs
&nbsp; &nbsp; for src_rorp, dest_rorp in cls.CCPP&#58;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 
320, in next
&nbsp; &nbsp; source_rorp, dest_rorp = self.iter.next&#40;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 
92, in Collate2Iters
&nbsp; &nbsp; try&#58; relem1 = riter1.next&#40;&#41;

Traceback &#40;most recent call last&#41;&#58;
&nbsp; File "/usr/bin/rdiff-backup", line 23, in <module>
&nbsp; &nbsp; 
rdiff_backup.Main.error_check_Main&#40;sys.argv&#91;1&#58;&#93;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, 
in error_check_Main
&nbsp; &nbsp; try&#58; Main&#40;arglist&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, 
in Main
&nbsp; &nbsp; take_action&#40;rps&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 278, 
in take_action
&nbsp; &nbsp; elif action == "backup"&#58; Backup&#40;rps&#91;0&#93;, 
rps&#91;1&#93;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 344, 
in Backup
&nbsp; &nbsp; backup.Mirror&#40;rpin, rpout&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 38, 
in Mirror
&nbsp; &nbsp; DestS.patch&#40;dest_rpath, source_diffiter&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 
230, in patch
&nbsp; &nbsp; for diff in rorpiter.FillInIter&#40;source_diffiter, 
dest_rpath&#41;&#58;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 
169, in FillInIter
&nbsp; &nbsp; first_rp = rpiter.next&#40;&#41; # StopIteration gets passed 
upwards
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 
382, in next
&nbsp; &nbsp; while not type&#58; type, data = self._get&#40;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 
414, in _get
&nbsp; &nbsp; if not self.buf&#58; self.buf += self.file.read&#40;&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
516, in read
&nbsp; &nbsp; return self.connection.VirtualFile.readfromid&#40;self.id, 
length&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
448, in __call__
&nbsp; &nbsp; return apply&#40;self.connection.reval, &#40;self.name,&#41; + 
args&#41;
&nbsp; File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 
370, in reval
&nbsp; &nbsp; if isinstance&#40;result, Exception&#41;&#58; raise result
AttributeError&#58; 'NoneType' object has no attribute 'next'
Sending back exception 'module' object has no attribute 'getuid' of type <type 
'exceptions.AttributeError'>&#58;
&nbsp; File "rdiff_backup\connection.pyc", line 335, in answer_request
&nbsp; File "<string>", line 1, in <module>

Hardlinks disabled by default on Windows
Unable to import module xattr.
Extended attributes not supported on filesystem at 
d&#58;\Hubbitus\My_PROGRAMS\HuSMPP.exe
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at d&#58;\Hubbitus\My_PROGRAMS\HuSMPP.exe
Unable to load a Windows ACL.
Windows ACLs not supported by filesystem at 
d&#58;\Hubbitus\My_PROGRAMS\HuSMPP.exe
escape_dos_devices not required by filesystem at 
d&#58;\Hubbitus\My_PROGRAMS\HuSMPP.exe
Fatal Error&#58; Fatal Error&#58; The file specification
&nbsp; &nbsp; 'd&#58;\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*'
cannot match any files in the base directory
&nbsp; &nbsp; 'd&#58;\Hubbitus\My_PROGRAMS\HuSMPP.exe'
Useful file specifications begin with the base directory or some
pattern &#40;such as '**'&#41; which matches the base directory.
Sending back exception 1 of type <type 'exceptions.SystemExit'>&#58;
&nbsp; File "rdiff_backup\connection.pyc", line 335, in answer_request
&nbsp; File "rdiff_backup\backup.pyc", line 70, in set_source_select
&nbsp; File "rdiff_backup\selection.pyc", line 284, in ParseArgs
&nbsp; File "rdiff_backup\selection.pyc", line 300, in parse_catch_error
&nbsp; File "rdiff_backup\log.pyc", line 163, in FatalError

Sending back exception 'NoneType' object has no attribute 'next' of type <type 
'exceptions.AttributeError'>&#58;
&nbsp; File "rdiff_backup\connection.pyc", line 335, in answer_request
&nbsp; File "rdiff_backup\connection.pyc", line 485, in readfromid
&nbsp; File "rdiff_backup\iterfile.pyc", line 302, in read
&nbsp; File "rdiff_backup\iterfile.pyc", line 325, in addtobuffer
&nbsp; File "rdiff_backup\backup.pyc", line 103, in get_diffs
&nbsp; File "rdiff_backup\iterfile.pyc", line 382, in next
&nbsp; File "rdiff_backup\iterfile.pyc", line 414, in _get
&nbsp; File "rdiff_backup\connection.pyc", line 518, in read
&nbsp; File "rdiff_backup\connection.pyc", line 450, in __call__
&nbsp; File "rdiff_backup\connection.pyc", line 370, in reval

Fatal Error&#58; Lost connection to the remote system


Andrew Ferguson wrote:
> or (you may need some extra \ in there for your Unix shell)
> 
> rdiff-backup -v9 --no-hard-links
> --exclude=**.ncb
> --exclude="d:\\\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*"
> --exclude="d:\\\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Release/*"
> --remote-schema 'nice -n17 ssh -C %s nice -n15 'rdiff-backup --server'
> --print-statistics
> 'hubbitus < at > workcomp::d:\\/Hubbitus/My_PROGRAMS/HuSMPP.exe'
> '/mnt/sgtBarracuda/BackUPs/HuSMPP'


Same error:
Fatal Error&#58; Fatal Error&#58; The file specification
&nbsp; &nbsp; 'd&#58;\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*'
cannot match any files in the base directory
&nbsp; &nbsp; 'd&#58;\Hubbitus\My_PROGRAMS\HuSMPP.exe'


Andrew Ferguson wrote:
> Let me know if one of those works.

So, it seams that no one of the suggested variant works.  [Crying or Very sad]

+----------------------------------------------------------------------
|This was sent by address@hidden via Backup Central.
|Forward SPAM to address@hidden
+----------------------------------------------------------------------






reply via email to

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