05-13-2010
And, all appears good. So,
- Reference
IBM - Managing the Time Zone Variable for how to create a timezone string.
- Set the TZ variable in /etc/environment by hand.
- Reboot, or "export TZ=<timezone_string>"
- /usr/sbin/ntpdate -b <ntp server>
- "startsrc -s xntpd" or
- "startsrc -s xntpd -a "-x""
and give yourself a half-hour coffee break. Check and verify xntpd is still running, and you're good to go.
Last edited by dafydd2277; 05-13-2010 at 04:20 PM..
Reason: Add the double quote that I missed.
These 2 Users Gave Thanks to dafydd2277 For This Post:
10 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. 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
3. 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
4. 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
5. 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
6. AIX
Hello:
NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 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. 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
9. 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
10. UNIX for Beginners Questions & Answers
Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies
xntpd(8) System Manager's Manual xntpd(8)
NAME
xntpd - Network Time Protocol (NTP) daemon
SYNOPSIS
/usr/sbin/xntpd [-abdgmx] [-c conffile] [-e auth_delay] [-f driftfile] [-k keyfile] [-l logfile] [-p pidfile] [-r broaddelay] [-s statdir]
[-t trustedkey] [-v sysvar] [-V def_sysvar]
OPTIONS
Runs in authenticate mode. Listens for broadcast NTP and synchronizes to this if available. Specify debugging mode. This option may occur
multiple times, with each occurence indicating greater detail of display. Allows xntpd to correct any time difference, including differ-
ences greater than 1000 seconds. Listens for multicast messages and synchronizes to them if available (requires multicast kernel). Pre-
vents xntpd from setting the system time backward. In NTP version 3, the default allows xntpd to set the system time backward. Specifies
an alternate configuration file. Specifies the time (in seconds) it takes to compute the NTP encryption field on this computer. Specifies
the location of the drift file. Specifies the location of the file which contains the NTP authentication keys. See ntp.keys(4) for infor-
mation on the authentication key file format. Specifies a log file instead of logging to syslog. Specifies the name of the file to record
the daemon's process id. Specifies the default round trip delay (in seconds) to be used if the daemon cannot automatically compensate for
network delay when synchronizing to broadcasts. Specifies the directory in which to create statistics files. Adds a key number to the
trusted key list. Adds a system variable. Adds a system variable listed by default.
DESCRIPTION
The xntpd daemon maintains a system's time-of-day in agreement with Internet standard time servers. The xntpd daemon is a complete imple-
mentation of the Network Time Protocol (NTP) version 3 standard as defined by RFC 1305, but also retains compatibility with version 1 and
version 2 servers as defined by RFC 1059 and RFC 1119, respectively.
The xntpd daemon does all computations in fixed point arithmetic and requires no floating point code. The computations done in the proto-
col and clock adjustment code are carried out with high precision and with attention to the details that might introduce systematic bias
into the computations, to try to maintain an accuracy suitable for synchronizing with even the most precise external time source.
The xntpd daemon reads its configuration from a file at startup time. The default configuration file is /etc/ntp.conf. The xntpd daemon
can be monitored and configuration options altered while the daemon is running by using either the ntpq(8) or the xntpdc(8) program.
The xntpd daemon includes support for several commercially available external reference clocks. See ntp.conf(4) for information on the use
and configuration of reference clocks.
The Tru64 UNIX operating system also provides the NTP_TIME and MICRO_TIME kernel options to allow greater accuracy and time resolution. See
ntp_intro(7) and Network Administration for more information.
FILES
Default name of the configuration file Conventional name of the drift file Conventional name of the key file
SEE ALSO
Commands: ntp(1), ntpdate(8), ntpq(8), xntpdc(8)
Files: ntp.conf(4), ntp.keys(4)
Network Administration
HISTORY
Written by Dennis Ferguson at the University of Toronto. Text amended by David Mills at the University of Delaware.
xntpd(8)