OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Unbound service routinely stopping/crashing following 20.7.7 update
« previous next »
  • Print
Pages: 1 ... 4 5 [6] 7

Author Topic: Unbound service routinely stopping/crashing following 20.7.7 update  (Read 51197 times)

potes

  • Newbie
  • *
  • Posts: 9
  • Karma: 2
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #75 on: January 04, 2021, 01:22:49 pm »
Hi toxic, thanks for sharing the set-up, but for what I know (really little as I'm learning), I think is missing the test to see if the unbound service is working. How the machine know that unbound has stop? Thats not done by the test?

Regards

Quote from: toxic on January 03, 2021, 11:44:23 pm
Same issue here, unbound keeps crashing. I tyed the opnsense-revert thing, we'll see if it holds


Quote from: Sabkor on December 29, 2020, 10:27:34 am
For now, I *think* I've setup a monit test to restart unbound if it crashes. Never used monit before, so we'll see if I did it right...
Meanwhile I tried monit for the first time as well.
I *think* also I got it, but it took me a lot of tries, so for those who might be even more lost than I am, here is what I did in the monit>settings>service settings : add a new service as you can see in the attached picture.

Attached as well, in the monit>status you'll see it has found the proper process id.

I even stopped unbound and it got restarted within the 120 seconds of polling interval.

If you want to make it check faster, it happens on the first settings page, I think that is what would be the polling interval.

Couldn't find a way to get an email notification when the service gets restarted though... At least it restarts ;)
« Last Edit: January 04, 2021, 03:14:11 pm by potes »
Logged

NKnusperer

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #76 on: January 04, 2021, 02:25:09 pm »
Same issue here with 20.7.7_1

Looks like this does not exist anymore:
Code: [Select]
pkg add -f https://pkg.opnsense.org/FreeBSD:12:amd64/20.7/misc/unbound-1.13.0_1.txz
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2035
  • Karma: 93
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #77 on: January 04, 2021, 02:38:33 pm »
I have Unbound stable (in forwarding mode with DNS-over-TLS), not seeing and problems with latest version. Maybe this is worth a try before downgrading...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

Fright

  • Hero Member
  • *****
  • Posts: 1466
  • Karma: 130
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #78 on: January 04, 2021, 04:14:20 pm »
Quote
Looks like this does not exist anymore
looks like 21.1 on the way
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #79 on: January 04, 2021, 04:40:57 pm »
Quote from: NKnusperer on January 04, 2021, 02:25:09 pm
Looks like this does not exist anymore:
Code: [Select]
pkg add -f https://pkg.opnsense.org/FreeBSD:12:amd64/20.7/misc/unbound-1.13.0_1.txz

Because it's part of the official 20.7.7 now. ;)
Logged

jean.paradis

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #80 on: January 04, 2021, 07:08:40 pm »
The problem is the same for me. it stops at all times.
I assign the interface manually and the problem is still there.

Versions   OPNsense 20.7.7_1-amd64
FreeBSD 12.1-RELEASE-p11-HBSD
OpenSSL 1.1.1i 8 Dec 2020



here are the logs:

2021-01-04T12:41:23 unbound[473] [473:0] info: start of service (unrelated 1.13.0).   
2021-01-04T12:41:23 unbound[473] [473:0] review: init module 0: iterator   
2021-01-04T07:56:12 unbound[8518] [8518:0] review: sendto failed: Permission denied   
2021-01-04T03:00:19 unbound[8518] [8518:0] info: start of service (unrelated 1.13.0).   
2021-01-04T03:00:19 unbound[8518] [8518:0] review: init module 0: iterator   
2021-01-04T03:00:19 unbound[8518] [8518:0] review: Reboot of 1.13.0 unrelated.   
2021-01-04T03:00:19 unbound[8518] [8518:0] info: server statistics for thread 1: requestlist max 0 avg 0 exceeded 0 hustled 0   
2021-01-04T03:00:19 unbound[8518] [8518:0] info: server statistics for thread 1: 0 queries, 0 cache responses, 0 recurrences, 0 preference, 0 rejected by ip ratelimiting   
2021-01-04T03:00:19 unbound[8518] [8518:0] info: server statistics for thread 0: requestlist max 0 avg 0 exceeded 0 hustled 0   
2021-01-04T03:00:19 unbound[8518] [8518:0] info: server statistics for thread 0: 0 queries, 0 cache responses, 0 recurrences, 0 prefeasing, 0 rejected by ip ratelimiting   
2021-01-04T03:00:19 unbound[8518] [8518:0] info: service stopped (unrelated 1.13.0).   
2021-01-04T03:00:18 unbound[8518] [8518:0] info: start of service (unrelated 1.13.0).   
2021-01-04T03:00:18 unbound[8518] [8518:0] review: init module 0: iterator   
2021-01-04T03:00:18 unbound[8518] [8518:0] review: Reboot of 1.13.0 unrelated.   
2021-01-04T03:00:18 unbound[8518] [8518:0] info: server statistics for thread 1: requestlist max 0 avg 0 exceeded 0 hustled 0   
2021-01-04T03:00:18 unbound[8518] [8518:0] info: server statistics for thread 1: 0 queries, 0 cache responses, 0 recurrences, 0 prefeasing, 0 rejected by ip ratelimiting   
2021-01-04T03:00:18 unbound[8518] [8518:0] info: server statistics for thread 0: requestlist max 0 avg 0 exceeded 0 hustled 0   
2021-01-04T03:00:18 unbound[8518] [8518:0] info: server statistics for thread 0: 0 queries, 0 cache responses, 0 recurrences, 0 prefeasing, 0 rejected by ip ratelimiting   
2021-01-04T03:00:18 unbound[8518] [8518:0] info: service stopped (unrelated 1.13.0).   
2021-01-04T03:00:18 unbound[8518] [8518:0] info: start of service (unrelated 1.13.0).
« Last Edit: January 04, 2021, 07:11:35 pm by jean.paradis »
Logged
CPU type Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 cores)

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #81 on: January 04, 2021, 07:37:55 pm »
Again: fetch latest updates, restart Unbound from GUI.


