First I would check that I use the same TZ on both the NTP server and the client. Second I would use the logfile and/or tracefile options of xntpd to get information from the subsystem directly as the errpt entry is not very helpful here. Then I would check:
Does the same error happen when using xntpd with step instead of slew? (No -x option)
Does it make a difference if you change the subsystem with chssys and then just issue an starsrc -s xntpd?
Are there any network problems between NTP server and client?
Could be the system time to to far off from the real time or the time ntp is pulling from the peer server. Below is an clip from the man page for xntpd. I have had this problem more than once.
Last edited by juredd1; 05-13-2010 at 11:49 AM..
Reason: Fix Formatting.
ntpdate can be run before starting the NTP server daemon, if you suspect your system clock might be to far off. This can also be included in a startup script.
I'm a good Linux guy and former IRIX nerd who's got thrown into an AIX/Oracle install. (I don't mind getting thrown in the deep end. I just wish the pool had water in it...)
- The ntp server and both clients are all in the same time zone and on the same subnet. (I'm doing the test environment install as backup to the guy doing the production install.)
- The AIX boxes have TZ in /etc/environment as
- Where can I find the log files to examine?
- A default install of AIX 5.3 TL9 SP6 doesn't seem to install ntpdate.
- Shockneck: What chssys changes do you suggest?
Thanks!
dafydd
---------- Post updated at 11:31 AM ---------- Previous update was at 11:06 AM ----------
Found bootlog and conslog. Bootlog has nothing related to xntpd. Conslog only notes that xntpd has received start requests.
Trying this
---------- Post updated at 11:40 AM ---------- Previous update was at 11:31 AM ----------
Scratch the ntpdate thing. For some reason, even with /usr/sbin in the path, AIX will say ntpdate isn't found. Running it got me this:
What occurs to me is the way smitty chtz changed the variable in /etc/environment:
I don't see that "-7," or similar for other timezones, in any documentation, anywhere. So, I've changed the var to
and rebooted (just to be thorough). I'll post what happens...
---------- Post updated at 11:49 AM ---------- Previous update was at 11:40 AM ----------
And, after reboot, the time jumped forward 10 hours. WT*?
Fix that, rerun ntpdate...
This starts to look closer. Still digging...
---------- Post updated at 11:55 AM ---------- Previous update was at 11:49 AM ----------
RTFM. Find out that the ntpdate -d switch doesn't actually change anything. Rerun as "ntpdate -b"
Okay, I've synchronized everyone. Now to see if xntpd will stay up for more than 15 minutes at a stretch...
[...]And, after reboot, the time jumped forward 10 hours. WT*?
Yes, that would cause xntpd to die. As you did reboot and you did not see any time difference before that my No. 1 suspect is still the TZ which might have been changed in the /etc/environment but needs a reboot to become active.
- Reference IBM - Managing the Time Zone Variable for how to create a timezone string.
- Set the TZ variable in /etc/environment by hand.
- Reboot, or "export TZ=<timezone_string>"
- /usr/sbin/ntpdate -b <ntp server>
- "startsrc -s xntpd" or
- "startsrc -s xntpd -a "-x""
and give yourself a half-hour coffee break. Check and verify xntpd is still running, and you're good to go.
Last edited by dafydd2277; 05-13-2010 at 04:20 PM..
Reason: Add the double quote that I missed.
These 2 Users Gave Thanks to dafydd2277 For This Post:
Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Hi, I want to setup xntpd with two sources ntp servers. I added to /etc/ntp.conf:
server IP1
server IP2
but, when the server lost the connection with the first, it doesn't connect the second.
#/home/s03isga0 # ntpq -p
remote refid st t when poll reach delay ... (4 Replies)
Hi,
Does anyone know how to make sure that the slewing option in solaris 10 is on. From the man page I believe I had to add "slewalways yes" to the ntp.conf file and restart the service, but I don't know if its has gone into effect or not.
Thanks (3 Replies)
Hello:
NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Hi All,
After restarting the xntpd process for some reasons when i checked the status its showing inoprative eventhough xntpd process is running when i ps on it.
$ lssrc -s xntpd
Subsystem Group PID Status
xntpd tcpip ... (1 Reply)
Hi,
I have a server that is getting the following alarm a couple times a day:
Mar 25 10:56:54 hostname xntpd: too many recvbufs allocated (30)
Mar 25 10:56:54 hostname xntpd: too many recvbufs allocated (30)
I know this is some sort of NTP related issue but I need to gauge the severity of... (0 Replies)
Hi,
Have never run xntpd before. I have my ntp.conf file configured with server, trace file and drift file. I commented out the "broadcastclient" entry since I only want to get the time from a single source. Port 123 is in the /etc/services file for tcp and udp. Port 123 has been enabled in... (0 Replies)
Hi,
I'm having these errors when using xntpd on ncr unix.
synchronisation lost
Feb 25 09:10:14 in.xntpd: Previous time adjustment didn't complete
Can anyone help me on this. Is it an issue with the time delay as the reference time servers are on different sites and the ping response is... (0 Replies)
Hi:
I,am trying syncronise clock, but i canīt do it
In the server client put:
/etc/ntp.conf -> server namehost
-> resolver /etc/xntpres
/etc/tcp -> uncoment lines when say Xntpd
/etc/ xntpd
In the server as server clock:
/etc/ntp.conf -> peers hostname
if... (1 Reply)