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
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. What is on Your Mind?
What you have to say about the following comparison:
Compare (2 Replies)
Discussion started by: tayyabq8
2 Replies
3. UNIX for Advanced & Expert Users
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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. Linux
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
7. AIX
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
8. Solaris
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
9. UNIX for Dummies Questions & Answers
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
ADJTIME(2) System Calls Manual ADJTIME(2)
NAME
adjtime - correct the time to allow synchronization of the system clock
SYNOPSIS
#include <sys/time.h>
adjtime(delta, olddelta)
struct timeval *delta;
struct timeval *olddelta;
DESCRIPTION
Adjtime makes small adjustments to the system time, as returned by gettimeofday(2), advancing or retarding it by the time specified by the
timeval delta. If delta is negative, the clock is slowed down by incrementing it more slowly than normal until the correction is complete.
If delta is positive, a larger increment than normal is used. The skew used to perform the correction is generally a fraction of one per-
cent. Thus, the time is always a monotonically increasing function. A time correction from an earlier call to adjtime may not be finished
when adjtime is called again. If olddelta is non-zero, then the structure pointed to will contain, upon return, the number of microseconds
still to be corrected from the earlier call.
This call may be used by time servers that synchronize the clocks of computers in a local area network. Such time servers would slow down
the clocks of some machines and speed up the clocks of others to bring them to the average network time.
The call adjtime(2) is restricted to the super-user.
RETURN VALUE
A return value of 0 indicates that the call succeeded. A return value of -1 indicates that an error occurred, and in this case an error
code is stored in the global variable errno.
ERRORS
The following error codes may be set in errno:
[EFAULT] An argument points outside the process's allocated address space.
[EPERM] The process's effective user ID is not that of the super-user.
SEE ALSO
date(1), gettimeofday(2), timed(8), timedc(8),
TSP: The Time Synchronization Protocol for UNIX 4.3BSD, R. Gusella and S. Zatti
NOTES (PDP-11)
Adjtime(2) calls are executed immediately, not over a period of time, therefore, the olddelta return values for an adjtime(2) call will
always be zero.
4.3 Berkeley Distribution May 15, 1986 ADJTIME(2)