How to setup NTP on unix and linux servers?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to setup NTP on unix and linux servers?
# 1  
Old 11-17-2010
How to setup NTP on unix and linux servers?

I have a hostname/ip of our network time server. What are the steps to take to set each server up to synchronize the clocks?

Thanks
# 2  
Old 11-17-2010
# 3  
Old 11-17-2010
I just use the netdate tool, I can drop netdate my.time.server into local.start and/or /etc/cron.weekly/ and it goes. Just be sure to try runing netdate as a limited user from commandline first -- it won't set the time, but it will show you the time offset for you to doublecheck for sanity.

Wow, its manpage is from 1985...
# 4  
Old 11-18-2010
On a Linux system use your distributions software management tool to install ntpd (the official server). Edit the configuration file to use around 3 servers to synch with (see the link ctsgnb gave for a list of pools geographically near you), or just the one you have available locally. When you start the NTP server it will automatically synch with the servers you've specified, as well as provide that time to the local network for other NTP clients/servers.
# 5  
Old 11-18-2010
Preferrably use 3 or more time servers. If you do not have 3 servers just use 1. It is better not to use 2 servers..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

NTP high offset | no servers can be used, exiting

sudo /usr/sbin/ntpdate -q nxdbsr01.paramount.com server 192.168.148.165, stratum 2, offset 45.247135, delay 0.09427 29 Jul 17:49:48 ntpdate: step time server 192.168.148.165 offset 45.247135 sec sudo /usr/sbin/ntpdate -d nxdbsr01.paramount.com 29 Jul 17:49:54 ntpdate: ntpdate... (6 Replies)
Discussion started by: stunn3r
6 Replies

2. Solaris

Client does not sync date with ntp servers

We had a network problem a couple of days before that caused 1 interface to down and up. But today I have noticed that our date is wrong, our system have 4 servers and the other 3 are OK. I used <date> command, the result is: Fri Jan 2 17:57:55 ICT 1970 I have tried set date to be the same as... (3 Replies)
Discussion started by: salvation3103
3 Replies

3. AIX

Configure one host against two ntp servers for redundancy

Dears all is it possible to have two NTP servers in one host ? how i can configure them . please advice (5 Replies)
Discussion started by: thecobra151
5 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. UNIX for Dummies Questions & Answers

what's the Linux|Unix OSes works on Servers

Hi everybody , I'm new here in the forum and new Dummy in L|U systems (Hope finding welcomes...:)). I just want to ask : What is the OS's that works on servers and the OS's that work as client OS?? I just know that Solaris Work on sarvers :D.. and i'm glad to be memmber in this... (1 Reply)
Discussion started by: derbi
1 Replies

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

7. UNIX for Advanced & Expert Users

connecting UNIX/Linux to NTP server

Hello i want to connect my solaris & Linux boxes to ntp server i used the command /usr/sbin/ntpdate -s -b -p 8 -u <NTP-IP> and added the NTP server as server in /etc/ntp.conf please help in completing the process and verifying it (1 Reply)
Discussion started by: learn82
1 Replies

8. What is on Your Mind?

Microsoft servers Vs. Unix/Linux

What you have to say about the following comparison: Compare (2 Replies)
Discussion started by: tayyabq8
2 Replies

9. UNIX for Dummies Questions & Answers

Linux/Unix/PHP/MySQL & servers?

Hello everyone! First I would like to say that I am very glad that I found this forum, and by some of the posts I have viewed, I see that I can learn a lot from you all! Secondly, I know next to nothing about Linux/Unix (gotta learn sometime right?) and need some assistance. I am a... (5 Replies)
Discussion started by: kolton
5 Replies
Login or Register to Ask a Question