xntpd with two servers


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers xntpd with two servers
# 1  
Old 01-25-2011
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.
Code:
#/home/s03isga0 # ntpq -p 
     remote           refid      st t when poll reach   delay   offset    disp 
============================================================================== 
 NTPSERVER       192.168.124.241  3 u   46   64    0     1.31   -3.250 16000.0 
#NTPSERVER2      NTPSERVER        4 u    3   64  377     0.89   -1.661    0.41

Do I have anything wrong in ntp.conf?

The two sources are two windows AD servers.

Thanks
# 2  
Old 01-25-2011
It looks like the cuurent host cannot contact the ntp server on NTPSERVER. Can you ping NTPSERVER? Maybe NTPSERVER is only allowing certain hosts to connect. I'm not familiar with a windows ntp server so I don't know how to check that.
# 3  
Old 01-25-2011
Hi, Yes I have ping, and also ntoq -p shows me the * sign which means it's connected to the source. From time to time, xntpd disconnect don't know why. Do you see anything wrong in npt.conf?

Thanks.
# 4  
Old 01-25-2011
I see nothing wrong with the lines that you show from ntp.conf. ntpq is showing 0 for reachability. That is the problem. I don't know why it cannot reach NTPSERVER.
# 5  
Old 01-25-2011
So, why the other ntp server NTPSERVER2 shows reach 377 and it's not connected with the source? I can tell you I have ping with two servers and from time to time, I see xntpd connected successfully to NTPSERVER. I was reading windows has SNTP instead NTP, don't know if it can cause the problem.. still investigating.. I promise I'll answer the forum if I solve the issue.
Thanks for your time.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. AIX

xntpd won't stay up...

AIX 5.3-5300.09.06.1013 (AIX 5.3 TL9 SP6) # startsrc -s xntpd -a "-x" (with -x at the end of the xntpd line in /etc/rc.tcpip, too.) will run for 5-15 minutes, and then die. # errpt -a with a search on xntpd gives me this: ------------------------------------------------ LABEL: ... (7 Replies)
Discussion started by: dafydd2277
7 Replies

3. AIX

xntpd starts after reboot only when HACMP services are started ?

Hello, Running AIX 6.1, AIX machine is HACMP node. Recently I set up ntp service. Started xntpd by hand - everythig is OK. Configured xntpd to start after reboot and rebooted the machine. After reboot checked xntpd: # lssrc -a|grep ntp xntpd tcpip ... (5 Replies)
Discussion started by: vilius
5 Replies

4. Solaris

Solaris 10 (05/09) xNTPD Startup Failure - How to Fix

Dear All, I installed the Solaris 2.10 (05/09) download on a Sparc platform, and wanted to configure the network time protocol daemon (xNTPD) to work as an NTP client. Of course there are many web sites that trumpet the advise to simply copy the ntp.client file to the ntp.conf file, and then... (2 Replies)
Discussion started by: iic1tls
2 Replies

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

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

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

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

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

10. 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
Login or Register to Ask a Question