Amanda-Users

Still having problems with cygwin...

2004-07-15 11:27:51
Subject: Still having problems with cygwin...
From: Richard Morse <remorse AT partners DOT org>
To: amanda-users AT amanda DOT org
Date: Thu, 15 Jul 2004 11:20:52 -0400
Hi! Since my last request for help, I've updated to the most recent code base (2.4.4p3) and I've applied a patch that was posted to amanda-hackers last year which commented out a number of 'aclose' calls. Neither one solved the problem. Does anyone have any other suggestions? Should I post this to amanda-hackers instead?

The problem: I'm trying to back up a Windows 2000 box using cygwin. Cygwin version is 1.5.10. Amanda version is 2.4.4p3 (with and without the patch posted by Brian White on 21 April 2003 to amanda-hackers). Server version is 2.4.4.

amcheck reports no errors.

When the backup actually runs, the report returns:

FAILURE AND STRANGE DUMP SUMMARY:
  myrddin.mg /cygdrive/c lev 0 FAILED [bad CONNECT response]

and

/-- myrddin.mg /cygdrive/c lev 0 FAILED [bad CONNECT response]
\--------

Looking in the debug files, I have selfcheck and sendsize both working correctly, but sendbackup fails. The amandad log has:

amandad: time 0.002: got packet:
--------
Amanda 2.4 REQ HANDLE 000-80E10508 SEQ 1089855002
SECURITY USER amanda
SERVICE sendbackup
OPTIONS features=fffffeff9ffe0f;hostname=myrddin.mgh.harvard.edu;
GNUTAR /cygdrive/c 0 1970:1:1:0:0:0 OPTIONS |;auth=bsd;srvcomp-fast;index;include-list=.amanda-gtar-includes;
--------

amandad: time 0.003: sending ack:
----
Amanda 2.4 ACK HANDLE 000-80E10508 SEQ 1089855002
----

amandad: time 0.020: bsd security: remote host einstein.mgh.harvard.edu user amanda local user SYSTEM
amandad: time 0.021: amandahosts security check passed
amandad: time 0.021: running service "/usr/local/amanda/libexec/sendbackup" sendbackup: ERROR [sendbackup: could not create data socket: Operation not permitted]

while the sendbackup log has:

sendbackup: debug 1 pid 1496 ruid 18 euid 18: start at Wed Jul 14 23:15:13 2004
/usr/local/amanda/libexec/sendbackup: version 2.4.4p3
  parsed request as: program `GNUTAR'
                     disk `/cygdrive/c'
                     device `/cygdrive/c'
                     level 0
                     since 1970:1:1:0:0:0
options `|;auth=bsd;srvcomp-fast;index;include-list=.amanda-gtar-includes;'
sendbackup: stream_server: socket() failed: Operation not permitted
sendbackup: time 0.004: ERROR [sendbackup: could not create data socket: Operation not permitted]
sendbackup: time 0.005: pid 1496 finish time Wed Jul 14 23:15:13 2004

Unfortunately, my hacking skills aren't sufficient to allow me to track down where/why this is happening. Is there some permissions step that I missed? I should note that on an older version of cygwin (1.3.20) I have no problems...

Thanks for any suggestions,
Ricky Morse


<Prev in Thread] Current Thread [Next in Thread>