delorie.com/archives/browse.cgi | search |
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: | Fri, 28 Aug 2009 10:57:47 -0400 |
Message-ID: | <e002508e0908280757r7dc3a856mf814de9b79856a@mail.gmail.com> |
Subject: | 1.7: cygrunsrv and google desktop search (was: cygrunsrv will not start services most of the time) |
From: | Jonathan Manning <jmanning AT alisa-jon DOT net> |
To: | cygwin AT cygwin DOT com |
Cc: | q8zfcru02 AT sneakemail DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I've been tearing my hair out for weeks trying to get sshd running again after it stopped working. Came across this old thread on cygwin discuss from 3/26/09 describing the same problem but no resolution. I finally found a fix, so I'm posting it here for the record in case it helps others. (And perhaps it's something cygwin can work around) Symptoms: All cygrunsrv services fail to start. In my case, cygserver and sshd. sshd on the command line complains about /var/empty, but permissions look correct (and it lies - if you start it as yourself, that folder must be owned by your username, not "root" or even SYSTEM). So sshd works, just not from cygrunsrv. Windows' Application Error Log reads something like: sshd: PID 2088: starting service `sshd' failed: fork: 11, Resource temporarily unavailable. Cause: Google Desktop Search's AppInit_DLL. This injects their DLL into every process in order to attach to programs like IE for indexing. Remove GDS, or clear the value of the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs SysInternals AutoRuns can clear this easily, if you'd rather not mess with the registry directly. I found a few mentions on Google Desktop Search's mailing list: http://groups.google.com/group/Google-Desktop_Something-Broken/browse_frm/thread/dabf807fbdf2d7f http://groups.google.com/group/Google-Desktop_Something-Broken/browse_thread/thread/1fed02ee7265c459/af05b82701ccd51a Not sure if cygrunsrv can do anything to avoid getting stepped on here. If you need more details, let me know. Hopefully this helps someone else. In the meantime - GDS == gone. I need my cygwin. ~J -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |