12-21-2005
xntpd startup...Is it safe?
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 the ISA firewall so it can get to the outside time server.
Can I cause any damage bringing this up during the middle of the day when there are many users on the system if it doesn't run correctly?
After my research, I am assuming that I run "startsrc -s xntpd" to start and then run "stopsrc -s xntpd" to stop the daemon if there is a problem.
If all runs well, then I uncomment the xntpd startup in /etc/rc.tcpip to run the daemon upon system boot. Correct?
Thanks in advance for any input or advice anyone can give me.
Last edited by DenD; 12-21-2005 at 05:56 PM..
Reason: typo
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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... (1 Reply)
Discussion started by: AlvaroD
1 Replies
2. AIX
Hi,
Looks like these perform similar function.
What is the difference ?
thanks
Vilius (1 Reply)
Discussion started by: vilius
1 Replies
3. Solaris
Hi,
I am Solaris 9 developer and notice that the documentation does not provide a clear notion of the inherent concurrency in routines defined as "Async-Signal-Safe".
Routines defined as "MT-Safe" obviously have the best level of concurrency, compared to normal "Safe" interfaces.
I have... (1 Reply)
Discussion started by: tristan12
1 Replies
4. 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
5. 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
6. 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
7. 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
8. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
LEARN ABOUT OSF1
ntp.drift
ntp.drift(4) Kernel Interfaces Manual ntp.drift(4)
NAME
ntp.drift - Network Time Protocol (NTP) drift file
DESCRIPTION
When the NTP daemon (xntpd) is first started, it computes the error in the intrinsic frequency of the clock on the computer it is running
on. This process usually takes about a day or two after the daemon is started to compute a good estimate of this (and it needs a good
estimate to synchronize closely to its server). Once the initial value is computed, it will change only by relatively small amounts during
the course of continued operation.
The driftfile declaration should always be included in the ntp.conf file. This provides xntpd with complete path name to a file in which
it can store the current value of the frequency error. That way, if the daemon is stopped and restarted, it can reinitialize itself to the
previous estimate without spending time recomputing the frequency estimate.
The ntp.drift file contains one line with the following format: freq_offset flag Specifies the nominal frequency offset. DO NOT modify
this field. Specifies the method used to improve system clock accuracy. Specifies that xntpd runs a Phase-Locked Loop (PLL) algorithm to
keep synchronized with other hosts. This is the default. Specifies the use of the PLL algorithm in the kernel. This requires the
NTP_TIME kernel option. After the option is configured in the kernel, edit the ntp.drift file and change the flag value to 1.
See System Administration for information on the NTP_TIME kernel option.
FILES
Conventional name of the drift file
RELATED INFORMATION
Commands: ntpdate(8), ntpq(8), xntpd(8), xntpdc(8)
Files: ntp.conf(4)
Network Administration, System Administration delim off
ntp.drift(4)