LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   NTP isn't working (details) (https://www.linuxquestions.org/questions/slackware-arm-108/ntp-isnt-working-details-4175548315/)

Altiris 07-18-2015 10:36 AM

NTP isn't working (details)
 
I am on RPI2, 14.1, I can not get ntpd to work. I chmodded it, I added "/etc/rc.d/rc.ntpd start &" in my rc.local and my /etc/ntp.conf file looks like this

Code:

server 127.127.1.0
fudge 127.127.1.0

server pool.ntp.org iburst
server us.pool.ntp.org iburst

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

restrict default noquery nomodify
restrict 127.0.0.1

When I do /etc/rc.d/rc.ntpd status I get "ntpd is running". However if I change status with stop I get "Stopping NTP Daemon line 31:kill (785) - No such process"

I tell it to start again and run "ntpdate -d timeserver" and I get

Code:

18 July 11:34:23 ntpdate 4.2.6p5@1.2349-o Wed Oct 16 12:03:52 UTC 2013 (1)
Looking for host timeserver and service ntp
Error resolving timeserver: Name or service not known (-2)


drmozes 07-18-2015 03:58 PM

Quote:

Originally Posted by Altiris (Post 5393161)
Code:

18 July 11:34:23 ntp
Error resolving timeserver: Name or service not known (-2)


Do you have working DNS? That message implies not.


All times are GMT -5. The time now is 03:42 AM.