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

    Dhcpleases: Could not deliver signal HUP to process because its pidfile does not

    Scheduled Pinned Locked Moved General pfSense Questions
    28 Posts 10 Posters 20.4k 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
      clarknova
      last edited by

      2.0-BETA5 (amd64)
      built on Sat Feb 5 03:03:02 EST 2011

      I'm seeing a lot of this in my system log:

      
      Feb 12 09:29:45 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 09:29:45 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 09:12:54 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 08:29:45 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 08:12:56 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 08:12:56 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 07:29:45 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 07:12:59 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 06:29:45 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 06:29:45 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      Feb 12 06:13:01 	dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory.
      
      

      db

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

        That's a fairly old snapshot, have you tried on anything newer?

        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
        • C
          clarknova
          last edited by

          Just installed the first RC 8 hours ago and seeing the same thing.

          db

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

            Does /var/run/dhcpleases.pid exist? And is it the right process ID?

            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
            • C
              clarknova
              last edited by

              
              [2.0-RC1][root@pfsense]/root(2):ls -lah /var/run/dhcpleases.pid
              ---s--S---  1 root  wheel     6B Feb 14 09:10 /var/run/dhcpleases.pid
              
              [2.0-RC1][root@pfsense]/root(2): cat /var/run/dhcpleases.pid
              49971
              
              

              db

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

                What about:

                ps uxawww | grep `cat /var/run/dhcpleases.pid`
                

                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
                • C
                  clarknova
                  last edited by

                  
                  ps uxawww | grep `cat /var/run/dhcpleases.pid`
                  root    49971  0.0  0.0  5836  1328  ??  Is   12:14AM   0:00.03 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d [FQDN] -p /var/run/dnsmasq.pid -h /var/etc/hosts
                  
                  

                  db

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

                    And what about the dnsmasq.pid?

                    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
                    • C
                      clarknova
                      last edited by

                      Using unbound

                      db

                      1 Reply Last reply Reply Quote 0
                      • W
                        wagonza
                        last edited by

                        So you have found a side affect of disabling dnsmasq for Unbound. Will chat to the devs about this.

                        Follow me on twitter http://twitter.com/wagonza
                        http://www.thepackethub.co.za

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nachtfalke
                          last edited by

                          I have the same problem on actual RC-1 snapshot:

                          The /var/run/dhcpleases.pid exists.

                          [2.0-RC1][admin@pfsense1.hpa]/var/run(3): ls -lah /var/run/dhcpleases.pid
                          -------r-x  1 root  wheel     6B Mar  1 20:49 /var/run/dhcpleases.pid
                          
                          [2.0-RC1][admin@pfsense1.hpa]/var/run(6): ps uxawww | grep `cat /var/run/dhcpleases.pid`
                          root   15057  0.0  0.2  3316  1148  ??  Is    8:49PM   0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd.leases -d hpa -p /var/run/dnsmasq.pid -h /var/etc/hosts
                          
                          
                          [2.0-RC1][admin@pfsense1.hpa]/var/run(12): ps uxawww | grep `cat /var/run/dnsmasq.pid`
                          nobody 15399  0.0  0.5  5552  2524  ??  S     8:49PM   0:00.05 /usr/local/sbin/dnsmasq --local-ttl 1 --all-servers --dns-forward-max=5000 --cache-size=10000 --dhcp-hostsfile=/var/etc/hosts
                          
                          

                          Do you need further information ?
                          Pleas let me know!

                          Thanks in advance

                          1 Reply Last reply Reply Quote 0
                          • E
                            eri--
                            last edited by

                            This is an issue with unbound package more than with dhcpleases.

                            1 Reply Last reply Reply Quote 0
                            • N
                              Nachtfalke
                              last edited by

                              I do not use unbound package.

                              If I remeber correct, I used it in the past but it is uninstalled since several snapshots and reboots.

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

                                2.0-RC1 (amd64)
                                built on Thu Mar 3 19:27:51 EST 2011
                                Unbound 1.4.8_131

                                Still seeing these messages in the log.

                                db

                                1 Reply Last reply Reply Quote 0
                                • E
                                  eri--
                                  last edited by

                                  Can you show:
                                  ps -ax | grep dns
                                  ps -ax  | grep dhcp

                                  Also the contents of the 2 pid files
                                  /var/run/dhcpleases.pid
                                  /var/run/dnsmasq.pid

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    Nachtfalke
                                    last edited by

                                    Don't know, if your post was focused on clarknovas or my post:

                                    
                                    [2.0-RC1][admin@pfsense1.hpa]/root(1): ps -ax | grep dns
                                    12648  ??  I      0:05.07 /usr/local/sbin/dnsmasq --local-ttl 1 --all-servers -
                                    [2.0-RC1][admin@pfsense1.hpa]/root(2): ps -ax  | grep dhcp
                                     9967  ??  Ss     0:18.17 /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroo
                                    11258  ??  Is     0:00.00 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd
                                    24066  ??  Ss     0:00.05 /usr/sbin/syslogd -c -c -l /var/dhcpd/var/run/log -f
                                    [2.0-RC1][admin@pfsense1.hpa]/root(3):
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      clarknova
                                      last edited by

                                      ps -ax | grep dns
                                      40238  u0- S      0:21.87 /usr/local/bin/php -f /etc/rc.newipsecdns

                                      ps -ax | grep dhcp
                                      23161  ??  Ss    0:10.75 /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroo
                                      43965  ??  Ss    0:00.26 /usr/sbin/syslogd -c -c -l /var/dhcpd/var/run/log -f
                                      54393  ??  Is    0:00.02 /usr/local/sbin/dhcpleases -l /var/dhcpd/var/db/dhcpd
                                      20856  0  R+    0:00.00 grep dhcp

                                      This is using unbound, not dnsmasq.

                                      db

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        eri--
                                        last edited by

                                        @clarknova
                                        that's an unbound problem.

                                        @ Nachtfalke
                                        please contents of pid files.

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          Nachtfalke
                                          last edited by

                                          /var/run/dhcpleases.pid

                                          
                                          [2.0-RC1][admin@pfsense1.hpa]/root(1): vi /var/run/dhcpleases.pid
                                          11258
                                          
                                          

                                          other box

                                          [2.0-RC1][admin@pfsense2.hpa]/root(4): vi /var/run/dhcpleases.pid
                                          
                                          38883
                                          
                                          

                                          /var/run/dnsmasq.pid

                                          [2.0-RC1][admin@pfsense1.hpa]/root(2): vi /var/run/dnsmasq.pid
                                          
                                          12648
                                          
                                          

                                          other box:

                                          [2.0-RC1][admin@pfsense2.hpa]/root(3): vi /var/run/dnsmasq.pid
                                          
                                          39206
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            gtr33m
                                            last edited by

                                            Any progress on this?

                                            I'm running 2.0-RC1 and my log file is full of this error.

                                            Not sure if it's causing any problems as my clients are still receiving leases, but it comes up frequently in the log.

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