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

    unbound service fails

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 380 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.
    • H
      harj
      last edited by

      unbound service stops and I am unable to start it. This has happened couple of times. Happened early in the morning both times. This is the log in the system log

      Dec 31 08:06:11	php		/usr/local/www/pfblockerng/pfblockerng.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '[1577739971] unbound[16441:0] error: Error for server-cert-file: /var/unbound/unbound_server.pem [1577739971] unbound[16441:0] error: Error in SSL_CTX use_certificate_chain_file crypto error:02001002:system library:fopen:No such file or directory [1577739971] unbound[16441:0] error: and additionally crypto error:20074002:BIO routines:FILE_CTRL:system lib [1577739971] unbound[16441:0] error: and additionally crypto error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib [1577739971] unbound[16441:0] fatal error: could not set up remote-control'
      

      This is the log in the DNS log

      Dec 31 00:03:45	unbound	959:0	error: failed to read /root.key
      Dec 31 00:03:45	unbound	959:0	error: error reading auto-trust-anchor-file: /var/unbound/root.key
      Dec 31 00:03:45	unbound	959:0	error: validator: error in trustanchors config
      Dec 31 00:03:45	unbound	959:0	error: validator: could not apply configuration settings.
      Dec 31 00:03:45	unbound	959:0	error: module init for module validator failed
      Dec 31 00:03:45	unbound	959:0	fatal error: failed to setup modules
      

      I have to recreate the root.key file and reboot pfsense for it to work. Please help me troubleshoot why does this happen?

      p.s: I have pfblockerng package running.
      TIA

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Read the first results from here.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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