03-01-2001
Hi:
I,am trying syncronise clock, but i canīt do it
In the server client put:
/etc/ntp.conf -> server namehost
-> resolver /etc/xntpres
/etc/tcp -> uncoment lines when say Xntpd
/etc/ xntpd
In the server as server clock:
/etc/ntp.conf -> peers hostname
if check conection ntpq -p view
remote refid st t when poll reach delay offset disp
====== ====== == = ==== ==== ===== ===== ====== ====
hostname 0.0.0.0 16 u - 64 0 0 0 16000
I can,t change clock. Other cuestion is how put time zone if i syncronise with germany and i stay in spain (in spain UTC +1) and germany UTC +2.
Can i syncronise with windows server with a client unix?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm having these errors when using xntpd on ncr unix.
synchronisation lost
Feb 25 09:10:14 in.xntpd: Previous time adjustment didn't complete
Can anyone help me on this. Is it an issue with the time delay as the reference time servers are on different sites and the ping response is... (0 Replies)
Discussion started by: bert.n
0 Replies
2. AIX
Hi,
Have never run xntpd before. I have my ntp.conf file configured with server, trace file and drift file. I commented out the "broadcastclient" entry since I only want to get the time from a single source. Port 123 is in the /etc/services file for tcp and udp. Port 123 has been enabled in... (0 Replies)
Discussion started by: DenD
0 Replies
3. Solaris
Hi,
I have a server that is getting the following alarm a couple times a day:
Mar 25 10:56:54 hostname xntpd: too many recvbufs allocated (30)
Mar 25 10:56:54 hostname xntpd: too many recvbufs allocated (30)
I know this is some sort of NTP related issue but I need to gauge the severity of... (0 Replies)
Discussion started by: BrewDudeBob
0 Replies
4. AIX
Hi All,
After restarting the xntpd process for some reasons when i checked the status its showing inoprative eventhough xntpd process is running when i ps on it.
$ lssrc -s xntpd
Subsystem Group PID Status
xntpd tcpip ... (1 Reply)
Discussion started by: ram1729
1 Replies
5. AIX
Hi,
Looks like these perform similar function.
What is the difference ?
thanks
Vilius (1 Reply)
Discussion started by: vilius
1 Replies
6. Solaris
Dear All,
I installed the Solaris 2.10 (05/09) download on a Sparc platform, and wanted to configure the network time protocol daemon (xNTPD) to work as an NTP client.
Of course there are many web sites that trumpet the advise to simply copy the ntp.client file to the ntp.conf file, and then... (2 Replies)
Discussion started by: iic1tls
2 Replies
7. AIX
Hello,
Running AIX 6.1, AIX machine is HACMP node.
Recently I set up ntp service. Started xntpd by hand - everythig is OK. Configured xntpd to start after reboot and rebooted the machine. After reboot checked xntpd:
# lssrc -a|grep ntp
xntpd tcpip ... (5 Replies)
Discussion started by: vilius
5 Replies
8. AIX
AIX 5.3-5300.09.06.1013 (AIX 5.3 TL9 SP6)
# startsrc -s xntpd -a "-x"
(with -x at the end of the xntpd line in /etc/rc.tcpip, too.)
will run for 5-15 minutes, and then die.
# errpt -a
with a search on xntpd gives me this:
------------------------------------------------
LABEL: ... (7 Replies)
Discussion started by: dafydd2277
7 Replies
9. Solaris
Hi,
Does anyone know how to make sure that the slewing option in solaris 10 is on. From the man page I believe I had to add "slewalways yes" to the ntp.conf file and restart the service, but I don't know if its has gone into effect or not.
Thanks (3 Replies)
Discussion started by: Mack1982
3 Replies
10. UNIX for Dummies Questions & Answers
Hi, I want to setup xntpd with two sources ntp servers. I added to /etc/ntp.conf:
server IP1
server IP2
but, when the server lost the connection with the first, it doesn't connect the second.
#/home/s03isga0 # ntpq -p
remote refid st t when poll reach delay ... (4 Replies)
Discussion started by: iga3725
4 Replies
LEARN ABOUT SUSE
tnm::ntp
ntp(n) Tnm Tcl Extension ntp(n)
__________________________________________________________________________________________________________________________________________________
NAME
ntp - Retrieve NTP status information.
_________________________________________________________________
DESCRIPTION
The Network Time Protocol (NTP) (RFC 1119, RFC 1305) allows to synchronize computer clocks by exchanging NTP messages. The ntp command
allows to retrieve control variables from NTP peers.
NTP COMMAND
ntp [options]
Invoking the ntp command with options but without any command arguments allows to retrieve and change the default values. See the
description of supported options below. Default values are bound to a Tcl interpreter which allows to have multiple Tcl interpreter
with different defaults.
ntp [options] host arrayName
The ntp command sends a NTP version 3 mode 6 request to host and writes status information into the Tcl array arrayName. After suc-
cessful completion, the array will contain the following elements (RFC 1305):
peer.delay
This is a signed fixed-point number indicating the roundtrip delay of the peer clock relative to the local clock over the
network path between them, in seconds.
peer.dispersion
This is a signed fixed-point number indicating the maximum error of the peer clock relative to the local clock over the net-
work path between them, in seconds.
peer.offset
This is a signed, fixed-point number indicating the offset of the peer clock relative to the local clock, in seconds.
peer.precision
This is a signed integer indicating the precision of the various clocks, in seconds to the nearest power of two.
peer.reach
This is a shift register used to determine the reachability status of the peer, with bits entering from the least significant
(rightmost) end. A peer is considered reachable if at least one bit in this register is set to one.
peer.srcadr
This is the IP address of the peer.
peer.stratum
This is an integer indicating the stratum of the local clock.
peer.valid
This is an integer counter indicating the valid samples remaining in the filter register. It is used to determine the reacha-
bility state and when the poll interval should be increased or decreased.
sys.peer
This is a selector identifying the current synchronization source.
sys.precision
This is a signed integer indicating the precision of the various clocks, in seconds to the nearest power of two.
sys.refid
This is a 32-bit code identifying the particular reference clock.
sys.rootdelay
This is a signed fixed-point number indicating the total roundtrip delay to the primary reference source at the root of the
synchronization subnet, in seconds.
sys.rootdispersion
This is a signed fixed-point number indicating the maximum error relative to the primary reference source at the root of the
synchronization subnet, in seconds.
sys.stratum
This is an integer indicating the stratum of the local clock
sys.system
A textual description of the system type.
NTP OPTIONS
The following options control how NTP requests are send and how the ntp command deals with lost NTP packets.
-timeout time
The -timeout option defines the time the ntp command will wait for a response. The time is defined in seconds with a default of 2
seconds.
-retries number
The -retries option defines how many times a request is retransmitted during the timeout interval. The default number of retries is
2.
SEE ALSO
scotty(1), Tnm(n), Tcl(n)
AUTHORS
Erik Schoenfelder <schoenfr@gaertner.de>
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm ntp(n)