- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is editing /etc/ntp.conf file during a reboo...
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
Discussions
Discussions
Forums
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
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
тАО05-20-2009 02:55 PM
тАО05-20-2009 02:55 PM
What is editing /etc/ntp.conf file during a reboot
server gpsclock01
server gpsclock02
server gpsclock03
restrict default ignore
restrict 10.82.254.110
restrict 10.116.32.30
restrict 10.69.99.21
server 127.127.1.0 # Local Clock
restrict 127.0.0.0 mask 255.0.0.0
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
I tried to debug and come to the following conclusion.
The file is being deleted when " init 1" is executed. It is deleted before the first S???? File in /sbin/rc1.d
I diagnosed in maintenance mode and in single user mode to get above information.
I also created a debug file to list the content of /etc/ntp.conf file after every file is executed in /sbin/rc1.d
The question is what commands works on this file /etc/ntp.conf even before init 1. and is there a bug somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 03:51 PM
тАО05-20-2009 03:51 PM
Re: What is editing /etc/ntp.conf file during a reboot
Sorry, but we can't see colors here.
There should not be anything that would touch this file during boot.
You might check your /etc/inittab file and see if there is anything there that may be doing something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2009 10:58 PM
тАО05-20-2009 10:58 PM
Re: What is editing /etc/ntp.conf file during a reboot
--
Johnny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 10:13 AM
тАО05-21-2009 10:13 AM
Re: What is editing /etc/ntp.conf file during a reboot
The server does not have any disk issue and I even tried to rearrage the lines to check if the file is being truncated for any reason but the command goes into the file and delete only the restricted entries and drift entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 10:27 AM
тАО05-21-2009 10:27 AM
Re: What is editing /etc/ntp.conf file during a reboot
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 10:42 AM
тАО05-21-2009 10:42 AM
Re: What is editing /etc/ntp.conf file during a reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 11:07 AM
тАО05-21-2009 11:07 AM
Re: What is editing /etc/ntp.conf file during a reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 11:11 AM
тАО05-21-2009 11:11 AM
Re: What is editing /etc/ntp.conf file during a reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 11:25 AM
тАО05-21-2009 11:25 AM
Re: What is editing /etc/ntp.conf file during a reboot
Does anything interesting show up if you do:
# grep ntp.conf /sbin/init.d/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 11:47 AM
тАО05-21-2009 11:47 AM
Re: What is editing /etc/ntp.conf file during a reboot
But the /etc/rc.config.d/netdaemons file is where you set up the time (ntp) and tell your box to start the xntpd (time) daemon on reboot.
When your box reboots it runs /sbin/init.d/xntpd as part of the /sbin/rc2.d startup scripts. And it's this that goes out and reads the ntp.conf file to get things rolling.
I'd check and see if somebody didn't go into a script and do some "tweeking" on one of these system scripts. Hate to say that someone would do that, but I've come across happening. It's a pain to run down.
Hope this helps,
Rita