- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xntpd questions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:32 AM
02-04-2004 01:32 AM
xntpd questions
Another question:
At the moment the xntpd works fine, but why is on the server
/etc/ntp.conf:
server 127.127.1.1
What can be this 127.127.1.1? The localhost is 127.0.0.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:37 AM
02-04-2004 01:37 AM
Re: xntpd questions
As for a command to use on clients to sync, I beleive ntpdate will do the job. You might want to do a man on it to find out more specifics...I have never used it.
The server 127.127.1.1 just says that the server is using it's local clock to sync it's clients.
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:37 AM
02-04-2004 01:37 AM
Re: xntpd questions
Try "ntpdate" and/or "ntpq".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:39 AM
02-04-2004 01:39 AM
Re: xntpd questions
For the first message:
on the server:
cat /etc/ntp.conf
server 127.127.1.1
broadcast 10.0.1.255 version 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:40 AM
02-04-2004 01:40 AM
Re: xntpd questions
127.127.1.1 will resolve to the local clock.
To be served by a remote NTP server you just need to point the ntp.conf file to that server and bouce NTP.
The ntpdate command will initially sync your clock to that server IF you are within 999 seconds of the server. DO NOT run the command with processes active IF you are faster than the server. Most SW does not like time to go backeards.
You can use the ntpq command to check connectivity & your time compared to it without changing anything.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:41 AM
02-04-2004 01:41 AM
Re: xntpd questions
This address has nothing to do with a loopback IP address. 127.127.t.u addresses, by convention, refer to modem and radio clocks. Man xntpd for details and look under REFERENCE CLOCK DRIVERS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:42 AM
02-04-2004 01:42 AM
Re: xntpd questions
Most networks have an internal time source inside the firewall because the time port is blocked.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 01:50 AM
02-04-2004 01:50 AM
Re: xntpd questions
In response to your last post:
Or is there any command on server that sends a signal to syncronise the clients.
For the first message:
on the server:
cat /etc/ntp.conf
server 127.127.1.1
broadcast 10.0.1.255 version 3
The broadcast entry is telling ntp to broadcast the time out to the clients. That being the case, I beleive the ntp.conf on the clients has to have an entry something like the following:
broadcastclient yes
This tells the xntpd daemon on the client to sync to the broadcast time, depending on whether it is yes or no.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:19 AM
02-04-2004 02:19 AM
Re: xntpd questions
ntpdate -B server
but that doesn't
remsh client ntpdate -B server
sh: ntpdate: not found
that too
remsh client -l root ntpdate -B server
(clients rhosts is filled with server root)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 08:27 PM
02-04-2004 08:27 PM
Re: xntpd questions
On a client I have uncomment broadcastclient yes, but if I set the date to a false date I wait 10minutes and it is false date +10minutes, why is it not the correct time?
And how is posible that I have in my servers
ntp.conf is the server 127.127.1.1, it is the local server(but not the localhost:127.0.0.1), but how is it pingable? 127.127.1.1 it resolves(It is not the localhost)
How can I print routing table(In linux simply route)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 08:44 PM
02-04-2004 08:44 PM
Re: xntpd questions
As for the 127.127.1.1: xntpd uses special entries like 127.127.1.1 to specify a special clock. Yours is the internal, in my case I have and entry 127.127.17.1 to specify my DATUM GPS clock, connected to the serial port.
Your problem with remsh
One more thing to bear in mind: xntpd doesn't set the clock to the right time in a single step. It tries to adjust the speed of the clock so the time will not jump but slide slowly to the correct time. Unix and all software on it find this a better solution. Your 'ntpdate -B' commands do the same. So if you set the clock wrong and waited for 10 minutes, the clock is not correct, but the speed might be changed. More info can be found in /var/adm/syslog/syslog.log or whatever logfile is used on your client (/var/adm/messages is the default on most linux and Solaris environments, for instance).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 09:22 PM
02-04-2004 09:22 PM
Re: xntpd questions
It is posible to sync windows machines to the xntpd server(version 3)?
The windows machines are NT4 machines and 1 is Win 2000.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 09:46 PM
02-04-2004 09:46 PM
Re: xntpd questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2004 12:14 AM
02-05-2004 12:14 AM
Re: xntpd questions
I have nettime on windows, it works fine with the server, but only if I make in the configure:
server:server Protocol:SNTP Port:123
but if nmap the server the 123 is not listening, but the 37port is open.
Is there something that i must know.
(Is RFC868 NTP?, because for that is the default port 37, but in this case it doesn't work)