not. It appears that on lemon cron cannot
switch the user context.
Cronevents on lemon shows:
2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (tschutter) CMD
(/usr/bin/python /cygdrive/f/production-sync/production-sync.py)
2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (CRON
cannot switch the user context.
> >
> > Cronevents on lemon shows:
> >
> > 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (tschutter) CMD
> > (/usr/bin/python /cygdrive/f/production-sync/production-sync.py)
> > 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: P
Le 17/04/2010 00:06, Cyrille Lefevre a écrit :
cygserver is not running on any machine.
2K3 may need cygserver as well as passwd -D?
s/-D/-R/ sorry
Cordialement,
Cyrille Lefevre
--
mailto:cyrille.lefevre-li...@laposte.net
--
Problem reports: http://cygwin.com/problems.html
FAQ:
/cron: PID 656: (tschutter) CMD
(/usr/bin/python /cygdrive/f/production-sync/production-sync.py)
2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (CRON) error (can't
switch user context)
/var/log/cron.log is empty on all machines.
let's configure syslogd from inetutils to have
user
context.
| >
| > Cronevents on lemon shows:
| >
| > 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (tschutter) CMD
(/usr/bin/python
/cygdrive/f/production-sync/production-sync.py)
| > 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (CRON) error (can't
switc
656: (tschutter) CMD
> (/usr/bin/python /cygdrive/f/production-sync/production-sync.py)
> 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (CRON) error (can't
> switch user context)
>
> /var/log/cron.log is empty on all machines.
>
> The cron daemon is running as
/python /cygdrive/f/production-sync/production-sync.py)
2010/04/15 17:19:01 [SYSTEM] /usr/sbin/cron: PID 656: (CRON) error (can't
switch user context)
/var/log/cron.log is empty on all machines.
The cron daemon is running as SYSTEM on all machines.
cyglsa is running on all machines.
cygserver i
- Original Message -
From: "Senthil Kuppusamy"
To:
Sent: Tuesday, September 23, 2008 6:31 AM
Subject: Cron error
| Hi,
|
| Attached is the cronbug.txt. Please let me know what i am missing in
| starting the crontab
The good news is that there are no errors. cron is r
being written to my file?
I ran cronbug and found in the output several '(CRON) error (can't switch user
context)' messages. I have tried googling for an answer to this issue but have
not had much luck.
Any help would be appreciated.
Thanks!
Phil
Current version
-r-xr-x---+
t
the cron service, and run scheduled tasks with my username which
contains a space.
-Original Message-
From: Pierre A. Humblet [mailto:[EMAIL PROTECTED]
Sent: Friday, 22 September 2006 00:07
To: David Rekas; Harig, Mark; cygwin@cygwin.com
Subject: Re: cron - error starting a service
I am stump
>
> $ /usr/bin/cron_diagnose.sh: This also did not find any errors. The
> displayed version of this is 1.10. The revision in the source is 1.3
> 2004/12/21 16:14:4. Whereas the previous "older" version I was trying
> before displays 1.8. Is my /usr/bin/cron_diagnose.sh really the latest
> version?
- Original Message -
From: "David Rekas"
To: "Harig, Mark" ; "Pierre A. Humblet" ; cygwin
Sent: Thursday, September 21, 2006 12:42 AM
Subject: RE: cron - error starting a service
Mark & Pierre, thanks for your advice. Please see below.
Mark:
$ /usr/b
Mark & Pierre, thanks for your advice. Please see below.
Mark:
$ /usr/bin/cron_diagnose.sh: This also did not find any errors. The
displayed version of this is 1.10. The revision in the source is 1.3
2004/12/21 16:14:4. Whereas the previous "older" version I was trying
before displays 1.8. Is my
- Original Message -
From: "David Rekas"
To: cygwin
Sent: Wednesday, September 20, 2006 3:54 AM
Subject: ***[Possible UCE]*** cron - error starting a service
Hi,
I have installed cron-3.0.1-19 within CYGWIN_NT-5.1 1.5.21(0.156/4/2) on
my Win XP 5.1.2600 machine. Configur
>
> # Used cron_diagnose.sh 1.8 repeatedly until it no longer found any
> problems.
>
Please try the version of cron_diagnose.sh in /usr/bin (that is,
/usr/bin/cron_diagnose.sh). It is a later version than what you
reported
above.
---
--
Unsubscribe info: http://cygwin.com/ml/#unsubscri
I'd been trying to get cron running for a day or three. Came accross someone
who had the EXACT same problem as me:
http://www.cygwin.com/ml/cygwin/2003-03/msg00624.html
But found no solution.
Now I have solved it, so here is my solution:
/var/run was set to be owned by my user. Not the SYSTEM u
the /etc/group file?
> -Original Message-
> From: House, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 13, 2003 11:25 AM
> To: Harig, Mark A.; [EMAIL PROTECTED]
> Subject: RE: cron - Error starting a service:
> QueryServiceStatus: Win32
> error 1062:
>
>
>
ECTED]]
Sent: Tuesday, February 11, 2003 6:48 PM
To: House, Mark; [EMAIL PROTECTED]
Subject: RE: cron - Error starting a service: QueryServiceStatus: Win32
error 1062:
I can't see any glaring errors. Here a some things you might try:
1. You're running Windows 2000, SP2. Is there
se.sh
script, please let me know so that it can improve.
-Original Message-
From: House, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 10:45 AM
To: [EMAIL PROTECTED]
Subject: cron - Error starting a service: QueryServiceStatus: Win32
error 1062:
Hi,
I have been experienci
Title: cron - Error starting a service: QueryServiceStatus: Win32 error 1062:
Hi,
I have been experiencing this error ever since I rebooted my server. I am now unable to start the cron service. I have attached my cygcheck file and I have run cron_diagnose.sh as suggested by Mark A
Hallo Jari,
Am 2002-01-13 um 01:36 schriebst du:
> $ cygrunsrv -I "Cygwin cron" -p /usr/sbin/cron -a D -e "CYGWIN=ntsec"
^^
A typo? Try: -a -D or: -a '-D' or: -a "-D" instead^^^?
> $ cygrunsrv --start "Cygwin cron"
> cy
Hi,
I'm hoping that someone out there could have the similar long standing
problem as I have with this unability to set up cron in w2k Pro.
I have ho ideas how to debug this further. This is standa-alone
PC, where I always log in as Administrator. Details of setup follows.
Any ideas are apprecia
22 matches
Mail list logo