- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ntp error message but ntpdate works
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
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
тАО11-15-2007 07:13 PM
тАО11-15-2007 07:13 PM
I have a few redhat ES4 linux boxes and I have confiured the ntp. However, I encountered a funny error message. When I try to start the ntp service, it always tells me:
shutdown ntpd: OK
ntpd: synchronizing with time server [Failed]
starting ntpd: OK.
the time is not synchronized though it is only has 1 mins difference.
However, when I tried the ntpdate -b ntpserver1. It works and the time synchronized immediately.
very strange. Anyone knows how to solve this?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2007 08:56 PM
тАО11-15-2007 08:56 PM
Re: ntp error message but ntpdate works
Check the /etc/ntp.conf file & look at the default NTP server. If necessary change the server to the one that works.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2007 11:30 PM
тАО11-15-2007 11:30 PM
Re: ntp error message but ntpdate works
did you see /etc/ntp.conf file and are you sure that your ntp server is correct? if not you have to describe as well as it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2007 07:26 PM
тАО11-17-2007 07:26 PM
Re: ntp error message but ntpdate works
1) ntpd from /etc/ntp.conf
2) ntpdate from /etc/ntp/step-tickers
So I guess you have a problem in /etc/ntp.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2007 07:15 PM
тАО11-18-2007 07:15 PM
Re: ntp error message but ntpdate works
However, it always tells me the synchronizing failed. However, once I stop the ntpd daemon and run it manully with ntpdate -b server1, everying works fine.
really strange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2007 07:27 PM
тАО11-18-2007 07:27 PM
Re: ntp error message but ntpdate works
I have attached my ntp.conf in my first post. However, when I try to put the my ntp servers into /etc/ntp/step-tickers and restart the ntpd daemon. Everything works this time.
anyone could explain this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2007 09:14 PM
тАО11-18-2007 09:14 PM
SolutionAs Vitaly wrote above, RHEL4 uses /etc/ntp.conf for ntpd and /etc/ntp/step-tickers for one-time startup sync.
Startup script firstly tries to set time with ntpdate using /etc/ntp/step-tickers as time servers list. Then it starts ntp daemon which use /etc/ntp.conf. If time servers in /etc/ntp/step-tickers are wrong/unaccessible you will see 'synchronizing with time server [Failed]' message.
You can run 'ntpdate -dqvu `cat /etc/ntp/step-tickers`' manualy and see more diagnostics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2007 09:17 PM
тАО11-18-2007 09:17 PM
Re: ntp error message but ntpdate works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 09:19 PM
тАО11-19-2007 09:19 PM