This is the mail archive of the cygwin 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: cron error can't switch user context


I have attached cronbug.txt as per the cron-config instructions.

Note that the original cronbug.txt was over 5MB.  I edited cronbug.txt and removed 46000 lines of cronevents output.  Is there any way of cleaning out old cron entries from the event log?

On Fri 2010-04-16 13:42, Tom Schutter wrote:
> I have number of machines running Windows2003 and Cygwin 1.7.5.  On most cron works.  But on one (lemon) it does 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) 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 is not running on any machine.
> 
> I have rerun cron-config, rebooted, etc.
> 
> I have searched the net, but most solutions seem to involve Cygwin 1.5 and no cyglsa.
> 
> Does anyone have any suggestions?
> 
> -- 
> Tom Schutter
> First American Spatial Solutions
> 303-440-7272 x6822
> 512-977-6822
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 

-- 
Tom Schutter
First American Spatial Solutions
303-440-7272 x6822
512-977-6822

Attachment: cronbug.txt
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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