Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: <595D6456-E008-11D8-89A3-000A956EB07E@partners.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: cygwin AT cygwin DOT com From: Richard Morse Subject: Problems with Amanda and Cygwin 1.5.10 Date: Tue, 27 Jul 2004 16:05:47 -0400 X-IsSubscribed: yes Hi! I use Amanda () 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/