Does it work if you issue with ntp daemon off :
If it works command should return data indicated that time was synced.
You can run it multiple times if you want.
Can you check your NTP conf on the client (that box) ?
Does netstat or lsof show what is holding the port open ?
Perhaps your HPUX box is configured as NTP server with some other (copied) /etc/ntp.conf config file and directives in it to bind to non existing address ?
If your server is NTP client (wants to sync time from your NTP servers), all you should have is couple of lines in ntp.conf (with additional steps you did correctly - netdaemons etc) for things to work (with resolving working or hosts/resolv.conf file configured).
I've been tasked to implement ntp on my SCO Unix servers. I have over 600 servers spread across the US in different time zones. Each remote server has network connectivity to a main server here, through their local ISP. (That's how we currently deliver mail to them).
My question is, how can... (5 Replies)
All
What is the best way to keep the system clock synchronized? I have looked at ntp and netdate. Is one good over the other? Basically I want to know if what is the most secure way to keep the system clock insync. netdate will require me to open up some port 37... is this safe? ntp also... (1 Reply)
i have an HP UNIX box w/c acts as ntp server... I tried to change the time plus 8 minutes... the problem is that the other HP UNIX ntp client did not follow the time... when I tried to restart ntp client... using stop start it only sync to the server once... when I issue the command "ntpq -p", w/c... (2 Replies)
Hy,
I'm having problems with NTP synchronisation on one of the machines wich runs SCO 5.0.5Eb.
It should synchronize with one RedHat machine in local network, but it doesn't (all other machines are fine). It just falls behind after a while.
In /etc/ntp.conf i have only this entry:
server... (1 Reply)
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)
hello all,,
am trying to do a time synchronization between a ntp server and a client, but facing some problems in doing so:
i run the ntpdate in debug mode and this is what i got. please help me out..
# ntpd -d -u 172.22.1.207
ntpd 4.2.2p1@1.1570-o Sun Aug 28 19:21:03 UTC 2011 (1)... (1 Reply)
Good morning,
My first post and first visit, so hello. I have been asked to see if one of our Linux boxes can have it's time sync automatically because the person who built the system has told our staff it cannot be done. To me that raised some flags because although I am no Linux expert, I just... (12 Replies)
I got an ntp time problem on AIX server.
os version is AIX7.1
OS LEVEL 7.1.0.0
i got below output,when i run the below command
bash-3.2# ntpdate -dv XXXXXXXXXXXXXXXXXXXXXXXX
4 Dec 12:50:49 ntpdate: 3.4y
transmit(xxxxxxxxx)
receive(xxxxxxxxx)
transmit(xxxxxxxx)
receive(xxxxxxxxx)... (9 Replies)
Hello,
one of my clients has the following task for me:
To write a Perl script that checks, whether ntp is active on a particular AIX or Linux box.
Obviously the last synchronization is logged in the file ntp.log
So, my task would be find out, when the synchronization SHOULD have taken... (1 Reply)
Discussion started by: Bloehdian1
1 Replies
LEARN ABOUT DEBIAN
csync2
CSYNC2(1) General Commands Manual CSYNC2(1)NAME
csync2 - cluster synchronization tool, 2nd generation
SYNOPSIS
csync2 [-v..] [-C config-name] [-D database-dir] [-N hostname] [-p port]...
DESCRIPTION
This manual page documents briefly the csync2 command.
A verbose manual can be found on the csync2 homepage:
http://oss.linbit.com/csync2/paper.pdf
csync2 is a program for cluster synchronization.
OPTIONS
With file parameters:
-h [-r] file..
Add (recursive) hints for check to db
-c [-r] file..
Check files and maybe add to dirty db
-u [-d] [-r] file..
Updates files if listed in dirty db
-f file..
Force this file in sync (resolve conflict)
-m file..
Mark files in database as dirty
Simple mode:
-x [-d] [[-r] file..]
Run checks for all given files and update remote hosts.
Without file parameters:
-c Check all hints in db and eventually mark files as dirty
-u [-d]
Update (transfer dirty files to peers and mark as clear)
-H List all pending hints from status db
-L List all file-entries from status db
-M List all dirty files from status db
-S myname peername
List file-entries from status db for this synchronization pair.
-T Test if everything is in sync with all peers.
-T filename
Test if this file is in sync with all peers.
-T myname peername
Test if this synchronization pair is in sync.
-T myname peer file
Test only this file in this sync pair.
-TT As -T, but print the unified diffs.
Notice: The modes -H, -L, -M and -S return 2 if the requested db is empty. The mode -T returns 2 if both hosts are in sync.
-i Run in inetd server mode.
-ii Run in stand-alone server mode.
-iii Run in stand-alone server mode (one connect only).
-R Remove files from database which do not match config entries.
Modifiers:
-r Recursive operation over subdirectories
-d Dry-run on all remote update operations
-B Do not block everything into big SQL transactions. This slows down csync2 but allows multiple csync2 processes to access the data-
base at the same time. Use e.g. when slow lines are used or huge files are transferred.
-A Open database in asynchronous mode. This will cause data corruption if the operating system crashes or the computer loses power.
-I Init-run. Use with care and read the documentation first! You usually do not need this option unless you are initializing groups
with really large file lists.
-X Also add removals to dirty db when doing a -TI run.
-U Don't mark all other peers as dirty when doing a -TI run.
-G Group1,Group2,Group3,...
Only use this groups from config-file.
-P peer1,peer1,...
Only update this peers (still mark all as dirty).
-F Add new entries to dirty database with force flag set.
-t Print timestamps to debug output (e.g. for profiling).
-s filename
Print timestamps also to this file.
-W fd Write a list of directories in which relevant file can be found to the specified file descriptor (when doing a -c run). The direc-
tory names in this output are zero-terminated.
Creating key file:
csync2 -k filename
Warning: Csync2 will refuse to do anything when a /etc/csync2.lock file is found.
SEE ALSO sqlite(1).
AUTHOR
csync2 was written by Clifford Wolf <clifford@clifford.at>.
This manual page was written by Michael Prokop <mika@grml.org>, for the Debian project (but may be used by others). It is now further main-
tained by Clifford Wolf.
September 23, 2005 CSYNC2(1)