Quick howto to setup ntp service on solaris 10:

vi /etc/inet/ntp.client

remove the server line and add pool.ntp.org servers (or your own):

server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org

:wq /etc/inet/ntp.conf

svcadm enable ntp

svcs

If your system says maintenance, check /var/svc/log/network-ntp* to see what went wrong and fix it. After that, run:

svcadm clear ntp

and that should make you up and running…

After 10-15 minutes, run

ntpq -p

and make sure that one of the entries has a * in front of it. If so, your clock is being synchronized to that server and you’re all set.

Leave a Reply