LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-04-2010, 08:43 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062
NTP Log Error Beginning in Slackware 13.1


This is a new one to me.
Code:
cat /tmp/ntp.log
 3 Aug 17:07:23 ntpd[1615]: proto: precision = 0.619 usec
 3 Aug 17:07:23 ntpd[1615]: line 28 column 19 syntax error, unexpected T_EOC, expecting T_Ipv4_flag or T_Ipv6_flag or T_String
 3 Aug 17:07:23 ntpd[1615]: syntax error in /etc/ntp.conf line 28, column 19
 3 Aug 17:07:23 ntpd[1615]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
 3 Aug 17:07:23 ntpd[1615]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Line 28 is
Code:
multicastclient                 # listen on default 224.0.1.1
Never seen that error before, always just used the default /etc/ntp.conf file adding servers:
Code:
#server  pool.ntp.org
server  0.us.pool.ntp.org
server  1.us.pool.ntp.org
server  2.us.pool.ntp.org
Have I missed something all these years? Thing works just fine, syncs up, rolls pool servers, does all it's supposed to.
 
Old 08-04-2010, 11:36 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,681

Rep: Reputation: Disabled
I noticed that line 27 (after adding three lines as you did) shows:
Code:
driftfile /etc/ntp/drift
But /etc/ntp/drift doesn't exist on my system.

May be "touch /etc/ntp/drift" and see what happens ?
 
Old 08-05-2010, 07:27 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062Reputation: 1062
I've always "touched" /etc/ntp/drift on a new install -- NTPD is supposed to do that on its own, but... what the heck, save trouble.

What I've typically done (for, oh, about 20 years now) is
Code:
cat 0 > /etc/ntp/drift
and that seems to have dealt with a lot of nonsense on various servers of various vintage of various operating systems.

That multicastclient line has been sitting there in ntp.conf files since, uh, I dunno, a log time. Never seen the error before, just kind of wondering what's up with it.
 
Old 08-06-2010, 09:10 PM   #4
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 576

Rep: Reputation: 38
Just switched over to 13.1 today, and noticed exactly the same thing.

And no, it's got nothing to do with /etc/ntp/drift because I have that file, and I still get the error.

Cheers.
 
Old 08-07-2010, 04:02 AM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,735

Rep: Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075
You should be able to see /usr/doc/ntp-4.2.6p1/html/confopt.html on your machine.

Quote:
multicastclient address [...]
Enable reception of multicast server messages to the multicast group address(es) (type m) specified. Upon receiving a message for the first time, the multicast client measures the nominal server propagation delay using a brief client/server exchange with the server, then enters the broadcast client mode, in which it synchronizes to succeeding multicast messages. Note that, in order to avoid accidental or malicious disruption in this mode, both the server and client should operate using symmetric key or public key authentication as described in the Authentication Options page.
I assume that older versions of ntpd didn't complain if you were missing the address.
 
Old 08-07-2010, 05:12 AM   #6
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Rep: Reputation: 23
Quote:
Originally Posted by tronayne View Post
This is a new one to me.

Line 28 is
Code:
multicastclient                 # listen on default 224.0.1.1
As it was a syntax error, then there could wrong with the spelling, something missing from the line or some other error. Maybe the "multicast" directive no longer knows the default - so I changed the line to:
Code:
multicastclient     224.0.1.1     # listen on default 224.0.1.1
The error message has disappeared and ntp seems to be working normally. Don't know if I've upset anything else though :-(

Regards
Phil
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Error msivadass Linux - Server 4 04-05-2011 01:13 AM
ntp does not sync on Slackware 13.1 Squall90 Slackware 3 07-21-2010 08:18 AM
fatal error attempting to install /var/log/mount/slackware/a/kernel-modules-smp-2.6.2 v@ny@ Slackware - Installation 10 05-19-2010 02:40 AM
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 08:35 PM
slackware lockup after bios check (very beginning) fincher69 Slackware 10 02-23-2005 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:23 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