Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    NTPD config error

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • w0wW
      w0w
      last edited by

      Found this in syslog today right after update to 23 august build:
      <99>Aug 24 20:07:30 ntpd[43900]: line 10 column 8 syntax error, unexpected T_Statistics in 24-Aug 20:7:30.28 from 1xx.xx.7x.1
      <99>Aug 24 20:07:30 ntpd[43900]: syntax error in /var/etc/ntpd.conf line 10, column 8 in 24-Aug 20:7:30.28 from 1xx.xx.7x.1
      <99>Aug 24 20:07:30 ntpd[43900]: syntax error in /var/etc/ntpd.conf line 10, column 8 in 24-Aug 20:7:30.28 from 1xx.xx.7x.1

      /var/etc/ntpd.conf

      # 
      # pfSense ntp configuration file 
      # 
      
      # Upstream Servers
      server 0.pfsense.pool.ntp.org iburst maxpoll 9
      enable monitor
      enable statistics
      enable clockstats
      statsdir /var/log/ntp
      logconfig =syncall +clockall
      driftfile /var/db/ntpd.drift
      interface ignore all
      interface listen em1
      
      

      I don't know what is wrong so I've decided to ask - is it normal or something was broken?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Hmm it's possible those are only valid when a GPS is active, I'll need to run some tests. The box I've been testing those on has a GPS enabled in NTP and all of those lines work there.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          ah, found it. Apparently they changed the keyword at some point it should be "enable stats" and then "statistics clockstats". Fixed in the src, will commit shortly.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • w0wW
            w0w
            last edited by

            Fixed! Thanks jimp!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.