OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: zauopn on March 30, 2021, 05:13:55 AM

Title: Unbound service routinely stopping/crashing following 21.1.3 and 21.1.4 updates
Post by: zauopn on March 30, 2021, 05:13:55 AM
Pretty much as the subject states.
Update: Installed latest update and issue is still happening with both versions 21.1.3 and 21.1.4 updates.
After the updates it hasn't been possible to start Outbound service.

Unbound was working fine before update, updated fine, but then noticed that Unbound service stops more details below, it seems that crash happened at 2021-03-29T11:56:32. I tried to restart Unbound service via the GUI and also via the command line but it does not start it keeps showing the same errors in the logs. There could be a bug or a change introduced in: 21.1.X.
Anybody else experiencing these Unbound issues? Any help would be appreciated . Thanks.

Relevant logs:

--------------System: Log Files: General

2021-03-29T11:56:48   opn[51204]   plugins_configure dns (execute task : unbound_configure_do())   
2021-03-29T11:56:48   opn[51204]   plugins_configure dns (execute task : dnsmasq_configure_do())   
2021-03-29T11:56:48   opn[51204]   plugins_configure dns ()

2021-03-28T08:40:22   opn[74115]   /status_services.php: The command '/usr/local/opn/scripts/dns/unbound_dhcpd.py --domain 'localdomain'' returned exit code '1', the output was 'Unable to lock on the pidfile.'   
2021-03-28T08:40:10   opn[37810]   plugins_configure local (execute task : unbound_configure_do(1))

--------------Services: Unbound DNS: Log File


2021-03-29T11:56:34   unbound[50553]   [50553:0] info: server stats for thread 0: requestlist max 16 avg 0.116428 exceeded 0 jostled 0   
2021-03-29T11:56:34   unbound[50553]   [50553:0] info: server stats for thread 0: 7886 queries, 2568 answers from cache, 5318 recursions, 136 prefetch, 0 rejected by ip ratelimiting   
2021-03-29T11:56:32   unbound[50553]   [50553:0] info: service stopped (unbound 1.13.1).   
2021-03-29T11:55:57   unbound[50553]   [50553:0] debug: outnettcp got tcp error -1   
2021-03-29T11:55:55   unbound[50553]   [50553:1] debug: outnettcp got tcp error -1   
2021-03-29T11:55:47   unbound[50553]   [50553:0] debug: cache memory msg=527014 rrset=786732 infra=8306 val=188403

--------------System: Log Files: Backend
021-03-29T11:56:47   configd.py[25356]   [38cc3306-075e-44ec-b0fe-734656d56e9a] generate template opn/Filter   
2021-03-29T11:56:47   configd.py[25356]   [9526cb0d-6f86-4d0b-9ba5-20ed2131174d] Reloading filter   
2021-03-29T11:56:45   configd.py[25356]   [f956f100-e7ac-4a49-87f0-81f268c930f6] Linkup stopping em1   
2021-03-29T11:56:39   configd.py[25356]   message 28987af7-4113-4827-a230-21924c2a5e6d [unbound.start] returned Error (1)   
2021-03-29T11:56:39   configd.py[25356]   [28987af7-4113-4827-a230-21924c2a5e6d] returned exit status 1   
2021-03-29T11:56:37   configd.py[25356]   message b3fa47bd-a9a5-4742-acd0-ef4bf7866755 [filter.refresh_aliases] returned {"status": "ok"}   
2021-03-29T11:56:37   configd.py[25356]   [b3fa47bd-a9a5-4742-acd0-ef4bf7866755] refresh url table aliases   
2021-03-29T11:56:37   configd.py[25356]   opn/Filter generated //usr/local/etc/filter_geoip.conf   
2021-03-29T11:56:37   configd.py[25356]   opn/Filter generated //usr/local/etc/filter_tables.conf   
2021-03-29T11:56:37   configd.py[25356]   generate template container opn/Filter   
2021-03-29T11:56:37   configd.py[25356]   [36546d50-6d27-46b9-9352-4d5ec7290f11] generate template opn/Filter   
2021-03-29T11:56:36   configd.py[25356]   [73af3980-9bdf-4c26-91e0-e47479200ed8] Reloading filter   
2021-03-29T11:56:34   configd.py[25356]   [28987af7-4113-4827-a230-21924c2a5e6d] Start Unbound   
2021-03-29T11:56:32   configd.py[25356]   opn/Unbound/* generated //var/unbound/root.hints   
2021-03-29T11:56:32   configd.py[25356]   opn/Unbound/* generated //var/unbound/etc/miscellaneous.conf   
2021-03-29T11:56:32   configd.py[25356]   opn/Unbound/* generated //var/unbound/etc/dot.conf   
2021-03-29T11:56:32   configd.py[25356]   opn/Unbound/* generated //var/unbound/etc/blacklists.ini   
2021-03-29T11:56:32   configd.py[25356]   generate template container opn/Unbound/core   
2021-03-29T11:56:32   configd.py[25356]   [13fb3116-b6d8-4544-ad8b-57845529430a] generate template opn/Unbound/*   
2021-03-29T11:56:31   configd.py[25356]   message ace7adae-a5de-406b-a861-fd658c573f9d [filter.refresh_aliases] returned {"status": "ok"}