Re: cygrunsrv will not start services most of the time

2009-04-06 Thread Robert Jacobson
Dave Korn wrote:
   Argh, sorry about that.  I just updated the BLODA sources in CVS to mention
 Google Desktop the other day, but we haven't refreshed the website yet,

:-P  That would have saved me some troubleshooting time!

I swear I searched Google for Google desktop cygrunsrv and I didn't
find any mention of the issue -- but I guess I searched for something
else.  Maybe it was Google Desktop and fork resource unavailable
(which doesn't show anything useful).  Ah, Google is great when you
search for the right thing.

In any case, I wanted to add that if you use regedit to rename/delete
AppInit_DLLs, cygrunsrv will work until you reboot -- at that point
Google Desktop seems to fix itself by creating AppInit_DLLs again.
That will of course break cygrunsrv again.

So, I guess the better solution is to install an old version of Google
Desktop.

-- 
Rob

--
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/



Re: cygrunsrv will not start services most of the time

2009-04-06 Thread Dave Korn
Robert Jacobson wrote:
 Dave Korn wrote:
   Argh, sorry about that.  I just updated the BLODA sources in CVS to mention
 Google Desktop the other day, but we haven't refreshed the website yet,
 
 :-P  That would have saved me some troubleshooting time!
 
 I swear I searched Google for Google desktop cygrunsrv and I didn't
 find any mention of the issue -- but I guess I searched for something
 else.  Maybe it was Google Desktop and fork resource unavailable
 (which doesn't show anything useful).  Ah, Google is great when you
 search for the right thing.

  Yeah, that's always the tricky bit.  I googled for
+cygwin error +google desktop
and found a couple of pointers to google groups as results #3 and #4 that led
me to this report from last October:

http://groups.google.com/group/Google-Desktop_Something-Broken/tree/browse_frm/month/2008-10/1f3f00524b27fbf4?rnum=121_done=%2Fgroup%2FGoogle-Desktop_Something-Broken%2Fbrowse_frm%2Fmonth%2F2008-10%3F#doc_c5426b3f349577a3

(http://tinyurl.com/d9jtcv to avoid wrapping).

 In any case, I wanted to add that if you use regedit to rename/delete
 AppInit_DLLs, cygrunsrv will work until you reboot -- at that point
 Google Desktop seems to fix itself by creating AppInit_DLLs again.
 That will of course break cygrunsrv again.

  Argh.  Still, that key belongs to windows, there are lots of other things
that might end up there or cause it to be recreated, so editing it is an
unreliable technique at the best of times.  I see (OldNewThing 20071213) that
it's deprecated and disabled by default in vista (and presumably above).

  It occurs to me that we should dump it out in the cygcheck output, thanks
for the idea!

cheers,
  DaveK


--
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/



Re: cygrunsrv will not start services most of the time

2009-04-06 Thread Ken Brown

On 4/6/2009 7:59 AM, Robert Jacobson wrote:

Dave Korn wrote:

  Argh, sorry about that.  I just updated the BLODA sources in CVS to mention
Google Desktop the other day, but we haven't refreshed the website yet,


:-P  That would have saved me some troubleshooting time!

I swear I searched Google for Google desktop cygrunsrv and I didn't
find any mention of the issue -- but I guess I searched for something
else.


You must have searched for something else.  A search for google desktop 
cygrunsrv finds the following report of the same problem:


http://www.cygwin.com/ml/cygwin/2008-10/msg00326.html

Ken

--
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/



Re: cygrunsrv will not start services most of the time

2009-04-03 Thread Robert Jacobson

Well, I found the culprit.  It seems that Google Desktop was causing the
problem, because after I installed it, I had zero problems starting
cygrunsrv services.

I only have two machines with both Google Desktop and cygrunsrv
services.  It works fine on the other machine.

Oh well, I need an SSHD server more than I need Google search!

-- 
Rob

--
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/



Re: cygrunsrv will not start services most of the time

2009-04-03 Thread Robert Jacobson
Robert Jacobson wrote:
 I only have two machines with both Google Desktop and cygrunsrv
 services.  It works fine on the other machine.

This seems to be a known issue with the current version.  There are two
workarounds:

1) install an older version
2) Rename a registry key to prevent the Google Desktop dll from
attaching to every process

Details are here:

http://groups.google.com/group/Google-Desktop_Something-Broken/browse_thread/thread/0dabf807fbdf2d7f

TinyURL link just in case wrapping messes up above link:
http://preview.tinyurl.com/d7pglv

I went the registry key route.

-- 
Rob

--
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/



Re: cygrunsrv will not start services most of the time

2009-04-03 Thread Dave Korn
Robert Jacobson wrote:
 Well, I found the culprit.  It seems that Google Desktop was causing the
 problem, because after I installed it, I had zero problems starting
 cygrunsrv services.

  Argh, sorry about that.  I just updated the BLODA sources in CVS to mention
Google Desktop the other day, but we haven't refreshed the website yet, and I
forgot to mention that the list was longer now in this thread.  Thanks for
reminding me to go through my backlog of email and dig out all the BLODA
updates people have sent me over the past few months.

cheers,
  DaveK

--
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/



Re: cygrunsrv will not start services most of the time

2009-03-30 Thread Robert Jacobson
Dave Korn wrote:
   :-(  I'm starting to run out of ideas.  This is the point at which I'd start
 single-stepping through early process startup in a debugger, trying to see why
 it fails.

I'd love to do that, but I think it's beyond my technical abilities.  I
mean, I'm not even sure where to start using a debugger in Windows.
I've used gdb to examine stacks, but...

Anyone have a pointer to a primer on how to go about debugging this?


-- 
Rob

--
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/



Re: cygrunsrv will not start services most of the time

2009-03-26 Thread Dave Korn
Robert Jacobson wrote:

 Most of the time (say, 7 out of 10 times), it will not start the service.
 When I issue the net start sshd command, it hangs, then eventually gives
 the error: A system error has occurred. System error 1067 has occurred.

   Very, very rarely I get an error
 in the Windows Application event log: Starting service 'sshd' failed:
 fork: 11, Resource temporarily unavailable.

 What other things can I do to narrow down the problem?
 I hope the information I've provide is complete.  If I can add anything,
 please let me know.

  What's on your services list?  Got Logitech Process Monitor at all?
Anything that isn't part of windows itself?

cheers,
  DaveK

--
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/



Re: cygrunsrv will not start services most of the time

2009-03-26 Thread Robert Jacobson
Dave Korn wrote:
   What's on your services list?  Got Logitech Process Monitor at all?
 Anything that isn't part of windows itself?

I have iTunes installed, so I these services (which I stopped but did
not uninstalled)
Apple Mobile Device
Bonjour Service
iPod Service

I also have these other non-Windows services (again, all of which I
stopped but did not uninstall):
   Entrust Login Interface
   Entrust/TrueDelete(TM)
   Net Driver HPZ12
   NVIDIA Display Driver Service
   NVIDIA Performance Driver Service
   PatchLink Update
   Pml Driver HPZ12
   VNC Server

That said, I have another system with mostly the same software/services
(except NVIDIA services); it works OK.

The other system doesn't have Entrust/TrueDelete(TM) either.  I can
try uninstalling the Entrust software...

-- 
Rob

--
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/



Re: cygrunsrv will not start services most of the time

2009-03-26 Thread Dave Korn
Robert Jacobson wrote:

 The other system doesn't have Entrust/TrueDelete(TM) either.  I can
 try uninstalling the Entrust software...

  Entrust Login Interface seems a likely one to interfere with the launching
of processes that change user id.  (IIRC answering -y to ssh-host-config will
have enabled privsep).  It's probably worth the hassle of a couple of reboots
to find out if it's doing so.

cheers,
  DaveK


--
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/



Re: cygrunsrv will not start services most of the time

2009-03-26 Thread Robert Jacobson
Dave Korn wrote:
   Entrust Login Interface seems a likely one to interfere with the launching
 of processes that change user id.  (IIRC answering -y to ssh-host-config will
 have enabled privsep).  It's probably worth the hassle of a couple of reboots
 to find out if it's doing so.

I guess I forgot to mention that I tried the sshd service without priv
separation; it doesn't help.

Also, the inetd service doesn't do any sort of priv separation, and that
doesn't work either.  The evidence seems to indicate that whatever
problem I have, it affects cygrunsrv globally, no matter what service I
use (ok, I only tried inetd and sshd, but still.. :)  ).

That said, I still uninstalled the Entrust software.  I also uninstalled
the Apple extras (Mobile Device, Bonjour, Apple Software Update).

Unfortunately cygrunsrv services still do not start properly.


-- 
Rob

--
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/



Re: cygrunsrv will not start services most of the time

2009-03-26 Thread Dave Korn
Robert Jacobson wrote:
 Dave Korn wrote:
   Entrust Login Interface seems a likely one to interfere with the 
 launching
 of processes that change user id.  (IIRC answering -y to ssh-host-config will
 have enabled privsep).  It's probably worth the hassle of a couple of reboots
 to find out if it's doing so.
 
 I guess I forgot to mention that I tried the sshd service without priv
 separation; it doesn't help.
 
 Also, the inetd service doesn't do any sort of priv separation, and that
 doesn't work either.  The evidence seems to indicate that whatever
 problem I have, it affects cygrunsrv globally, no matter what service I
 use (ok, I only tried inetd and sshd, but still.. :)  ).
 
 That said, I still uninstalled the Entrust software.  I also uninstalled
 the Apple extras (Mobile Device, Bonjour, Apple Software Update).
 
 Unfortunately cygrunsrv services still do not start properly.


  :-(  I'm starting to run out of ideas.  This is the point at which I'd start
single-stepping through early process startup in a debugger, trying to see why
it fails.

cheers,
  DaveK

--
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/