about NTP reconfiguration..


 
Thread Tools Search this Thread
Special Forums IP Networking about NTP reconfiguration..
# 1  
Old 08-21-2008
about NTP reconfiguration..

Most services can re-load/re-read their configuration file through the command "service xxxx reload", which is usually implemented by "kill -HUP service_pid" .

for NTPD service, "service ntpd restart" and "service ntpd reload" are identical in /etc/rc.d/init.d/ntpd. what's more, "kill -HUP ntpd_pid" command will cause ntpd service to restart.

Hence, if we want ntpd to re-read its configuration file after run-time configuration, do we have to restart ntpd? Is there any way to reconfigure ntpd without restarting it ?

Thanks!!
# 2  
Old 08-21-2008
ntpd does not handle the SIGHUP signal. This means when ntpd receives HUP, it is terminated. The ntpd script might wrap the ntpd call in a while loop, so that it restarts the daemon after HUP is received.

At any rate, there's no way to reload the ntpd daemon without restarting it.

See NTP home page for more info.
Login or Register to Ask a Question

Previous Thread | Next Thread

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

LDOM reconfiguration after SB replacement

Hi All, server was down with hardware issue and we couldn't took the LDOM configuration backup. Now system-board replaced and we need to get recreate OLD LDOM configuration. please advice with me the possible solution. :mad::( Thanks N (1 Reply)
Discussion started by: Naveen.6025
1 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

Force machine reconfiguration

Hi, This may be a dumb question, but here goes. While I have been using Linux for some time, I am wondering if a certain capability exists within Red Hat that I have found within SUSE. Cool stuff you might not know that AutoYast can do ? Part 1 Linux In Novell’s East Region points to... (0 Replies)
Discussion started by: mark54g
0 Replies

6. Solaris

Ntp

Hello I use Solaris 10 and I have NTP packages arlrady installed pkginfo | grep -i ntp system SUNWntpr NTP, (Root) system SUNWntpu NTP, (Usr) How to configure NTP? thanks (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

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

8. IP Networking

Ntp

How can I install ntp on AIX (4.3-5.1) ? thnx (1 Reply)
Discussion started by: Gismo
1 Replies

9. UNIX for Advanced & Expert Users

NTP and 11.i .....

Hi there! Does anybody know if HP-UX 11.i supports NTP? If yes, what version on NTP should be used? Thanx (1 Reply)
Discussion started by: penguin-friend
1 Replies
Login or Register to Ask a Question