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