LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2024, 06:34 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,584

Rep: Reputation: 179Reputation: 179
ntpd: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized


I'm having numerous problems after installing Slackware 15.0 from scratch. I've installed several such systems, but there's always something new! This one is about ntp. I've started ntp:
Code:
/usr/sbin/ntpd -g -u ntp:ntp
User:Group ntp:ntp exists. The program appears to be running:
Code:
# ps ax | grep ntpd
 1776 ?        Ssl    0:00 /usr/sbin/ntpd -g -u ntp:ntp
but ...
Code:
# ntpq -np
localhost: timed out, nothing received
***Request timed out
In /var/log/messages I get:
Code:
webserver ntpd[1776]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
My /etc/ntp.conf is:
Code:
server mail.hprs.local iburst prefer
server pool.ntp.org iburst
server  127.127.1.0     # local clock
fudge   127.127.1.0 stratum 10

driftfile /etc/ntp/drift

restrict default noquery nomodify

restrict 127.0.0.1
mail.hprs.local is reachable and is the time-sync host for all other computers on the LAN. The other hosts can do ntpq -np just fine.

What is my problem? Thanks
 
Old 04-28-2024, 07:37 PM   #2
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,584

Original Poster
Rep: Reputation: 179Reputation: 179
OK, it's working now. Maybe I just had to wait a few minutes -- but I don't think I've had to do that in the past.
 
Old 04-28-2024, 09:27 PM   #3
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 371

Rep: Reputation: 172Reputation: 172
both your ntpq connection request and your ntpd upstream server request were by name. and evidently started working after a delay. so I would at this point be trying to rule out a DNS issue.
 
  


Reply

Tags
ntpd, time_error



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntp clock unsynchronized H07 Linux - Newbie 4 12-26-2023 07:09 AM
Ntp kernel reports TIME_ERROR: 0x41: Clock Unsynchronized zhxa Linux - Software 13 08-17-2023 09:56 PM
ntpd kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized 3rensho Slackware 12 03-01-2020 05:23 AM
Audio/ video unsynchronized in dvd authoring elmosslave Linux - Newbie 0 03-19-2007 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration