8 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. AIX
Hi,
Looks like these perform similar function.
What is the difference ?
thanks
Vilius (1 Reply)
Discussion started by: vilius
1 Replies
8. 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
NTPD(8) System Manager's Manual NTPD(8)
NAME
ntpd - "Network Time Protocol daemon"
SYNOPSIS
ntpd [-dnSsv] [-f file]
DESCRIPTION
The ntpd daemon synchronizes the local clock to one or more remote NTP servers or local timedelta sensors. ntpd can also act as an NTP
server itself, redistributing the local time. It implements the Simple Network Time Protocol version 4, as described in RFC 2030, and the
Network Time Protocol version 3, as described in RFC 1305.
ntpd uses the adjtime(2) system call to correct the local system time without causing time jumps. Adjustments larger than 128ms are logged
using syslog(3) with LOG_INFO priority. The threshold value is chosen to avoid having local clock drift thrash the log files. Should ntpd
be started with the -d option, all calls to adjtime(2) will be logged.
When ntpd starts up, it reads settings from a configuration file, typically ntpd.conf(5).
The options are as follows:
-d Do not daemonize. If this option is specified, ntpd will run in the foreground and log to stderr.
-f file
Use file as the configuration file, instead of the default /etc/openntpd/ntpd.conf.
-n Configtest mode. Only check the configuration file for validity.
-S Do not set the time immediately at startup. This is the default.
-s Set the time immediately at startup if the local clock is off by more than 180 seconds. Allows for a large time correction, elimi-
nating the need to run rdate(8) before starting .
-v This option allows ntpd to send DEBUG priority messages to syslog.
When ntpd receives a SIGINFO signal, it will write its peer and sensor status to syslog.
FILES
/etc/openntpd/ntpd.conf
default ntpd configuration file
/var/lib/openntpd/ntpd.drift
drift file, written by ntpd periodically and used at startup to get the initial clock drift
SEE ALSO
date(1), adjfreq(2), adjtime(2), ntpd.conf(5), rdate(8), timed(8)
, Network Time Protocol (Version 3), March 1992.
, Simple Network Time Protocol (SNTP) Version 4, October 1996.
HISTORY
The ntpd program first appeared in OpenBSD 3.6 .
$Mdocdate: November 10 2007 $ NTPD(8)