Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (10) AWS (5) numerology (5)

Monday, July 20, 2015

ntpdate: no server suitable for synchronization found + HPUX

ntpdate[9523]: no server suitable for synchronization found

While starting the ntp service, we were getting below error:

tigersrv:/home/root> /sbin/init.d/xntpd start
16 Jul 09:17:12 ntpdate[9523]: no server suitable for synchronization found

solution:

1.

tigersrv:/home/root> ntpq -p
     remote           refid      st t when poll reach   delay   offset    disp
=========================================================================
 NTP IP      0.0.0.0         16 -    -   64    0     0.00    0.000 16000.0

The “refid” should reflect some value.


2. Try to update the date through ntp server

tigersrv:/home/root> ntpdate -d NTP IP
transmit(NTP IP)
transmit(NTP IP)
transmit(NTP IP)
transmit(NTP IP)
transmit(NTP IP)
server NTP IP, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:      00000000.00000000  Thu, Feb  7 2036  1:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  1:28:16.000
transmit timestamp:  d9523075.8c7a1000  Thu, Jul 16 2015  9:30:29.548
filter delay:  0.00000  0.00000  0.00000  0.00000
               0.00000  0.00000  0.00000  0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
               0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

16 Jul 09:30:30 ntpdate[29299]: no server suitable for synchronization found

3. Try to ping the server; if it not pingable then check whether the server is down or not.

4. If you have other ntp server then add that entry in ntp config file etc..

Try to sync the time by using new NTP server.

tigersrv:/home/root> ntpdate -d [New Ntp server IP]

5. Edit the /etc/rc.config.d/netdaemons file

export NTPDATE_SERVER="NTP IP New NTP IP"   ---> You can mention two NTP servers IPs by giving space
export XNTPD=1
export XNTPD_ARGS=

*.- Edit the /etc/ntp.conf file
Add the following lines
server NTP IP prefer
server New NTP IP

6. stop and start ntp daemon [xntpd]

#/sbin/init.d/xntpd stop

#/sbin/init.d/xntpd start


Regards,
Kalyanjit

No comments:

Post a Comment