NTP Server issue

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NTP Server issue
# 1  
Old 09-21-2013
NTP Server issue

Hi team,

I was like try to create an NTP time server under my RHEL6 box, but once I try to sync other Windows clients (and some Linux) I alway get an error with syncing with my NTP server, here is my non-hashed ntp.conf file parameters:
Code:
driftfile /var/lib/ntp/drift
restrict 192.168.238.0 mask 255.255.255.0 nomodify notrap #My Network
server 192.168.238.140 #This server
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys

Its good to know that I turned off my firewall (iptables) and my SELinux policies as well and I can easily ping between the clients and the server.
# 2  
Old 09-21-2013
Exactly what error are you getting?
# 3  
Old 09-22-2013
Like this:

Code:
[root@host1 ~]# ntpdate 192.168.238.140
21 Sep 18:13:14 ntpdate[2095]: no server suitable for synchronization found

Again, I don't have any firewall on all sides.
# 4  
Old 09-22-2013
What do you get with
Code:
[root@host1 ~]# ntpq -np 192.168.238.140

?
# 5  
Old 09-22-2013
Code:
[root@host1 ~]# ntpq -np 192.168.238.140
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 192.168.238.140 .INIT.          16 u    -   64    0    0.000    0.000   0.000
[root@host1 ~]#

# 6  
Old 09-22-2013
That's a misconfigured NTP server.
The NTP server must either refer to a hardware clock or to another server that has a path to a hardware clock.
You can use the own system HW clock like
Code:
server 127.127.0.1

Consult your man pages
Code:
man ntp.conf

# 7  
Old 09-22-2013
But I already included the server clock for inquiery from the other clients, this code is part from my ntp.conf file

Code:
server 192.168.238.140 #This server

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