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

    Dnsmasq exited on signal 11

    Scheduled Pinned Locked Moved DHCP and DNS
    10 Posts 4 Posters 2.7k 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.
    • C
      Cortexian
      last edited by

      Hey guys, I've been having an issue with my PfSense machine for the last month or so two. It seems like once a day (sometimes two or three times a day), at a random time of day, my DNS Forwarder service (dnsmasq) stops working. It shows an "X" icon (not running) on the main PfSense GUI. Restarting it from the GUI works fine for a time.

      I've tried hard resetting, and upgrading to the latest release version of PfSense as well (2.2.6-RELEASE (i386)). But it seems to keep failing.

      This is what I'm getting in my system log when it stops working:

      kernel: pid 43335 (dnsmasq), uid 65534: exited on signal 11

      Followed by a bunch of:

      dhcpleases: Could not deliver signal HUP to process because its pidfile (/var/run/dnsmasq.pid) does not exist, No such process.p

      Which makes sense since the dnsmasq service is dead at that point.

      Nothing odd in the Resolver logs…

      If there's anything else I can provide to help diagnose this issue, please let me know! I'm not really sure what signal 11 is referring to, so if someone could point me in that direction, that would help too!

      1 Reply Last reply Reply Quote 0
      • C
        carlostcorrea
        last edited by

        I am also having the same problem . After I updated to 2.2.6

        1 Reply Last reply Reply Quote 0
        • C
          carlostcorrea
          last edited by

          I did it here and so far is working . Later back here to confirm.

          @cmb:

          @Pimmetje:

          Edit2:
          Also found a related ticket: https://redmine.pfsense.org/issues/5341

          which was happening on 2.2.4, so not likely the same issue as this thread which only started on 2.2.5.

          Found one change re: a crash here. That maybe sound like something that would happen in your environment?

          I compiled dnsmasq from the latest git.
          http://files.atx.pfsense.org/cmb/dnsmasq-2.76test1-25-g14a4ae8

          To replace yours with that, first make a copy of the existing so you can revert back if needed.

          cp /usr/local/sbin/dnsmasq /root/dnsmasq
          

          Then fetch that file into place.

          fetch -o /usr/local/sbin/dnsmasq http://files.atx.pfsense.org/cmb/dnsmasq-2.76test1-25-g14a4ae8
          

          make sure it's executable.

          chmod +x /usr/local/sbin/dnsmasq
          

          Then go to Status>Services and restart dnsmasq.

          If you need to revert back, run:

          cp /root/dnsmasq /usr/local/sbin/
          

          and restart under Status>Services.

          1 Reply Last reply Reply Quote 0
          • C
            carlostcorrea
            last edited by

            It worked

            1 Reply Last reply Reply Quote 0
            • S
              Simon74
              last edited by

              version dnsmasq-2.76test1-25-g14a4ae8 not start on my pfsense 2.2.6

              1 Reply Last reply Reply Quote 0
              • C
                Cortexian
                last edited by

                @Simon74:

                version dnsmasq-2.76test1-25-g14a4ae8 not start on my pfsense 2.2.6

                Same here.

                1 Reply Last reply Reply Quote 0
                • C
                  Cortexian
                  last edited by

                  Bump.

                  Any other ideas since the above didn't work for a couple of us?

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    I only posted a 64 bit binary, those for whom it won't start are running 32 bit. There is a FreeBSD pkg available for dnsmasq-devel of a new enough version to fix this issue. Should be able to run:

                    pkg install dnsmasq-devel
                    

                    to fix.

                    1 Reply Last reply Reply Quote 0
                    • C
                      Cortexian
                      last edited by

                      Perfect! Got 2.76test5 installed using this. Thanks! Will report back if it keeps up and stable!

                      1 Reply Last reply Reply Quote 0
                      • C
                        Cortexian
                        last edited by

                        One week and no crashes at all! Seems like this was the solution!

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