[leaf-user] NTP not working (webconf)
Good day all, Quick question re ntpdate.lrp package. When monitoring from webconf I see it is always stopped. When I hit the start button I get the following error Daemon Status Running start command ... Running ntpdate to synchronize clock. The command failed. Usually this is due to an error in the configuration file. ntpdate is: stopped Here is the configurations file. (/etc/default/ntpdate) # servers to check. (Separate multiple servers with spaces.) NTPSERVERS=timelord.uregina.ca # # additional options for ntpdate #NTPOPTIONS=-v NTPOPTIONS=-u Here is what I get when I run ntpdate from the command line. imagerocfw# ntpdate -u timelord.uregina.ca 1 Dec 20:02:19 ntpdate[30561]: adjust time server 142.3.100.15 offset -0.069286 sec Which seems to work. Am I missing something? Darcy Parker --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] NTP not working (webconf)
Hi Darcy, On Thursday 01 December 2005 15:04, Darcy Parker (Home) wrote: Good day all, Quick question re ntpdate.lrp package. When monitoring from webconf I see it is always stopped. When I hit the start button I get the following error Daemon Status Running start command ... Running ntpdate to synchronize clock. The command failed. Usually this is due to an error in the configuration file. ntpdate is: stopped Here is the configurations file. (/etc/default/ntpdate) # servers to check. (Separate multiple servers with spaces.) NTPSERVERS=timelord.uregina.ca # # additional options for ntpdate #NTPOPTIONS=-v NTPOPTIONS=-u Here is what I get when I run ntpdate from the command line. imagerocfw# ntpdate -u timelord.uregina.ca 1 Dec 20:02:19 ntpdate[30561]: adjust time server 142.3.100.15 offset -0.069286 sec Which seems to work. Am I missing something? Darcy Parker If I recall correctly, ntpdate is not a daemon that continues to run in the background. Webconf normally looks for a background daemon to tell if a process is running. An exception needs to be made for ntpdate. It looks like your system is working correctly, webconf's reporting is broken. I'll post a fix - if you want I can notifiy you directly, or you can wait for the next release of Bering uClibc. Thanks for reporting this! --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] NTP not working (webconf)
Hi Darcy, On Thursday 01 December 2005 15:04, Darcy Parker (Home) wrote: Good day all, Quick question re ntpdate.lrp package. When monitoring from webconf I see it is always stopped. When I hit the start button I get the following error Daemon Status Running start command ... Running ntpdate to synchronize clock. The command failed. Usually this is due to an error in the configuration file. ntpdate is: stopped Here is the configurations file. (/etc/default/ntpdate) # servers to check. (Separate multiple servers with spaces.) NTPSERVERS=timelord.uregina.ca # # additional options for ntpdate #NTPOPTIONS=-v NTPOPTIONS=-u Here is what I get when I run ntpdate from the command line. imagerocfw# ntpdate -u timelord.uregina.ca 1 Dec 20:02:19 ntpdate[30561]: adjust time server 142.3.100.15 offset -0.069286 sec Which seems to work. Am I missing something? Darcy Parker If I recall correctly, ntpdate is not a daemon that continues to run in the background. Webconf normally looks for a background daemon to tell if a process is running. An exception needs to be made for ntpdate. It looks like your system is working correctly, webconf's reporting is broken. I'll post a fix - if you want I can notifiy you directly, or you can wait for the next release of Bering uClibc. Thanks for reporting this! --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] NTP not working (webconf)
Darcy Darcy Parker (Home) wrote: Good day all, .. Here is what I get when I run ntpdate from the command line. imagerocfw# ntpdate -u timelord.uregina.ca 1 Dec 20:02:19 ntpdate[30561]: adjust time server 142.3.100.15 offset -0.069286 sec Which seems to work. Am I missing something? ntpdate is a single shot gun, not a daemon like ntpd. AFAIK ntpdate is used primarily to get a reasonable time _before_ ntpd gets started. Try ntpsimple instead (but only _after_ ntpdate is run) cheers Erich --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] NTP not working (webconf)
Hello Darcy, I think it's because ntpdate is no daemon, but because the package contains an init.d script (for initial starting the program) webconf thinks it's a daemon. The way I understand it, is that webconf checks for an init.d script and also the output of ps to see if it's running. But because ntpdate is just a program that uses an init.d script, webconf interpret is as a daemon that is not running. So it's no problem of your setup but webconf interpreting this cornercase wrong. Confusing isn't it :-) Eric Good day all, Quick question re ntpdate.lrp package. When monitoring from webconf I see it is always stopped. When I hit the start button I get the following error Daemon Status Running start command ... Running ntpdate to synchronize clock. The command failed. Usually this is due to an error in the configuration file. ntpdate is: stopped Here is the configurations file. (/etc/default/ntpdate) # servers to check. (Separate multiple servers with spaces.) NTPSERVERS=timelord.uregina.ca # # additional options for ntpdate #NTPOPTIONS=-v NTPOPTIONS=-u Here is what I get when I run ntpdate from the command line. imagerocfw# ntpdate -u timelord.uregina.ca 1 Dec 20:02:19 ntpdate[30561]: adjust time server 142.3.100.15 offset -0.069286 sec Which seems to work. Am I missing something? Darcy Parker --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/