NTP server can not be reached


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users NTP server can not be reached
# 1  
Old 01-13-2012
NTP server can not be reached

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;

Code:
Code:
  ntpq -p ntpq: read: Connection refused
 Here this is the ntp.conf file:

Code:
Code:
  cat /etc/ntp.conf # BEGIN NTP SERVERS server 172.30.0.8 server 172.30.0.1 # END NTP SERVERS  # BEGIN NTP PEERS # END NTP PEERS  # BEGIN NTP OPTIONS restrict default nopeer nomodify notrap noquery restrict 127.0.0.1 driftfile /var/opt/NTP/ntp.drift statsdir /var/opt/NTP/ntpstats filegen peerstats file peerstatistics_log type week enable # END NTP OPTIONS
 When i run 'ntpdate -d 172.30.0.8'

Code:
Code:
  tpdate -d 172.30.0.8 12 Jan 18:32:03 ntpdate[19940]: ntpdate 3-5.93e+sun 03/06/05 23:16:45 (1.4) |transmit(172.30.0.8) receive(172.30.0.8) transmit(172.30.0.8) receive(172.30.0.8) transmit(172.30.0.8) receive(172.30.0.8) transmit(172.30.0.8) receive(172.30.0.8) transmit(172.30.0.8) server 172.30.0.8, port 123 stratum 2, precision -18, leap 00, trust 000 refid [192.168.97.18], delay 0.02724, dispersion 0.00003 transmitted 4, in filter 4 reference time:    d2b9a4af.d125395e  Thu, Jan 12 2012 18:27:59.816 originate timestamp: d2b9a5ad.374706ba  Thu, Jan 12 2012 18:32:13.215 transmit timestamp:  d2b9a5a4.1615f000  Thu, Jan 12 2012 18:32:04.086 filter delay:  0.02765  0.02728  0.02728  0.02724                     0.00000  0.00000  0.00000  0.00000  filter offset: 9.128965 9.128829 9.128809 9.128837                    0.000000 0.000000 0.000000 0.000000 delay 0.02724, dispersion 0.00003 offset 9.128837  12 Jan 18:32:04 ntpdate[19940]: step time server 172.30.0.8 offset 9.128837 sec

And i see too files for ntp.conf in /etc/inet , these are ntp.conf and ntp4.conf

Do you have any idea on the cause of the problem why ntpq is not running?

Last edited by jim mcnamara; 01-13-2012 at 08:20 AM.. Reason: please use code tags [code] [/code]
# 2  
Old 01-13-2012
No bumping or double posting allowed here, read the rules again
Post closed, continue here:
https://www.unix.com/unix-dummies-que...ion-issue.html
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. 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

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

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

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

6. IP Networking

server is not getting synchronized with ntp server

Hello Guys, i have a problem my local server is not getting synchronized with ntpd server. 1)ntpq -p is giving the following output remote refid st t when poll reach delay offset jitter ============================================================================== ... (9 Replies)
Discussion started by: mannam srinivas
9 Replies

7. BSD

NTP Server on FreeBSD

Hello, I'm trying to create a NTP server on a FreeBSD machine inside my local network, so all the clients of that network can actually query for that machine. Should be of no problem right? Here's the configuration of the /etc/ntp.conf on the FreeBSD machine: server br.pool.ntp.org burst ... (1 Reply)
Discussion started by: Zarnick
1 Replies

8. UNIX for Dummies Questions & Answers

ntp server setup

Not connected to the internet so I would like to set up 1 unix machine to be the ntp server and have it sync time to about 30 other machines that are all on an private 10net network?:confused: (3 Replies)
Discussion started by: parrisjr
3 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