Synchronizing clock with ntp server in solaris

First check

whether any ntp service is running or not.

ps -ef|grep ntp/xntp or pgrep xntp

if so then kill that service-

pkill xntp or pkill -9 <pid>

Then completely disable that service-

svcadm disable xntp

Now just copy /etc/inet/ntp.client as /etc/inet/ntp.conf

And only put the following three line on ntp.conf

server 192.168.x.x

logfile /var/log/ntp.log

logconfig =all

Now enable the ntp service

svcadm enable ntp

svcadm start ntp

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: