Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xntpd error: no server suitable for synchronization found yet

Status
Not open for further replies.

630111

MIS
Oct 30, 2001
127
US
I think it has something to do with the time daemon, how do I correct it?
Thanks, in advance!
630111
 
You’re correct; this error is from the time daemon.

If you’re not using a time server to sync the time, simply stop the time daemon /etc/init.d/xntpd stop and rename /etc/inet/ntp.conf (renaming ntp.conf will stop the time daemon from starting). However, if you’re trying to configure a time server or client, need more details; is this error coming from the server or client? What version of Solaris are you running?

StickyBit.
 
Look at the man pages for xntpd. You will have to start xtntpd with -c option tp pass a config file where you will specify the time server you want to reach. You can synchorinze with any atomic clock on the net. Too bad I.T. is not cash business

Luc Foata
Unix sysadmin, Oracle DBA
 
Okay, I think I got it running as I can now stop and restart xntpd without the original error. This is what my /var/adm/messages looks like now:

Apr 17 11:58:26 pma1591d10 xntpd[26564]: xntpd version=3.4y (beta multicast); Fri Aug 23 19:54:40 PDT 1996 (2)
Apr 17 11:58:26 pma1591d10 xntpd[26564]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
Apr 17 11:58:26 pma1591d10 xntpd[26564]: cannot change keyid 0, key entry `trustedkey' ignored
Apr 17 11:58:26 pma1591d10 xntpd[26564]: cannot change keyid 0, key entry `requestkey' ignored
Apr 17 11:58:26 pma1591d10 xntpd[26564]: cannot change keyid 0, key entry `controlkey' ignored

I tried copying /etc/inet/ntp.keys from another time client and I still get the error message above.

This machine is a time client and is running Solaris 2.6.

This is what my /etc/inet/ntp.conf file looks like

# @(#)ntp.server 1.4 97/05/05 SMI
#
# /etc/inet/ntp.server
#
# An example file that could be copied over to /etc/inet/ntp.conf and
# edited; it provides a configuration template for a server that
# listens to an external hardware clock, synchronizes the local clock,
# and announces itself on the NTP multicast net.
#


# Either a peer or server. Replace "XType" with a value from the
# table above.
server 10.13.104.1 prefer
#fudge 10.13.104.1 stratum 0
#broadcast 10.13.104.0
#peer 127.127.1.0
#fudge 127.127.1.0 stratum 3
#server 127.127.XType.0 prefer
# Southern Methodist University, Dallas, TX
# Contact - Allen Gwinn (allen@mail.cox.smu.edu)
#server 209.144.20.76 prefer
# First National Bank of Hughes Springs, TX
# Contact - walterp@fnbhs.com
#server 128.249.1.10
# Baylor College of Medicine, Houston, Tx
# Postmaster (postmaster@tmc.edu)
#server 165.91.52.110 prefer
# Texas A&M University, College Station, TX
# Administrator (ntp@tamu.edu)


#broadcast 224.0.1.1 ttl 4
#
logconfig =syncevents +peerevents +sysevents +allclock

enable monitor
disable auth
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 enable

### Authentication section ###
keys /etc/inet/ntp.keys
#trustedkey 1 2 15 123
#requestkey 123
#controlkey 123

And here is the file /etc/inet/ntp.keys

#trustedkey 1 2 15 123
trustedkey 1
#requestkey 15
#requestkey 123
requestkey 1
#controlkey 15
#controlkey 123
controlkey 1

I've tried changing the values in this file and stopping and restarting xntpd but it doesn't make a difference. I still get the same error in /var/adm/messages.

Thanks!
630111
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top