- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xntpd "broke" and not able to start
Operating System - HP-UX
1755755
Members
3256
Online
108838
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-17-2011 06:09 PM
тАО05-17-2011 06:09 PM
Re: xntpd "broke" and not able to start
By the way, just to add, the binaries ntptrace, and ntpq were also broken similarly. Though ntpdate was fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2011 07:03 PM
тАО05-17-2011 07:03 PM
Re: xntpd "broke" and not able to start
> i did a "ll /usr/sbin/xntpd" and the size of the binary was 0. How and when it ever got to that, is hard to trace. Possibly when the clock was set back, the binary broke.
Binaries do not break. The program is just a simple file used to provide the code in memory. When it runs, any program problems will have no effect on the original file. Zero indicates that someone (as root) zeroed the file, perhaps with an inadvertent ">" on the command line.
The fact that other NTP executables have been damaged does warrant investigation. Start by using grep ntp on the command history for root (.sh_history). Setting the time back a few seconds or minutes or hours will not damage the binaries. I would look for other zero-length files in /usr/bin and /usr/sbin.
Bill Hassell, sysadmin
Binaries do not break. The program is just a simple file used to provide the code in memory. When it runs, any program problems will have no effect on the original file. Zero indicates that someone (as root) zeroed the file, perhaps with an inadvertent ">" on the command line.
The fact that other NTP executables have been damaged does warrant investigation. Start by using grep ntp on the command history for root (.sh_history). Setting the time back a few seconds or minutes or hours will not damage the binaries. I would look for other zero-length files in /usr/bin and /usr/sbin.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2011 08:58 PM
тАО05-17-2011 08:58 PM
Re: xntpd "broke" and not able to start
Hmm, unfortunately my sh_history do not keep things more than a few weeks. Perhaps it's time to install sudo. Well, once again thanks to all. Appreciate your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2011 05:08 PM
тАО05-18-2011 05:08 PM
Re: xntpd "broke" and not able to start
Add this line to /etc/profile so every user gets a useful shell history:
export HISTSIZE=5000
Bill Hassell, sysadmin
export HISTSIZE=5000
Bill Hassell, sysadmin
- « Previous
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP