- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP server/client issue
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
06-22-2004 08:13 AM
06-22-2004 08:13 AM
NTP server/client issue
I have set-up RP5470 HP server with HP-UX 11i as a ntp client to a Win 2K ntp server.
On HP client this is what I have:
Contents of /etc/rc.config.d/netdaemons
export NTPDATE_SERVER=ntpserver1
export XNTPD=1
export XNTPD_ARGS="-c /etc/ntp.conf"
Contents of /etc/ntp.conf
server ntpserver1
server ntpserver2
driftfile /etc/ntp.drift
Please note that ntpserver1 & ntpserver2 are Win 2K servers, which I have defined with their IPs in /etc/hosts file
/sbin/init.d/xntpd start
xntpd daemon running
Everything looks fine on HP client except ntpq command
ntpq -p ntpserver1 gives the following message
ntpserver1: timed out, nothing received
***Request timed out
My question is
1- How would I know if I have all correct NTP configuration (server{win 2K} & client{HP})
2- How would I ensure that Win 2K NTP server is responding to the HP NTP client request
3- Is there any command/procedure to check if NTP client, server working correctly
Thanks
TMK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 08:37 AM
06-22-2004 08:37 AM
Re: NTP server/client issue
Could you check in your /etc/services file if ntp/udp port 123 is enabled and commented out ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 08:45 AM
06-22-2004 08:45 AM
Re: NTP server/client issue
ntp 123/udp # Network Time Protocol
Thanks
tmk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 09:01 AM
06-22-2004 09:01 AM
Re: NTP server/client issue
Check Nill Hassel's comments in these FAQ's.
http://www.interex.org/pubcontent/enterprise/may01/13qaux.html
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 02:17 PM
06-22-2004 02:17 PM
Re: NTP server/client issue
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2004 05:47 PM
06-29-2004 05:47 PM
Re: NTP server/client issue
What is your setting in w2k server?
I think in w2k server, you should use NTP as well. At present, my HP-UX is NTP server and w2k is NTP client. In w2k site, I am using timeserv. All is working fine.
My W2k setting is as below:
From the Microsoft® Windows NT® Server Resource Kit Supplement 4, we can obtain the necessary files for installing the Time Service that communicates with NTP.
The files that we'll want to copy from the Supplement 4 Resource Kit CD are found in the \i386\compmgmt directory.
Steps
1. Copy the Timeserv.ini file into the WINNT directory and copy the Timeserv.exe and Timeserv.dll files into the \winnt\system32 directory.
2. Make the desired changes to the Timeserv.ini file. To activate the NTP portions of the Timeserv service, we can use either the MS-DOS® edit command or Notepad, open the Timeserv.ini file. Look for the [Timeserv] section of the INI file. Insert a semicolon in front of the Type=NISTACTS statement and remove the semicolon from the Type=NTP statement. It is used to activate the NTP instead of the default type which is NISTACTS.
3. Insert the NTP server IP address (Try to put in your w2k IP address) in the "NTPServer=" line in the Timeserv.ini file. Notes that only one NTP server is allowed, otherwise we will receive an error when starting the time service.
4. Insert a semicolon in front of the line that begins with timesource=no. Rmove the semicolon of the next line which is timesouce=yes.
5. Insert a semicolon in front of the line that begins with Log=no. Rmove the semicolon of the next line which is Log=yes. timesouce=yes.is Log=no. This command allows entries to be made to the application log in Event Viewer.
6. Next, open MS-DOS and change directories to \WINNT\SYSTEM32. Type timeserv â automatic and press [Enter].
7. Double-click Services in the Control Panel and Time Service appears in the list of services. By default, Time Service will automatically start the next time you restart the PC. But, we can start the services immediately without restarting the pc.
8. Give the time service a couple of minutes, then check the application in the event viewer. We should see a message indicating that there was a time variance of more than one-half of a second.
Pls tell me what is the output.
thanks &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 01:04 AM
07-02-2004 01:04 AM
Re: NTP server/client issue
I decided to use HP machine as a NTP server. Your help is appreciated I will try this in future and will let you know. Thanks to all for the help.
TMK