When I try to sync time from a time server using ntpdate, I get this error "the NTP socket is in use, exiting". What does this mean, and how do I resolve this?

Updated -

This error indicates that you have the ntpd service currently running. To check the status of the ntp service, run the following command:

# /sbin/service ntpd status

The ntpdate command will only sync the time to the time server if the ntpd server is not running.

To sync the timeserver, please run the following commands:

# /sbin/service ntpd...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content