Mail Archives: cygwin/2004/07/27/16:05:59
Hi! I use Amanda (<http://www.amanda.org>) to back up my various unix
boxes. A while ago (last year), I set a few of my Windows 2000 boxes
up to use Amanda, thanks to Cygwin. They are running Cygwin 1.3.20.
Everything works perfectly on them.
Recently, I tried to add another system to the backup. This system now
uses Cygwin 1.5.10. Using the exact same source code that worked on
the earlier Cygwin version, it no longer works properly. The code
compiles and installs correctly, with no warnings that seem relevant to
the problem. The program works on the client through inetd, which is
installed and giving no problems.
Once it is installed on the client (the Win2K box I'm trying to add to
my backup), I can run a program on the server which checks and makes
sure it can see the client. This is running correctly, so the inetd
setup is all correct, and everything else seems to work.
At night, however, when the backup tries to run, I get an error message:
> sendbackup: stream_server: socket() failed: Operation not permitted
> sendbackup: time 0.004: ERROR [sendbackup: could not create data
> socket: Operation not permitted]
This error is coming from the following lines of code:
> if((server_socket = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
> save_errno = errno;
> dbprintf(("%s: stream_server: socket() failed: %s\n",
> debug_prefix(NULL),
> strerror(save_errno)));
> errno = save_errno;
> return -1;
> }
Unfortunately, I don't have the skills to figure out why this isn't
working. Does anyone have any suggestions about how to make this work?
The thing that is most mysterious to me is that this works correctly
on the older version of Cygwin...
Many thanks,
Ricky Morse
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -