-   Linux - Software (
-   -   ntp not working (

dannyevers83 08-19-2017 04:22 AM

ntp not working

I have tried to set up ntp with the help of this site:[]=ntp

This is my /etc/ntp.conf file:


driftfile /etc/ntp/drift
Logfile /var/log/ntp.log


Fudge stratum 10

Restrict default nomodify nopeer notrap
Restrict mask

/var/log/ntp.log is empty
/etc/ntp/drift contains: 0.000

# /etc/rc.d/rc.ntp status
gives: ntp is running

# ping
confirm a working internet connection

#ntpq -p
gives a time out

How do I fix this?

michaelk 08-19-2017 07:33 AM

The obvious error is restrict should be

Don't know if what you posted in an actual copy/paste or if ntp conf file is case insensitive but try changing Server to server, Restrict to restrict etc.

Does ntpdate command complete successfully?

dannyevers83 08-20-2017 11:17 AM

I have change in
The capital letters are a copy/paste error
Now is the service running

Thank you for the help!

All times are GMT -5. The time now is 10:37 AM.