Error in parsing ntp.conf
Sanjeev Gupta
ghane0 at gmail.com
Tue Feb 12 10:42:27 UTC 2019
Hi,
I just noticed this, no idea when this started.
Feb 12 18:29:50 ntpmon ntpd[2152]: INIT: ntpd ntpsec-1.1.3+
2019-02-12T10:25:36Z (git rev b4f55578e): Starting
Feb 12 18:29:50 ntpmon ntpd[2152]: INIT: Command line: ntpd -c /etc/ntp.conf
Feb 12 18:29:50 ntpmon ntpd[2153]: INIT: precision = 0.363 usec (-21)
Feb 12 18:29:50 ntpmon ntpd[2153]: INIT: successfully locked into RAM
Feb 12 18:29:50 ntpmon ntpd[2153]: CONFIG: readconfig: parsing file:
/etc/ntp.conf
Feb 12 18:29:50 ntpmon ntpd[2153]: CONFIG: line 11 column 6 syntax error,
unexpected T_String
Feb 12 18:29:50 ntpmon ntpd[2153]: CONFIG: syntax error in /etc/ntp.conf
line 11, column 6
My ntp.conf starts with: (and this is my first use of "pr" since 1988!)
2018-06-28 20:11 /etc/ntp.conf Page 1
1 # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
2 logfile /var/www/html/ntp/ntpd.log
3 logconfig =syncall +clockall +peerall +sysall
4
5 statsdir /var/www/html/ntp/
6 filegen loopstats type day link
7 filegen peerstats type day link
8 filegen protostats type day link
9 filegen rawstats type day link
10 filegen sysstats type day link
11 filegen cryptostats type day link
12
13
14 driftfile /var/lib/ntp/ntp.drift
15
16 # Enable this if you want statistics to be logged.
17
18 statistics loopstats peerstats clockstats
19
20 refclock shm unit 1 prefer refid PPS flag4 1 prefer
21 refclock shm unit 0 refid GPS time1 0.450 flag4 1
Question: What is line 11? After stripping away blank lines and comments?
In either case, I see nothing funny on a column 6
--
Sanjeev Gupta
+65 98551208 http://www.linkedin.com/in/ghane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190212/0166a615/attachment.html>
More information about the devel
mailing list