SUMMARY: Solaris 10 ntp client issue



Many Thanks to Darren.

I was restarting ntp daemon couple of times and as per Dareen's explanation:

"If you restart ntpd, it'll take up to five minutes for it to
resync again. It'll be down during that time. If you restart and then
check immediately, it won't appear to be up. Again, 'ntpq -p' will have
more details during that time"

might have caused this problem.

Thanks again to Darren.

My Original question was:



>Hi Gurus,
>I have setup Solaris 10 to sync time with NTP Server for which i setup
>ntp.conf file in /etc/inet/ which looks similar to below example:
>I enabled the ntp service as svcadm enable ntp and i do see xntp daemon
>running.
> root 8931 1 0 15:13:32 console 0:00 /usr/lib/inet/xntpd
>
>/etc/inet/ntp.conf
>server ntp1.gene.com prefer
>server ntp2.gene.com
>driftfile /var/ntp/ntp.drift
>statsdir /var/ntp/ntpstats
>filegen peerstats file peerstats type day enable
>filegen loopstats file loopstats type day enable
>filegen clockstats file clockstats type day enabl
>
>We have Big Brother monitoring this NTP by running ntptrace and it
>continuously giving an alarm. When i checked ntptrace command on Soalris
>10 it gives timeout error which is why i think Big Brother is
>complaining all about.
>
>bash-3.00# /usr/sbin/ntptrace
>localhost: ntp1.gene.com
> *Timeout*
>
>Not sure what am i missing on Solaris 10.
>Any help is greatly appreciated. I will summarize.
>_______________________________________________
>sunmanagers mailing list
>sunmanagers@xxxxxxxxxxxxxxx
>http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: Possible bug with ntpd and Iptables
    ... >> to restart ntp after you restart iptables. ... > restarting ntp then the ports are closed. ...
    (Fedora)
  • Re: Possible bug with ntpd and Iptables
    ... > to restart ntp after you restart iptables. ... I understand where ntp opens the ports. ... this is happening and you restart iptables for some reason without ...
    (Fedora)
  • Re: # sign on ntpq -np command
    ... I have seen the documentation but sorry, I could not decide if I could take ... I have only one NTP server in my system and have to trust ... problem with server for example) and can not recover unless I restart it. ...
    (comp.protocols.time.ntp)
  • Re: Mandriva: Cant connect to ANY NTP server - Why?
    ... > This can be due to the clock being too far off the NTP time. ... If you take a look at the init script in /etc/init.d/ntp or ... Doing a restart with "/etc/init.d/ntpd restart" will help that. ...
    (comp.os.linux.setup)
  • Solaris 10 ntp client issue
    ... I have setup Solaris 10 to sync time with NTP Server for which i setup ... I enabled the ntp service as svcadm enable ntp and i do see xntp daemon ... When i checked ntptrace command on Soalris ...
    (SunManagers)