permission problems (and more)

Larry Hall cygwin-lh@cygwin.com
Mon Apr 26 23:21:00 GMT 2004


At 05:24 PM 4/26/2004, you wrote:
>--- Larry Hall wrote:
>> At 04:43 PM 4/14/2004, you wrote:
>> >The cron service failed to start due to the following error: 
>> >Access is denied.
>> 
>> <http://www.cygwin.com/ml/cygwin/2004-03/msg00379.html>
>
>OK, let's just start with cron (ignoring the ssh
>problem for the moment.


OK.



>$ ./cron_diagnose.sh
>cron_diagnose.sh 1.5
>
>This script did not find any errors in your crontab setup.
>If you are still unable to get cron to work, then try
>shutting down the cron service, uninstalling it,
>reinstalling it, and restarting it.
>
>The following commands will do that:
>  $ cygrunsrv --stop cron
>  $ cygrunsrv --remove cron
>  $ cygrunsrv --install cron -p /usr/sbin/cron -a -D
>  $ cygrunsrv --start cron
>
>If none of this fixes the problem, then report your problem
>to cygwin@cygwin.com.  Please include a copy of your crontab,
>('crontab -l') and the output of 'cygcheck -srv > cygcheck.txt'.
>
>Please include the generated files 'cygcheck.txt' *as an attachment*,
>and NOT in the body of the mail message.
>
>$ cygrunsrv --stop cron
>
>$ cygrunsrv --remove cron
>
>$ cygrunsrv --install cron -p /usr/sbin/cron -a -D
>
>$ cygrunsrv --start cron
>cygrunsrv: Error starting a service: StartService:  Win32 error 5:
>Access is denied.
>
>$ crontab -l
>Tom


OK, first check the output of /var/log/cron.log.  If that doesn't clarify 
the situation for you, send it and the output of 'ls -Rl /var' to the list.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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