NTP Server issue

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NTP Server issue
# 8  
Old 09-22-2013
I mean the NTP server 192.168.238.140 is misconfigured. Check its ntp.conf!
# 9  
Old 09-22-2013
Quote:
Originally Posted by MadeInGermany
I mean the NTP server 192.168.238.140 is misconfigured. Check its ntp.conf!

What should I change in the ntp.conf of the NTP server to make it work?!

Again, this is my ntp.conf file's contain:

Code:
restrict 192.168.238.0 mask 255.255.255.0 nomodify notrap
server 127.127.0.1

# 10  
Old 09-22-2013
That looks okay.
Add an unrestricted access from localhost
Code:
restrict 127.0.0.1

restart ntpd, and after a minute check with
Code:
ntpq -np

# 11  
Old 09-22-2013
Now I got this when I implemented ntpq -np:
Code:
No association ID's returned

And I added already
Code:
restrict 127.0.0.1

When I try from other linux client #ntpdate 192.168.238.140 its return with
Code:
20 Sep 11:59:07 ntpdate[5015]: no server suitable for synchronization found

!!

---------- Post updated at 05:51 AM ---------- Previous update was at 05:28 AM ----------

And when I change the:
restrict 127.127.0.1

to

restrict 127.0.0.1

It gives me the following when I execute ntpq -np:

Code:
[root@host1 ~]# ntpq -np
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 127.0.0.1       .INIT.          16 l    -   64    0    0.000    0.000   0.000


I'm sort of lost now!
# 12  
Old 09-22-2013
Any ntp messages in /var/log/messages?
Is this a virtual system (instance on vmware, xen, virtual box)? Then the HW clock is problematic.
# 13  
Old 09-23-2013
Yes sir! The NTP server is running on VMware! and the other clients is on VMware too. Is that the reason behind this issue? and if its, what is the solution for such cases.
# 14  
Old 09-23-2013
Yes I think this is your problem.
Unfortunately I don't know if there is possibility to have a VMware guest act as an NTP server.
Google for: ntp server on vmware guest
The safest metod is to use another server with real hardware.
The VMware ESX server itself can act as an NTP server.
Google for: ntp server on vmware ESX
This User Gave Thanks to MadeInGermany For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

What is the best OS for NTP server?

Hello I need to create NTP server for all my devices, What is the best OS for NTP Server? "CentOS, Redhat, Ubuntu " I tried before Ubuntu but some of device not detect the server Need your recommendation Thank you (2 Replies)
Discussion started by: moudmm
2 Replies

2. UNIX for Advanced & Expert Users

NTP time issue with md5 authentication.

Hi All Appreciate your help. Here is the scenario: 1. Five months back we configured md5 authentication with network devices and NTP server and it worked fine. 2.Last week all of a sudden the network devices are out of sync. 3.We changed the md5 key and it started working. ... (0 Replies)
Discussion started by: iqtan
0 Replies

3. Red Hat

Ntp issue redhat 5.11

HI Admin, We are facing a weird issue with NTP. A physical server RHEL 5.11 is migrated as P2V. NTP was running & clocks are in sync on source server before migration. After the SVMotion, On the target Linux guest, the ntpd is not able to sync with any of the clocks except local. Forcefully... (1 Reply)
Discussion started by: snchaudhari2
1 Replies

4. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

5. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

6. UNIX for Dummies Questions & Answers

NTP configuration issue..

hello Guys, I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message; ntpq -p ntpq: read: Connection refused Here this is the ntp.conf file: cat /etc/ntp.conf # BEGIN NTP SERVERS server... (6 Replies)
Discussion started by: dyavuzy1
6 Replies

7. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

8. Red Hat

NTP server

Hi All.... I need to configure NTP server in my network, which is heterogeneous, containing Linux as well as windows systems. I'm planning to configure it on RHEL 5.0. What are the prerequisites for this and do I need to register this server? Can anyone give me as many information as... (1 Reply)
Discussion started by: Amol21
1 Replies

9. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

10. UNIX for Advanced & Expert Users

Ntp Server

Hi. i was wondering if anyone can show me or direct me on setting up a ntp server under redhat.. Is there any howtos so i can get familar to it "any good sites" (3 Replies)
Discussion started by: souldier
3 Replies
Login or Register to Ask a Question