This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crontab error


Chuck,

Cygwin services usually run as LocalSystem.  Did you change the user the
service runs as?
See if /usr/sbin/cron has execute permission set for user SYSTEM (maybe do
a "chmod a+x"?).
	Igor

On Wed, 28 May 2003, Chuck Hamilton wrote:

> I'm finding if I run the cron command manually from a shell window, it
> works. If I try to start it as a service, it fails to start. Below is what I
> found in the win2k application log. Does it help?
>
> "The description for Event ID ( 0 ) in Source ( cron ) cannot be found. The
> local computer may not have the necessary registry information or message
> DLL files to display messages from a remote computer. The following
> information is part of the event: cron : PID 2976 : starting service `cron'
> failed: execv: 1, Operation not permitted."
>
> Is this some sort of a permissions problem? Do I need to start the cron
> service as a specific user?
>
> ----- Original Message -----
> From: "Harig, Mark" <maharig@idirect.net>
> To: "Chuck Hamilton" <chuckh@softhome.net>; <cygwin@cygwin.com>
> Sent: Tuesday, May 27, 2003 1:03 PM
> Subject: RE: crontab error
>
>
> Please re-run the cron_diagnose.sh script
> to see if it can find any problems.
>
> > -----Original Message-----
> > From: Chuck Hamilton [mailto:chuckh@softhome.net]
> > Sent: Tuesday, May 27, 2003 8:44 AM
> > To: cygwin@cygwin.com
> > Subject: Re: crontab error
> >
> >
> > I do have the utilities and I was able to create a group and
> > passwd file. I
> > still get an error trying to start the cron service however.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]