ntp client configuration error


 
Thread Tools Search this Thread
Operating Systems Solaris ntp client configuration error
# 1  
Old 10-09-2012
ntp client configuration error

hi all
ntp client side configuration file is done but in
Code:
 # ntpq -p
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
 ntpserver    .INIT.          16 u    -   64    0     0.00    0.000 15937.5
*LOCAL(0)        .LOCL.           5 l   63   64    3     0.00    0.000 3937.74

in given command output ntp is point to the local machine it is not sync with the ntpserver.

Last edited by DukeNuke2; 10-10-2012 at 06:02 AM..
# 2  
Old 10-09-2012
Is the local daemon running?
# 3  
Old 10-10-2012
hi DGPickett thanks for your replay
is local daemon is this one only i am right if not please tell me what it is and how to check it.
i am using svc:/network/ntp4:default this service.
Code:
# svcs -a|grep ntp
disabled       14:38:00 svc:/network/ntp:default
online         14:57:51 svc:/network/ntp4:default


Last edited by DukeNuke2; 10-10-2012 at 06:02 AM..
# 4  
Old 10-10-2012
A service answers inquiries, but I believe it usually takes a daemon to actually maintain the local clock. In a sense, what is called an NTP client is often an ntp server, which can be configured to not share the time of day (but why bother?) Being a service to return time of day can be just passive settings, but usually being ntp syncronized requires a daemon. I suppose you could make it run under cron, not all the time mostly sleeping.

Usually, you point all internal hosts at a couple firewalls that get time from the big bad internet. You have backup, and a local standard. If you canin ntp unnecessarily, the clocks at the end of longer chains have more variance, possibly objctionable.
# 5  
Old 10-11-2012
the ntp client is running. if not the ntpq output won't work. for me it looks like the ntp server can not be reached or has no ntp service running. try to ping the ntp server, if that works check the configuration of the server.
# 6  
Old 10-11-2012
traceroute has some nice options for specifying the protocol and port to test access to.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. Red Hat

Yum client configuration error

Dear concern, I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below: # cat server.repo name=rhel6 baseurl=ftp://192.168.225.3/pub/Packages/ enabled=1 gpgcheck=0 We got following error message while executing yum list command. # yum clean... (1 Reply)
Discussion started by: makauser
1 Replies

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

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

5. Solaris

NTP client offset

How to add offset to NTP client so that, for eg., clock is -20 seconds? (2 Replies)
Discussion started by: orange47
2 Replies

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

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

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

9. Windows & DOS: Issues & Discussions

ntp client windows xp

All, I have a Windows XP client which I need to get time synchronized from a Linux ntp server. What are the commands to perform the setup and configuration? Thanks, Mike (1 Reply)
Discussion started by: bubba112557
1 Replies

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