2008-06-02 20:49:01 ntpd fails as daemon (works with -q flag)
Ben Burleson (UNITED STATES)
Message: 56592
I am able to set the system time using
ntpd -q -g -c /etc/ntp.conf
just fine, but when I take the -q out to run it as a daemon, I see no evidence of anything happening. It is not listed in the process list and if I start without the correct time, ntpd never corrects it. What's more disturbing is that nothing is logged to the logfile specified in /etc/ntp.conf. However, when run with the -q flag, messages are logged:
1 Jan 07:04:21 ntpd[53]: synchronized to 192.43.244.18, stratum 1
3 Jun 00:29:16 ntpd[53]: time reset +1212427495.618442 s
Is there somewhere I should be looking for debug messages for a clue as to why the daemon just seems to fail before it even gets started??
Thanks,
Ben
QuoteReplyEditDelete
2008-06-02 23:29:44 Re: ntpd fails as daemon (works with -q flag)
Mike Frysinger (UNITED STATES)
Message: 56596
so try with -n
QuoteReplyEditDelete
2008-06-03 11:59:54 Re: ntpd fails as daemon (works with -q flag)
Ben Burleson (UNITED STATES)
Message: 56635
Thank you Mike!