Sponsored Content
Full Discussion: NTP configuration issue..
Top Forums UNIX for Dummies Questions & Answers NTP configuration issue.. Post 302589894 by dyavuzy1 on Friday 13th of January 2012 03:29:00 AM
Old 01-13-2012
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;
Code:
ntpq -p
ntpq: read: Connection refused

Here this is the ntp.conf file:
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:
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?


Moderator's Comments:
Mod Comment Please use next time code tags for your code and data

Last edited by vbe; 01-13-2012 at 05:23 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ntp configuration

Hi all, I'm sure this question was asked before but I couldn't find what I was looking for in the 2 threads I found on here. Here's my question/problem: I have an isolated (no connection to outside world at all) Unix network. I want to have time sync between my other non-PC based system... (0 Replies)
Discussion started by: mariobernier
0 Replies

2. Solaris

Configuration issue do help

Hi All, Im trying to install/configure Solaris on HP Blades and has run into a problem concerning IP Filters. not able to install the IP Filters. Could any on tell me where do i get help on installation of IP Filters, Thanks - Ann (1 Reply)
Discussion started by: Haque123
1 Replies

3. Red Hat

NTP Configuration on RHEL 5.4

Hi, I'm trying to configure NTP client, however it failes to sync correctly. Even after I manually set the time, once it connects with the NTP server, it pushes the time ahead by 4 hours. We have set an AIX host as NTP server. It works fine for other AIX hosts, however fails on RHEL 5.4 ... (4 Replies)
Discussion started by: max_min
4 Replies

4. Solaris

ntp server configuration

hi Please give me the configuration steps for NTP server. How do i sync other servers with this NTP server thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies

5. Solaris

ntp client configuration error

hi all ntp client side configuration file is done but in # ntpq -p remote refid st t when poll reach delay offset disp ============================================================================== ntpserver .INIT. 16 u - 64 0 0.00 0.000... (5 Replies)
Discussion started by: nikhil kasar
5 Replies

6. Red Hat

NTP Configuration file

Hi, Could you please explain about "restrict" parameters in /etc/ntp.conf in ntp client and ntp Servers. Example: restrict 127.0.0.1 restrict -6 ::1 restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap Regards, Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies

7. Red Hat

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: driftfile /var/lib/ntp/drift restrict 192.168.238.0... (14 Replies)
Discussion started by: leo_ultra_leo
14 Replies

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

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

10. 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
All times are GMT -4. The time now is 09:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy