ntpd on CentOS 5 not working - maybe authentication?
Posted on 2011-03-01
I am trying to get ntpd working on my CentOS 5 server. The service starts just fun and seems to be able to retrieve time from servers, but there is a problem somewhere with the syncronization...
The ntpd rpm is showing: ntp-4.2.2pl-9.el5.centos.2.1
When I run the command: ntpq -c peer -c as -c rl
My list of servers looks ok but the associations list shows the condition of every server as 'reject'
If I run the pstatus command on any of them, I get the value flash=400 on all of them, which the docs seem to indicate are some problem with the authentication.
When I run the ntptime command it complains about ntp_gettime and ntp_adjtime both returning code 5 errors.
I can't seem to find the magic combination of values to search on to come up with an answer for this one. And nothing I do seems to make it work. When I was using just the default pool servers the time wasn't even staying in sync, with a few other public servers added, it at least keeps the time in sync but it the ntpd server isn't happy.
Does anyone have a working configuration or the information on how to get this working?