Re: cron fails to start as a service in Win2k3R2 64bit
- Original Message - From: Blaine Miller To: cygwin Sent: Thursday, August 19, 2010 17:47 | The only way I've been able to get cron running is manually by starting | the crond via execution of cron.exe. | | Attached are my cygcheck.txt and crontab. | | I get the following error after I install and start the cron service... | | cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: Did you use cron-config to configure cron? If the problem persists run cronbug and send the output as an attachment. Pierre -- 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
Re: cron fails to start as a service in Win2k3R2 64bit
Pierre, I'm trying it now. No, I didn't know this was the preferred method of installing cron as a service. I've been installing/reinstalling everything from the cygwin *setup.exe*. I've looked at the log files and they seem pretty unremarkable. I'll run cronbug after I try the cron-config command. Thanks very much for your time and support... Blaine Pierre A. Humblet wrote: - Original Message - From: Blaine Miller To: cygwin Sent: Thursday, August 19, 2010 17:47 | The only way I've been able to get cron running is manually by starting | the crond via execution of cron.exe. | | Attached are my cygcheck.txt and crontab. | | I get the following error after I install and start the cron service... | | cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: Did you use cron-config to configure cron? If the problem persists run cronbug and send the output as an attachment. Pierre -- 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 -- 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
Re: cron fails to start as a service in Win2k3R2 64bit
Pierre, I tried using cron-config and it failed. Please find attached my cronbug.txt... Thanks again for your continued time and assistance. Blaine Pierre A. Humblet wrote: - Original Message - From: Blaine Miller To: cygwin Sent: Thursday, August 19, 2010 17:47 | The only way I've been able to get cron running is manually by starting | the crond via execution of cron.exe. | | Attached are my cygcheck.txt and crontab. | | I get the following error after I install and start the cron service... | | cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: Did you use cron-config to configure cron? If the problem persists run cronbug and send the output as an attachment. Pierre -- 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 Current version -rwxr-xr-x 1 Administrator root 5304 2010-02-15 18:14 /usr/share/doc/Cygwin/cron-4.1-59.README Running crons: 2116 12116 2116? 500 13:49:24 /usr/sbin/cron I366421162116 3664? 500 05:00:01 /usr/sbin/cron I389621162116 3896? 500 05:00:01 /usr/sbin/cron I346421162116 3464? 500 06:00:01 /usr/sbin/cron Sendmail: lrwxrwxrwx 1 Administrator None 16 2010-08-11 09:48 /usr/sbin/sendmail - /usr/bin/cronlog Crontabs: -rw-r- 1 Administrator root 599 2010-08-19 14:17 /var/cron/tabs/Administrator -rw-r- 1 500 0 599 2010-08-19 14:17 /var/cron/tabs/Administrator cron.log: -rw-r--r-- 1 SYSTEM root 2456 2010-08-19 14:42 /var/log/cron.log cron.pid: -rw-r--r-- 1 Administrator None 5 2010-08-19 13:49 /var/run/cron.pid Crontab: # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.yRr11boUdm installed on Thu Aug 19 14:17:23 2010) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) 00 05 * * * /cygdrive/c/scripts/xfer_vvm_mysql.sh 00 05 * * * /cygdrive/c/scripts/xfer_vvm_ora.sh 00 05 * * * /cygdrive/c/scripts/xfer_nab_vnnab.sh 00 10 * * * /cygdrive/c/scripts/xfer_nab_csnab.sh 00 06 * * * /cygdrive/c/scripts/xfer_dellsrv20.sh 00 06 * * * /cygdrive/c/scripts/xfer_directory.sh 00 06 * * * /cygdrive/c/scripts/xfer_perforce.sh 00 06 * * 2 /cygdrive/c/scripts/xfer_fileserv.sh Windows Application Events log: 2010/08/11 09:48:28 [Administrator] crontab: PID 1736: (Administrator) LIST (Administrator) 2010/08/13 13:50:48 [Administrator] crontab: PID 1904: (Administrator) LIST (Administrator) 2010/08/13 13:59:11 [Administrator] crontab: PID 1900: (Administrator) BEGIN EDIT (Administrator) 2010/08/13 14:14:47 [Administrator] crontab: PID 1900: (Administrator) REPLACE (Administrator) 2010/08/13 14:14:47 [Administrator] crontab: PID 1900: (Administrator) END EDIT (Administrator) 2010/08/13 14:24:51 [Administrator] crontab: PID 680: (Administrator) BEGIN EDIT (Administrator) 2010/08/13 14:30:18 [Administrator] crontab: PID 680: (Administrator) REPLACE (Administrator) 2010/08/13 14:30:18 [Administrator] crontab: PID 680: (Administrator) END EDIT (Administrator) 2010/08/13 14:30:47 [Administrator] crontab: PID 2972: (Administrator) LIST (Administrator) 2010/08/13 15:09:48 [Administrator] crontab: PID 1028: (Administrator) LIST (Administrator) 2010/08/14 15:13:12 [Administrator] crontab: PID 3916: (Administrator) LIST (Administrator) 2010/08/14 15:17:12 [Administrator] crontab: PID 2732: (Administrator) BEGIN EDIT (Administrator) 2010/08/14 15:17:31 [Administrator] crontab: PID 2732: (Administrator) REPLACE (Administrator) 2010/08/14 15:17:31 [Administrator] crontab: PID 2732: (Administrator) END EDIT (Administrator) 2010/08/16 06:16:42 [Administrator] crontab: PID 368: (Administrator) LIST (Administrator) 2010/08/16 06:31:33 [Administrator] crontab: PID 3648: (Administrator) LIST (Administrator) 2010/08/16 07:43:33 [Administrator] crontab: PID 4008: (Administrator) LIST (Administrator) 2010/08/17 08:04:30 [Administrator] crontab: PID 2604: (Administrator) LIST (Administrator) 2010/08/17 08:04:51 [Administrator] crontab: PID 2468: (Administrator) BEGIN EDIT (Administrator) 2010/08/17 08:05:12 [Administrator] crontab: PID 2468: (Administrator) REPLACE (Administrator) 2010/08/17 08:05:12 [Administrator] crontab: PID 2468: (Administrator) END EDIT (Administrator) 2010/08/17 08:52:31 [Administrator] crontab: PID 3236: (Administrator) LIST (Administrator) 2010/08/17 08:52:40 [Administrator] crontab: PID 640: (Administrator) BEGIN EDIT (Administrator) 2010/08/17 08:53:31 [Administrator] crontab: PID 640: (Administrator) REPLACE (Administrator) 2010/08/17 08:53:31 [Administrator] crontab: PID 640: (Administrator) END EDIT (Administrator) 2010/08/17 08:54:16 [Administrator] crontab: PID 2668: (Administrator) LIST (Administrator) 2010/08/17 08:54:52 [Administrator] crontab: PID 3512: (Administrator) BEGIN EDIT
Re: cron fails to start as a service in Win2k3R2 64bit
- Original Message - From: Blaine Miller To: cygwin Sent: Friday, August 20, 2010 11:33 | Pierre, | | I tried using cron-config and it failed. Please find attached my | cronbug.txt... OK, I see that you are running cron as yourself (Administrator). The problem is that you have several cron running, probably from the time when you were running cron manually 2116 1 2116 2116 ? 500 13:49:24 /usr/sbin/cron I 3664 2116 2116 3664 ? 500 05:00:01 /usr/sbin/cron I 3896 2116 2116 3896 ? 500 05:00:01 /usr/sbin/cron I 3464 2116 2116 3464 ? 500 06:00:01 /usr/sbin/cron Kill them all and run cron-config again, keeping (not removing) the existing service. Pierre -- 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