gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gpsd and ntpsec error in ntp.conf


From: Massimiliano Fago
Subject: gpsd and ntpsec error in ntp.conf
Date: Mon, 21 Sep 2020 13:09:48 +0200

Dear all,

(gpsd: 3.21.1~dev (revision release-3.21-209-g3cbf9bf1a)
and 
ntpd ntpsec-1.1.9+ 2020-09-21T10:50:13Z (git rev 4f3fed2aa))

I recently noticed that I have this error when starting the ntpd service:

set 21 13:00:29 raspberrypi ntpd[1114]: INIT: Command line: /usr/local/sbin/ntpd -g
set 21 13:00:29 raspberrypi ntpd[1114]: 2020-09-21T13:00:29 ntpd[1114]: INIT: ntpd ntpsec-1.1.9+ 2020-09-21T10:50:13Z (g
set 21 13:00:29 raspberrypi ntpd[1114]: 2020-09-21T13:00:29 ntpd[1114]: INIT: Command line: /usr/local/sbin/ntpd -g
set 21 13:00:29 raspberrypi systemd[1]: Started Network Time Service.
set 21 13:00:29 raspberrypi ntpd[1115]: INIT: precision = 0.989 usec (-20)
set 21 13:00:29 raspberrypi ntpd[1115]: INIT: successfully locked into RAM
set 21 13:00:29 raspberrypi ntpd[1115]: CONFIG: readconfig: parsing file: /etc/ntp.conf
set 21 13:00:29 raspberrypi ntpd[1115]: CONFIG: line 16 column 12 syntax error, unexpected T_String, expecting T_EOC
set 21 13:00:29 raspberrypi ntpd[1115]: CONFIG: syntax error in /etc/ntp.conf line 16, column 12
set 21 13:00:29 raspberrypi ntpd[1115]: LOG: switching logging to file /var/log/ntpd.log

my ntp.conf is this:

#pool us.pool.ntp.org iburst

#driftfile /var/lib/ntp/ntp.drift
#logfile /var/log/ntp.log

restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1 mask 255.255.255.0
restrict -6 ::1
restrict 192.168.14.0 mask 255.255.255.0

# GPS PPS reference (NTP1)
#server 127.127.28.2 minpoll 4 maxpoll 4 prefer true
#fudge 127.127.28.2 refid PPS
##fudge 127.127.28.1 flag1 1
refclock shm unit 1 minpoll4 maxpoll 4 refid PPS flag4 1 prefer

# GPS Serial data reference (NTP0)
#server 127.127.28.0 minpoll 4 maxpoll 4
#fudge 127.127.28.0 time1 0.9999 refid GPS
refclock shm unit 0 time1 -0.0900 refid GPS flag4 1 noselect

#MFA aggiunto il 30/09/2019
#server 127.127.43.0     # standard Linux RTC

#Log
driftfile /var/lib/ntp/ntp.drift

statsdir /var/log/ntpstats/

Thanks,
Massimiliano

reply via email to

[Prev in Thread] Current Thread [Next in Thread]