- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /sbin/init.d/xntpd stop / -start
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
12-18-2015 02:27 AM
12-18-2015 02:27 AM
Hi All,
What are the implications (if any) of running the above whilst the server is up and running?
Kind Regards,
Mark P.
Solved! Go to Solution.
- Tags:
- NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 06:09 AM
12-18-2015 06:09 AM
Re: /sbin/init.d/xntpd stop / -start
Well, the obvious one is that the NTP process will be stopped and restarted. In the time that it takes that to happen your server will not be syncing its time with your NTP time sources.
The other item that comes into play is whether or not you have an NTPDATE_SERVER set in the /etc/rc.config.d/netdaemons file. If you do then your time will be set to the time value received from that server. If there is a large difference in time several seconds to minutes, then that could cause problems with applications (like databases).
If your server has been keeping time well and there are no issues, then it shouldn't be a big deal to stop / start NTP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2015 07:41 AM
12-18-2015 07:41 AM
Re: /sbin/init.d/xntpd stop / -start
The service will start and stop...
At this point of time it will not sync with NTP server..
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2015 02:44 PM - edited 12-20-2015 02:45 PM
12-20-2015 02:44 PM - edited 12-20-2015 02:45 PM
Solution>> The service will start and stop...
>> At this point of time it will not sync with NTP server..
Actually, that is not accurate. The xntpd start script will examine the file /etc/rc.config.d/netdaemons and if the line:
export NTPDATE_SERVER=rolex.usg.edu
has a working NTP server listed, the time will 'jump' to the current time. If it is blank (export NTPDATE_SERVER=), then time will not be jumped when the script is run. Then on reboot, the server will not set time to an NTP server. Instead, the server will be adjusted slowly by xntpd.
As mentioned, jumping the time can be detrimental to some databases. If NTP is currently working (use ntpq -p to verify), then the time should be very close in which case, running the start/stop script should not have any effect on the time.
Bill Hassell, sysadmin