Sponsored Content
Full Discussion: xntpd won't stay up...
Operating Systems AIX xntpd won't stay up... Post 302421140 by dafydd2277 on Thursday 13th of May 2010 02:55:29 PM
Old 05-13-2010
Thanks for all the hints!

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
Code:
TZ=PST8PDT-7,M3.2.0/2:00:00,M11.1.0/2:00:00

- Where can I find the log files to examine?

- A default install of AIX 5.3 TL9 SP6 doesn't seem to install ntpdate. Smilie

- 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
Code:
/usr/sbin/xntpd -l /tmp/xntpd.log -D 10



---------- 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. Smilie Running it got me this:

Code:
# /usr/sbin/ntpdate -d <IPADDR>
13 May 11:33:27 ntpdate[462852]: 3.4y
transmit(<IPADDR>)
receive(<IPADDR>)
transmit(<IPADDR>)
receive(<IPADDR>)
transmit(<IPADDR>)
receive(<IPADDR>)
transmit(<IPADDR>)
receive(<IPADDR>)
transmit(<IPADDR>)
server <IPADDR>, port 123
stratum 11, precision -20, leap 00, trust 000
refid [127.127.1.0], delay 0.02574, dispersion 0.00000
transmitted 4, in filter 4
reference time:      cf96c466.644973b0  Fri, May 14 2010  1:33:10.391
originate timestamp: cf96c49f.ac1255cd  Fri, May 14 2010  1:34:07.672
transmit timestamp:  cf95ff97.1a4c3000  Thu, May 13 2010 11:33:27.102
filter delay:  0.02582  0.02574  0.02579  0.02576
               0.00000  0.00000  0.00000  0.00000
filter offset: 50440.56 50440.56 50440.56 50440.56
               0.000000 0.000000 0.000000 0.000000
delay 0.02574, dispersion 0.00000
offset 50440.569358

13 May 11:33:27 ntpdate[462852]: step time server <IPADDR>offset 50440.569358
# date
Thu May 13 11:33:53 PDT 2010

What occurs to me is the way smitty chtz changed the variable in /etc/environment:
Code:
TZ=PST8PDT-7,M3.2.0/2:00:00,M11.1.0/2:00:00

I don't see that "-7," or similar for other timezones, in any documentation, anywhere. So, I've changed the var to
Code:
TZ=PST8PDT,M3.2.0/2:00:00,M11.1.0/2:00:00

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...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command xntpd

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)
Discussion started by: AlvaroD
1 Replies

2. UNIX for Dummies Questions & Answers

xntpd on NCR unix

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)
Discussion started by: bert.n
0 Replies

3. AIX

xntpd startup...Is it safe?

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)
Discussion started by: DenD
0 Replies

4. Solaris

xntpd[28781]: too many recvbufs allocated

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)
Discussion started by: BrewDudeBob
0 Replies

5. AIX

xntpd process inoperative

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)
Discussion started by: ram1729
1 Replies

6. AIX

won't mount /usr...won't boot fully

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)
Discussion started by: bbird
11 Replies

7. AIX

Difference between timed and xntpd ?

Hi, Looks like these perform similar function. What is the difference ? thanks Vilius (1 Reply)
Discussion started by: vilius
1 Replies

8. Solaris

xntpd with slewing option

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)
Discussion started by: Mack1982
3 Replies

9. UNIX for Dummies Questions & Answers

xntpd with two servers

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)
Discussion started by: iga3725
4 Replies

10. UNIX for Beginners Questions & Answers

Bash script won't run because hardware won't produce display

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)
Discussion started by: yelirt5
3 Replies
All times are GMT -4. The time now is 01:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy