Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

Steve Rowley sgr@alum.mit.edu
Thu Jan 25 19:31:00 GMT 2007


>Date: Thu, 25 Jan 2007 10:24:09 -0800
>From: Brian Dessent <brian@dessent.net>
>
>Steve Rowley wrote:
>> I'm gonna need a bit more guidance here; I found this script:
>> 
>> http://www.cygwin.com/ml/cygwin/2003-09/msg01860/sysbash
>
>Here I meant just run ordinary commands like ls, less, whatever.  Pretty
>much anything you do from a shell prompt causes a fork, so really I was
>just curious if you got tons of error messages when trying to do
>anything or not.

Ok, easy enough.  The hardest part was not giggling at the way sysbash
goes over the hill and through the woods to launch a SYSTEM owned
shell...  So when the SYSTEM owned shell popped up, it could easily
fork an ls process:

    >SYSTEM@... /
    >$ ls
    >bin cygdrive cygwin.bat cygwin.ico etc lib proc sbin srv tmp usr var

>You could also try starting cron as SYSTEM from the prompt, as
>"/usr/sbin/cron -D" and see what happens there.

Another good idea.  So I tried that:

  >SYSTEM@... /
  >$ /usr/sbin/cron -D
  >[4076] cron started

and all my cron jobs started up beautifully.  (Dunny WHY, of
course...)  So before the Muse looked elsewhere, I quickly tried to
run cron-config back in an ordinary shell.  No luck; same problem:

  >Do you want to start the cron daemon as a service now? (yes/no) yes
  >cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1053:
  >The service did not respond to the start or control request in a timely fashion.

So I think we've ruled out my crontab and the cron program itself as
potential causes.  I believe that leaves some interaction between
cygrusrv and the OS or other antivirus/spyware/firewall stuff, no?

>I meant a development snapshot of the DLL, which you get at
><http://cygwin.com/snapshots/>.  The stuff you get with setup.exe are
>only released versions which change relatively rarely.  There's
>instructions in either the FAQ or users guide on using a snapshot, I
>think.

Fair enough.  In that case, I have the latest release version.
-- 
Steve Rowley <sgr@alum.mit.edu> http://alum.mit.edu/www/sgr/ Skype: sgr000
It is very dark & after 2000.  If you continue, you are likely to be eaten by a bleen.



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



More information about the Cygwin mailing list