Bug 430968

Summary: ntp doesn't remember to start
Product: [openSUSE] openSUSE 11.0 Reporter: Caleb Cushing <xenoterracide>
Component: YaST2Assignee: Peter Varkoly <varkoly>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/boot.msg

Description Caleb Cushing 2008-09-30 16:45:04 UTC
in yast -> system services  shows that ntp is enabled however every startup I have to shell in and do an /etc/init.d/ntp start because it doesn't start. I don't see that it's even tried to start.
Comment 1 Robert Vojcik 2008-10-02 14:18:28 UTC
Hello, 

could you provide /var/log/boot.msg and output of "ls -l /etc/init.d | grep ntp"

Thanks
Comment 2 Caleb Cushing 2008-10-02 14:44:53 UTC
Created attachment 243110 [details]
/var/log/boot.msg

ls -l /etc/init.d | grep ntp
-rwxr-xr-x 1 root root  5931 Jun  6 18:53 ntp
Comment 3 Caleb Cushing 2008-10-02 14:45:47 UTC
.
Comment 4 Peter Varkoly 2008-10-06 06:43:09 UTC
The ntp daemon will be started fine:
ntpd: time set -10779.743894s
Starting network time protocol daemon (NTPD)done
Do not forget, that normally ntpd exits if the offset exceeds the sanity limit, which is 1000 s by default. By starting the ntpd the this is more then 10000.
ntpd will be started with -g. This option overrides the limit and allows the time to be set to any value without restriction; however, this can happen only once. 

You have to optimize your server with minpoll and maxpoll paramters.
See man ntp.conf.