Dhcpleases: Could not deliver signal HUP to process because its pidfile does not
-
Just installed the first RC 8 hours ago and seeing the same thing.
-
Does /var/run/dhcpleases.pid exist? And is it the right process ID?
-
[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
-
What about:
ps uxawww | grep `cat /var/run/dhcpleases.pid`
-
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
-
And what about the dnsmasq.pid?
-
Using unbound
-
So you have found a side affect of disabling dnsmasq for Unbound. Will chat to the devs about this.
-
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
-
This is an issue with unbound package more than with dhcpleases.
-
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.
-
2.0-RC1 (amd64)
built on Thu Mar 3 19:27:51 EST 2011
Unbound 1.4.8_131Still seeing these messages in the log.
-
Can you show:
ps -ax | grep dns
ps -ax | grep dhcpAlso the contents of the 2 pid files
/var/run/dhcpleases.pid
/var/run/dnsmasq.pid -
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):
-
ps -ax | grep dns
40238 u0- S 0:21.87 /usr/local/bin/php -f /etc/rc.newipsecdnsps -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 dhcpThis is using unbound, not dnsmasq.
-
@clarknova
that's an unbound problem.@ Nachtfalke
please contents of pid files. -
/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
-
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.
-
2.1-DEVELOPMENT (i386)
built on Mon Sep 5 04:07:51 EDT 2011Unbound 1.4.12_03
I've got a log full of these now as well… was there ever a fix for this?
-
I only see this "dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist" message
a couple of times getting logged after an update and during the package reinstall process.
It does not flood my log like previous RC2 and RC3's in combination with the unbound package.I'm using the last AMD64-RC3 10 September 2011.
packages:-
Squid
-
Squidguard
-
Unbound
For me it was fixed ages ago.
This is part of my log during/after my last update to the last RC3 build…
7x the DHCP PID message appears and stops after everything is installed and ready.Sep 13 18:11:29 php: : Not calling package sync code for dependency squidusers of squid because some include files are missing. Sep 13 18:11:29 php: : Not calling package sync code for dependency squidcache of squid because some include files are missing. Sep 13 18:11:32 php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing. Sep 13 18:11:33 login: login on ttyv0 as root Sep 13 18:11:33 squid[47480]: Squid Parent: child process 16905 exited with status 0 Sep 13 18:11:34 check_reload_status: Reloading filter Sep 13 18:11:35 php: : SQUID is installed but not started. Not installing "nat" rules. Sep 13 18:11:35 php: : SQUID is installed but not started. Not installing "pfearly" rules. Sep 13 18:11:35 php: : SQUID is installed but not started. Not installing "filter" rules. Sep 13 18:11:36 Squid_Alarm[698]: Squid has exited. Reconfiguring filter. Sep 13 18:11:36 Squid_Alarm[1295]: Attempting restart... Sep 13 18:11:37 squid[2769]: Squid Parent: child process 3257 started Sep 13 18:11:40 Squid_Alarm[5715]: Reconfiguring filter... Sep 13 18:11:41 Squid_Alarm[14989]: Squid has resumed. Reconfiguring filter. Sep 13 18:12:14 check_reload_status: Syncing firewall Sep 13 18:12:14 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory. Sep 13 18:12:14 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory. Sep 13 18:12:16 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory. Sep 13 18:12:16 dhcpd: Internet Systems Consortium DHCP Server 4.2.1-P1 Sep 13 18:12:16 dhcpd: Copyright 2004-2011 Internet Systems Consortium. Sep 13 18:12:16 dhcpd: All rights reserved. Sep 13 18:12:16 dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Sep 13 18:12:16 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory. Sep 13 18:12:16 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory. Sep 13 18:12:17 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory. Sep 13 18:12:17 dhcpd: Internet Systems Consortium DHCP Server 4.2.1-P1 Sep 13 18:12:17 dhcpd: Copyright 2004-2011 Internet Systems Consortium. Sep 13 18:12:17 dhcpd: All rights reserved. Sep 13 18:12:17 dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Sep 13 18:12:17 dhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such file or directory. Sep 13 18:12:17 check_reload_status: Reloading filter Sep 13 18:12:40 php: : The command '/sbin/mdmfs -s 200M md15 /tmp/squidGuard' returned exit code '1', the output was 'mdmfs: mount exited with error code 64' Sep 13 18:12:40 php: : The command 'chmod 1777 /tmp/squidGuard' returned exit code '1', the output was 'chmod: /tmp/squidGuard: No such file or directory' Sep 13 18:14:19 php: : The command 'umount -f /tmp/squidGuard' returned exit code '1', the output was 'umount: /tmp/squidGuard: not a file system root directory' Sep 13 18:17:06 check_reload_status: Syncing firewall Sep 13 18:17:06 check_reload_status: Syncing firewall Sep 13 18:17:06 php: /pkg_edit.php: Reloading Squid for configuration sync Sep 13 18:17:07 check_reload_status: Reloading filter Sep 13 18:17:13 php: /pkg_edit.php: Reloading Squid for configuration sync Sep 13 18:17:13 check_reload_status: Reloading filter Sep 13 18:20:07 sshd[52346]: Accepted keyboard-interactive/pam for root from 192.168.0.50 port 1607 ssh2 Sep 13 18:20:07 sshd[52346]: subsystem request for sftp Sep 13 19:49:03 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50 Sep 13 19:49:03 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50 Sep 13 21:53:12 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50 Sep 13 21:53:12 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50 Sep 14 17:38:03 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50 Sep 14 17:38:03 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50 Sep 15 18:13:39 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50 Sep 15 18:13:39 php: /index.php: Successful webConfigurator login for user 'admin' from 192.168.0.50
p.s.
I've manually set "192.168.0.1" into the DNS and default Gateway fields in the DHCP server settings.
And added "192.168.0.1" as a DNS in General Setup. (not using unbound configured as a forwarder) -