dhclient error and internet dropping out intermittently

Started by tom088, August 25, 2023, 10:56:51 PM

Previous topic - Next topic
Hi all,

I've got opnsense running on my home server, and about 2 weeks ago after my power went off briefly, my internet has been dropping out about every six hours. Only when I login to Reload All Services via esxi does it work again for another 5 or 6 hours. The past 8 months before this the setup was running perfectly until that power outage and now these ointermittent dropouts

I've been following my logs once having the internet drop out and the errors I'm seeing are the following:


2023-08-26T03:39:07   Error   opnsense   /usr/local/etc/rc.newwanipv6: The command '/usr/sbin/daemon -f -p '/var/run/updaterrd.pid' '/var/db/rrd/updaterrd.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 26782'   
2023-08-26T03:39:06   Error   opnsense   /usr/local/etc/rc.newwanip: The command '/usr/local/sbin/ntpd -g -c '/var/etc/ntpd.conf'' returned exit code '1', the output was ''   
2023-08-25T18:06:01   Error   opnsense   /usr/local/etc/rc.newwanip: The command '/sbin/mount -r -t nullfs '/usr/local/lib/python3.9' '/var/unbound/usr/local/lib/python3.9'' returned exit code '1', the output was 'mount_nullfs: /var/unbound/usr/local/lib/python3.9: Resource deadlock avoided'   
2023-08-25T18:06:01   Error   opnsense   /usr/local/etc/rc.newwanip: The command '/bin/kill -'TERM' '46212''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 46212: No such process'   
2023-08-25T18:06:01   Error   opnsense   /usr/local/etc/rc.newwanip: The command '/usr/local/sbin/ntpd -g -c '/var/etc/ntpd.conf'' returned exit code '1', the output was ''   
2023-08-25T18:06:01   Error   opnsense   /usr/local/etc/rc.newwanip: The command '/bin/kill -'TERM' '24549''(name:ntpd) returned exit code '1', the output was 'kill: 24549: No such process'   
2023-08-25T18:05:56   Critical   dhclient   exiting.   
2023-08-25T18:05:56   Error   dhclient   connection closed   
2023-08-25T18:05:56   Error   dhclient   My address (REDACTED) was deleted, dhclient exiting   
2023-08-25T16:58:57   Error   opnsense   /usr/local/etc/rc.reload_all: The command '/usr/sbin/daemon -f -p '/var/run/updaterrd.pid' '/var/db/rrd/updaterrd.sh'' returned exit code '3', the output was 'daemon: process already running, pid: 33018'   
2023-08-25T16:58:55   Error   opnsense   /usr/local/etc/rc.reload_all: The command '/sbin/mount -r -t nullfs '/usr/local/lib/python3.9' '/var/unbound/usr/local/lib/python3.9'' returned exit code '1', the output was 'mount_nullfs: /var/unbound/usr/local/lib/python3.9: Resource deadlock avoided'   
2023-08-25T16:58:55   Error   opnsense   /usr/local/etc/rc.reload_all: The command '/bin/kill -'TERM' '22802''(pid:/var/run/unbound.pid) returned exit code '1', the output was 'kill: 22802: No such process'   
2023-08-25T16:58:55   Error   opnsense   /usr/local/etc/rc.reload_all: The command '/usr/local/sbin/ntpd -g -c '/var/etc/ntpd.conf'' returned exit code '1', the output was ''   
2023-08-25T16:58:48   Critical   dhclient   exiting.   
2023-08-25T16:58:48   Error   dhclient   connection closed   
2023-08-25T16:45:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/local/bin/rrdtool update /var/db/rrd/system-cputemp.rrd N:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-cputemp.rrd: illegal attempt to update using time 1692945900 when last update time is 1692982071 (minimum one second step)'   
2023-08-25T16:45:00   Error   opnsense   /usr/local/etc/rc.bootup: The command '/usr/local/bin/rrdtool update /var/db/rrd/system-mbuf.rrd N:U:U:U:U' returned exit code '1', the output was 'ERROR: /var/db/rrd/system-mbuf.rrd: illegal attempt to update using time 1692945900 when last update time is 1692982135 (minimum one second step)'



I've reinstalled a new VM running opnsense, I've discussed with my ISP who believed my modem firmware may have been broken for some reason and replaced modem, but still after this having same problem. I've reset the modem, select Bridge mode and then same problem again after a few hours. I've also never needed a static  IP but would consdier this if I have to get one to resolve. If anyone has any ideas and why these log errors are coming up in Opnsense would be truly appreciated.