public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* more cron issues
@ 2001-11-11  8:26 James L. Ash
  0 siblings, 0 replies; only message in thread
From: James L. Ash @ 2001-11-11  8:26 UTC (permalink / raw)
  To: cygwin

Hi.
I love Cygwin. If I can't get cron to work, I'll have to abandon it.

I know everyone is tired of hearing about cron problems, but I've tried
everything. I've read all the mail lists, but I can't get this to work
to save my life.

I have this problem on NT 4.0 and on W2K. The problem is identical.

These snippets are from my NT4.0 box.

The description for Event ID ( 0 ) in Source ( /USR/SBIN/CRON ) could
not be found. It contains the following insertion string(s):
/USR/SBIN/CRON : Win32 Process Id = 0x1AF : Cygwin Process Id = 0x1AF :
(CRON) error (can't switch user context).

and...

The description for Event ID ( 0 ) in Source ( /USR/SBIN/CRON ) could
not be found. It contains the following insertion string(s):
/USR/SBIN/CRON : Win32 Process Id = 0x1AF : Cygwin Process Id = 0x1AF :
(Administrator) CMD (/usr/bin/date > /home/Administrator/CRONDATE).


I have done the following:
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=ntsec tty"
    no go...
cygrunsrv -I cron -p /usr/sbin/cron -a'-D' -e "CYGWIN=ntsec tty"
    (saw that one in a mail message, no go)

Then I start it, of course:
cygrunsrv -S cron

I am running as "administrator"

My /etc/group looks like this:
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-361630140-1355681568-311576647-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
cvs:S-1-5-21-361630140-1355681568-311576647-1007:1007:
mailmen:S-1-5-21-361630140-1355681568-311576647-1012:1012:
mqm:S-1-5-21-361630140-1355681568-311576647-1001:1001:

My /etc/passwd looks like this:
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator::500:513:,S-1-5-21-361630140-1355681568-311576647-500:/home/Administrator:/bin/bash

cbadmin::1000:513:cbadmin,S-1-5-21-361630140-1355681568-311576647-1000:/home/cbadmin:/bin/bash

db2admin::1005:513:db2admin,S-1-5-21-361630140-1355681568-311576647-1005:/home/db2admin:/bin/bash

Guest::501:513:,S-1-5-21-361630140-1355681568-311576647-501:/home/Guest:/bin/bash

ja7295cvs::1010:513:James
Ash,S-1-5-21-361630140-1355681568-311576647-1010:/home/ja7295cvs:/bin/bash

mailman::1013:513:James
Ash,S-1-5-21-361630140-1355681568-311576647-1013:/home/mailman:/bin/bash

rg3454::1008:513:Rob
Gimenez,S-1-5-21-361630140-1355681568-311576647-1008:/home/rg3454:/bin/bash

SMSCliSvcAcct&::1006:513:SMSCliSvcAcct&,S-1-5-21-361630140-1355681568-311576647-1006:/home/SMSCliSvcAcct&:/bin/bash

webmaster::1014:513:Web
Master,S-1-5-21-361630140-1355681568-311576647-1014:/home/webmaster:/bin/bash

I have rebuilt both several times because I've seen that suggesting in
the mail threads, with
mkpasswd -l >/etc/passwd
mkgroup -l >/etc/group

I am running CYGWIN with ntsec.

The funny thing is, cron has this problem on my laptop when hooked up to
the network. It DOES NOT have the problem undocked.

I've look at permissions on the crontabs. Seems fine. I'm using the
latest cron 3.0.1-5.

Thanks for anything you can suggest!
Jim


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-16 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-11  8:26 more cron issues James L. Ash

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).