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

NTP errors

Scheduled Pinned Locked Moved General pfSense Questions
12 Posts 4 Posters 7.3k 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.
  • N
    netsysadmin
    last edited by May 30, 2006, 5:59 AM

    I'm having the following errors in the log:

    May 30 09:46:05 msntp[6264]: msntp options: a=2 p=0 v=1 e=0.100 E=5.000 P=2147483647.000
    May 30 09:46:05 msntp[6264]: d=18000 c=5 x=18000 op=1 l=/var/run/msntp.pid f=/var/db/msntp.state pool.ntp.org 194.117.9.136
    May 30 09:46:05 msntp[6264]: msntp: different parameters for restart
    May 30 09:46:25 msntp[6264]: msntp: unable to locate IP address/number
    May 30 09:46:25 msntp[6264]: msntp: Unknown error: 0

    I read a recent thread about NTP client errors, but I couldn't add to that thread.
    I'm still using pool.ntp.org. 194.117.9.136 is the IP address of pool.ntp.org. I added the IP address because I haven't specified any DNS server.

    Removing pool.ntp.org and keeping the IP address does not solve the problem.
    Any idea what I did wrong?

    1 Reply Last reply Reply Quote 0
    • B
      billm
      last edited by May 30, 2006, 1:17 PM

      @netsysadmin:

      I'm having the following errors in the log:

      May 30 09:46:05 msntp[6264]: msntp options: a=2 p=0 v=1 e=0.100 E=5.000 P=2147483647.000
      May 30 09:46:05 msntp[6264]: d=18000 c=5 x=18000 op=1 l=/var/run/msntp.pid f=/var/db/msntp.state pool.ntp.org 194.117.9.136
      May 30 09:46:05 msntp[6264]: msntp: different parameters for restart
      May 30 09:46:25 msntp[6264]: msntp: unable to locate IP address/number
      May 30 09:46:25 msntp[6264]: msntp: Unknown error: 0

      I read a recent thread about NTP client errors, but I couldn't add to that thread.
      I'm still using pool.ntp.org. 194.117.9.136 is the IP address of pool.ntp.org. I added the IP address because I haven't specified any DNS server.

      Removing pool.ntp.org and keeping the IP address does not solve the problem.
      Any idea what I did wrong?

      I think the problem with msntp is that it does a dns lookup on whatever it's told is the address of it's NTP server.  If you've got no DNS then it's going to fail it's resolver checks.  I'm not 100% convinced that's what's going on with msntp - I run it very successfully at work (not updating clock, but to give me better visibility into what ISC and open ntp are doing) - but we've got full DNS resolution everywhere.  Try configuring your box for DNS.

      –Bill

      pfSense core developer
      blog - http://www.ucsecurity.com/
      twitter - billmarquette

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by May 30, 2006, 4:31 PM

        Yeah this smells of DNS mis-configuration on the firewall.

        1 Reply Last reply Reply Quote 0
        • N
          netsysadmin
          last edited by May 30, 2006, 7:45 PM

          As I said, I didn't configure any DNS server address.
          But is pfSense really configured to resolve anything specified as the NTP server (even an IP address)?

          Now, I have a multi-wan configuration, with each ISP having its own DNS servers.
          Which link will pfSense use to resolve any FQDN? The default interface "WAN"?
          Or should I specify all 6 DNS servers or any of the 6?

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by May 30, 2006, 9:34 PM

            how did you expect the firewall to resolve the name without specifying a dns server  ;)
            Add static routes for the external dns servers to go out the right interface.

            1 Reply Last reply Reply Quote 0
            • N
              netsysadmin
              last edited by May 31, 2006, 9:50 AM

              How would I know that pfSense would try to resolve an IP address !!!? ;)
              Will try adding the static routes as you say.

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by May 31, 2006, 2:03 PM

                Every domainname you enter at any field of your pfsense requires to be resolved and that's what DNS are for  ;)

                1 Reply Last reply Reply Quote 0
                • B
                  billm
                  last edited by May 31, 2006, 10:08 PM

                  @netsysadmin:

                  How would I know that pfSense would try to resolve an IP address !!!? ;)
                  Will try adding the static routes as you say.

                  Technically it's msntp that tries to resolve it.  Not much we can do about that I'm afraid.  The code probably looks something like "ip = gethostbyname(hostnameoripsuppliedbyuser)"  The gethostbyname() call returns an IP when given an hostname or IP so it's a rather safe call…and it'd be unexpected to not have DNS on your box ;)

                  --Bill

                  pfSense core developer
                  blog - http://www.ucsecurity.com/
                  twitter - billmarquette

                  1 Reply Last reply Reply Quote 0
                  • N
                    netsysadmin
                    last edited by Jun 2, 2006, 5:12 AM

                    Yeah, I understand.
                    Anyway, I've specified the DNS servers and unchecked the "Allow DNS server list to be overridden by DHCP/PPP on WAN" option.
                    That option also caused some problem when left checked by default.
                    Seems to be OK now:

                    May 31 18:41:12 msntp[72982]: msntp: packets out of order on socket 0
                    May 31 18:41:12 msntp[72982]: msntp: after 4 hours 59 mins acc. 1 rej. 1 flush 0 max.off. -12.936 corr. -12.936
                    May 31 18:41:12 msntp[72982]: msntp: 2006 May 31 18:41:09.871 + 2.469 +/- 0.475 secs
                    May 31 18:41:10 msntp[72982]: msntp: after 4 hours 59 mins acc. 2 rej. 1 flush 0 max.off. -2.457 corr. -2.457
                    May 31 18:41:10 msntp[72982]: msntp: 2006 May 31 18:41:10.332 + -0.000 +/- 0.464 secs

                    One question:
                    Can I use the firewall time as a time source to correct time errors on local client PCs?
                    On a Windows client, I tried "net time \10.0.0.3 /set /yes" but got the following error message:
                    System error 53 occurred.
                    The network path was not found.

                    Does pfSense only implement an ntp client and not an ntp server?

                    1 Reply Last reply Reply Quote 0
                    • H
                      hoba
                      last edited by Jun 2, 2006, 12:32 PM

                      That'S true for 1.0. There already is a timeserver in HEAD.

                      1 Reply Last reply Reply Quote 0
                      • N
                        netsysadmin
                        last edited by Jun 2, 2006, 9:08 PM

                        OK, but what exactly is the "HEAD" version?

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by Jun 2, 2006, 9:12 PM

                          http://faq.pfsense.org/index.php?sid=61682&lang=en&action=artikel&cat=1&id=165&artlang=en

                          1 Reply Last reply Reply Quote 0
                          12 out of 12
                          • First post
                            12/12
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received