Cheers,
Franco
Logged

miruoy

  • Newbie
  • *
  • Posts: 31
  • Karma: 2
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #82 on: January 04, 2021, 08:41:38 pm »
Quote from: franco on January 04, 2021, 04:40:57 pm
Because it's part of the official 20.7.7 now. ;)

Nice!
Logged

Tol Phobos

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #83 on: January 05, 2021, 09:58:21 pm »
Quote from: franco
Because it's part of the official 20.7.7 now. ;)
Fetch latest updates, restart Unbound from GUI.

unbound 1.13.0_1 deployed for 1 day without any trouble. Seems OK.
Thanks franco !
Logged

dcol

  • Hero Member
  • *****
  • Posts: 557
  • Karma: 46
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #84 on: January 06, 2021, 09:25:34 pm »
This was driving me nuts with all kinds of weird errors and slow responding servers until I noticed that unbound was stopped in the Dashboard. Applied patch and seems ok now. Thanks again @franco
Logged

toxic

  • Jr. Member
  • **
  • Posts: 59
  • Karma: 4
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #85 on: January 07, 2021, 06:35:56 pm »
Quote from: potes on January 04, 2021, 01:22:49 pm
Hi toxic, thanks for sharing the set-up, but for what I know (really little as I'm learning), I think is missing the test to see if the unbound service is working. How the machine know that unbound has stop? Thats not done by the test?

Regards

I was baffeled by this as well but my current understanding is that it's meant to keep a process alive anyway, and you give it the pid file if you look at my config. So it's able to read the file and check that there is indeed a process with this pid, if not, then it uses start command and probably stop before...

It did detect me killing the service and did restart it, so pidfile is enought from what I understand, but I agree that's either "too intuitive" or maybe not explicit enough in the config gui...

Nevertheless, I got the _1 update as well, dunno if the monit service or the update did the trick but I'm fine now ;)

Not sure why there is not a monit entry by default for all core services, even disabled, so we just have to enable it when needed...
Logged

dcol

  • Hero Member
  • *****
  • Posts: 557
  • Karma: 46
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #86 on: January 07, 2021, 06:52:05 pm »
Would be nice if someone could post a Monit How-To for core services like unbound. and restart the service.
Logged

RDO

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #87 on: January 09, 2021, 02:53:52 am »
This just happened to me again today. I am up with 20.7.7_1. This has happened quite a few times with me. I am a newbie with OPNsense. Please let me know what I can do to supply more info.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 954
  • Karma: 65
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #88 on: January 09, 2021, 06:32:35 am »
Check for updates as you may not have the patch - 20.7.7_1 was released before the patch, and then the patch later added
Logged

qwei

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Unbound service routinely stopping/crashing following 20.7.7 update
« Reply #89 on: January 12, 2021, 03:45:45 am »
unbound 1.13.0_1 installed yesterday. Still crashed today.

Quote from: Tol Phobos on January 05, 2021, 09:58:21 pm
unbound 1.13.0_1 deployed for 1 day without any trouble. Seems OK.
Thanks franco !
Logged

  • Print
Pages: 1 ... 4 5 [6] 7
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Unbound service routinely stopping/crashing following 20.7.7 update
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2