NTP problem.

Hi,

I have edited the /etc/inet/ntp.conf file to point to a new time server. When I restart ntp on Solaris 10 using 'svcadm disable/enable ntp' it still points to the old ntp server when I run a 'ntpq -p'.

Any ideas?

Thanks.

Sparcman

create an entry for that service in file for startup services or create a scheduled job using cron

Try restarting the service using

svcadm restart ntp

or the script in /etc/rc2.d/

If that doesn't work, it might be that your NTP service is called ntpd or xntpd.

What says:

svcs -xv ntp
tail /var/svc/log/network-ntp:default.log

?

Thanks for your help everyone. It turns out that when I stopped ntp using svcadm all the processes weren't stopped. I has to kill the ntp processes that were left. After that I started ntp again and it worked.

Thanks,

Sparcman