04-10-2008
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
10 More Discussions You Might Find Interesting
1. Gentoo
could you please tell me how to connect a linux or Unix server to Network Time Server???
Thanx (1 Reply)
Discussion started by: alkingg
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
My knowledge bucket of UNIX is almost empty. I have developed an application in EXCEL which can create XML files (Metadata) from Binaries.
These binaries are stored in UNIX server on regular intervals. Currently I am transferring all binaries(GBs of files) to WINDOWS using WINSCP and... (2 Replies)
Discussion started by: bobs
2 Replies
3. UNIX for Dummies Questions & Answers
I just installed the latest version of unbuntu server and want to connect from windows using a ssh client. This is my first linux server, so bare with me =)
For my server...
cat /etc/hostsgives me
127.0.0.1 localhost
127.0.1.1 ubuntuHomeI tried using ssh secure shell and putty in vista.... (11 Replies)
Discussion started by: Bandit390
11 Replies
4. Shell Programming and Scripting
Hi Gurus,
I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
Discussion started by: sexyTrojan
5 Replies
5. UNIX for Dummies Questions & Answers
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 (4 Replies)
Discussion started by: ChadKam
4 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. HP-UX
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
8. UNIX for Advanced & Expert Users
Hi All,
Where can I find all the NTP server names/ip addresses on Linux/Solaris systems. How can I grep these names/IP address from specific files from a specific OS (Linux/Solaris).
I know on linux /etc/ntp.conf and /etc/ntp/ntp.conf on solaris contains these details. Whether I am right about... (4 Replies)
Discussion started by: sanzee007
4 Replies
9. Linux
i want to configure machine1 as ntp server. this machine has oel 5.9 64 bit installed and this machine is not connected to internet neither there is any ntp server.
there is another machine2 and i want to configure that as ntp client.
plz do tell me that what lines do i add in /etc/ntp.conf... (0 Replies)
Discussion started by: rehantayyab82
0 Replies
10. Red Hat
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
LEARN ABOUT SUSE
ntptrace
ntptrace(1) General Commands Manual ntptrace(1)
NAME
ntptrace - trace a chain of NTP servers back to the primary source
SYNOPSIS
ntptrace [ -vdn ] [ -r retries ] [ -t timeout ] [ server ]
DESCRIPTION
ntptrace determines where a given Network Time Protocol (NTP) server gets its time from, and follows the chain of NTP servers back to
their master time source. If given no arguments, it starts with localhost . Here is an example of the output from ntptrace :
% ntptrace localhost: stratum 4, offset 0.0019529, synch distance 0.144135 server2ozo.com: stratum 2, offset 0.0124263, synch distance
0.115784 usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid On each line, the fields are (left to right): the host
name, the host stratum, the time offset between that host and the local host (as measured by ntptrace ; this is why it is not always zero
for " localhost "), the host synchronization distance, and (only for stratum-1 servers) the reference clock ID. All times are given in sec-
onds. Note that the stratum is the server hop count to the primary source, while the synchronization distance is the estimated error rela-
tive to the primary source. These terms are precisely defined in RFC-1305.
OPTIONS
-d Turns on some debugging output.
-n Turns off the printing of host names; instead, host IP addresses are given. This may be useful if a nameserver is down.
-r retries Sets the number of retransmission attempts for each host (default = 5).
-t timeout Sets the retransmission timeout (in seconds) (default = 2).
-v Prints verbose information about the NTP servers.
BUGS
This program makes no attempt to improve accuracy by doing multiple samples.
SEE ALSO
More documentation is available in the package ntp-doc.
AUTHOR
David L. Mills <mills@udel.edu>
ntp 4.1.1b-r5 ntptrace(1)