Wednesday, 29 February 2012

NTP settings

The file that you need to be edit should be located at:
/etc/inet/ntp.conf

The file should read something like:
# multicastclient 224.0.1.1
server <FQDN of your Time server>
logfile /var/ntp/ntp.log
driftfile /var/ntp/ntp.drift

First line relates to your time service, the second makes the service use a logfile and the third a drift file - which helps with any time drift.

Run the following command to enable the service:
svcadm enable ntp

Then check to see if the NTP service has kicked in by running the following:
ntpq -p




What you are looking for is a 377 entry under the reach heading - if you don't you're not getting a connection and will have to start troubleshooting

No comments:

Post a Comment