- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: xntpd "broke" and not able to 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
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-16-2011 12:52 AM
тАО05-16-2011 12:52 AM
I have a problem with xntpd on hpux11.11.
ps -ef | grep xntpd, no result
When i /sbin/init.d/xntpd start, it fails quietly.
E.g.
root#/sbin/init.d/xntpd.bak start
root#ps -ef | grep ntp
ntp not running....
This server has a cluster server B. I copied the binary /sbin/init.d/xntpd over and ran the binary again and got this
root#./xntpd start
EXIT CODE: 126
Using SAM to start returns an error as well.
i figure there's a need to reinstall xntpd. But itrc has ntp only for 11.23?
alternatively, i can copy the xntpd files from the other cluster B to this server. Can you tell me which are the files to copy over?
Or is there another solution?
Thanks in advance for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 01:29 AM
тАО05-16-2011 01:29 AM
Re: xntpd "broke" and not able to start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 01:34 AM
тАО05-16-2011 01:34 AM
Re: xntpd "broke" and not able to start
i did a search on syslog but no entries on ntp. problem is the exit code 126 doesn't return a good result from google too. And i don't know if ntp has any logs in the OS.
By the way, this started after i set the clock backwards.. The action appeared to have broken things.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 01:49 AM
тАО05-16-2011 01:49 AM
Re: xntpd "broke" and not able to start
How about /etc/rc.log?
>this started after I set the clock backwards.
Why? The purpose of ntp is to keep the clock on time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 01:57 AM
тАО05-16-2011 01:57 AM
Re: xntpd "broke" and not able to start
unfortunately, not too informative also..
Start time synchronization
Output from "/sbin/rc2.d/S660xntpd start":
----------------------------
EXIT CODE: 126
"/sbin/rc2.d/S660xntpd start" FAILED
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 02:02 AM
тАО05-16-2011 02:02 AM
Re: xntpd "broke" and not able to start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 02:03 AM
тАО05-16-2011 02:03 AM
Re: xntpd "broke" and not able to start
>EXIT CODE: 126
Take a look at /sbin/rc2.d/S660xntpd and see if you can figure out what was the last command that failed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 02:07 AM
тАО05-16-2011 02:07 AM
Re: xntpd "broke" and not able to start
Then you probably can't run ntp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 02:38 AM
тАО05-16-2011 02:38 AM
Re: xntpd "broke" and not able to start
I'm not sure how to check /sbin/init.d/xntpd
to find out the last command ...
And i don't think xntpd is failing due to the app. The app might fail due to date and time. Still hope to get it working ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2011 02:39 AM
тАО05-16-2011 02:39 AM
Re: xntpd "broke" and not able to start
I've searched error codes related to the shell and I found this:
Error Code = 126:
Invoked Command can not execute -> Permission problem or not is an executable command
Can you check permissions?
Regards