X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Mon, 4 May 2009 14:07:46 -0400 Message-ID: <941a6680905041107h150c8109s1baf9cb903cf8855@mail.gmail.com> Subject: 1.7: cygserver problems under cygwin 1.7 From: Patrick Aikens To: cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary=0016363b7a66194af104691a0a4d X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 --0016363b7a66194af104691a0a4d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I've just installed cygwin 1.7 on a WinXP SP3 machine that used to have 1.5 installed. Since I didn't want to run them in parallel, first I deleted my c:\cygwin folder, then used regedit to get rid of the "Cygnus Solutions" and "Cygwin" registry keys from HKLM/Software and HKCU/Software to do as clean an install as possible. I ran the new setup-1.7.exe and installed the system for "All Users". I ran cygserver-setup once everything was done, and it reported success. When I ran "cygrunsrv -S cygserver", I got the error cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1053: The service did not respond to the start or control request in a timely fashion. The service is in a "Start Pending" state for a VERY long time (on the order of 5 minutes or so), then it silently goes back to "Stopped". I get this same behavior with "net start cygserver" or by trying to start it from the Services control panel. I can't find anything in Event Viewer or in cygserver.log (indeed, nothing is in there) giving details of the problem, except this entry in the Application node of the Event Viewer: "The description for Event ID ( 0 ) in Source ( cygserver ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: cygserver: PID 4520: starting service `cygserver' failed: fork: 11, Resource temporarily unavailable." running /usr/sbin/cygserver from the command line works just fine. I HAVE been able to start cygserver successfully a couple of times, but I couldn't reproduce my successes or narrow down what might have allowed it to start one time versus the next. The fact that I can start it (albeit rarely) makes me think it's not a permissions issue on /etc/cygserver.conf or /var/log/cygserver.log, but I suppose it could be. Output from "cygrunsrv -Q cygserver -V" Service : cygserver Display name : CYGWIN cygserver Current State : Stopped Command : /usr/sbin/cygserver stdin path : /dev/null stdout path : /var/log/cygserver.log stderr path : /var/log/cygserver.log Process Type : Own Process Startup : Automatic Account : LocalSystem -- SELECT * FROM users WHERE clue > 0 --0016363b7a66194af104691a0a4d Content-Type: application/octet-stream; name="cygcheck.out" Content-Disposition: attachment; filename="cygcheck.out" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fubhgs020 DQpDeWd3aW4gQ29uZmlndXJhdGlvbiBEaWFnbm9zdGljcw0KQ3VycmVudCBT eXN0ZW0gVGltZTogTW9uIE1heSAwNCAxNDowMjoxMyAyMDA5DQoNCldpbmRv d3MgWFAgUHJvZmVzc2lvbmFsIFZlciA1LjEgQnVpbGQgMjYwMCBTZXJ2aWNl IFBhY2sgMw0KDQpQYXRoOgkuXA0KCUM6XGN5Z3dpblxydWJ5XGJpbg0KCUM6 XFV0aWxpdGllc1xhcGFjaGUtbWF2ZW4tMi4wLjlcYmluDQoJQzpcVXRpbGl0 aWVzXHN2bi13aW4zMi0xLjUuMFxiaW4NCglDOlxVdGlsaXRpZXNcZW1hY3Mt MjIuMlxiaW4NCglDOlxVdGlsaXRpZXNcYXBhY2hlLWFudC0xLjcuMFxiaW4N CglDOlxQcm9ncmFtIEZpbGVzXEphdmFcamRrMS41LjBfMTZcYmluDQoJQzpc Y3lnd2luXGJpbg0KCUM6XGN5Z3dpblx1c3JcWDExUjZcYmluDQoJQzpcV0lO RE9XU1xzeXN0ZW0zMg0KCUM6XFdJTkRPV1MNCg0KT3V0cHV0IGZyb20gQzpc Y3lnd2luXGJpblxpZC5leGUgKG5vbnRzZWMpDQpVSUQ6IDQ5MTE3KHBhaWtl bnM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W5cYmluXGNhdC5leGUNCkZvdW5kOiBDOlxjeWd3aW5cYmluXGNw LmV4ZQ0K --0016363b7a66194af104691a0a4d Content-Type: text/plain; charset=us-ascii -- 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/ --0016363b7a66194af104691a0a4d--