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

    Unbound server will not start

    Scheduled Pinned Locked Moved DHCP and DNS
    15 Posts 6 Posters 5.7k 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.
    • V Offline
      vsilgalis
      last edited by

      you might want to try opening a bug report around it.  It looks like unbound is all there but the user wasn't created sometime in the past, so you could try creating the user (no guarantee it will work and run it at your own risk):
      pw adduser unbound -g unbound -d /var/unbound -s /usr/sbin/nologin -c "Unbound DNS Resolver"

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        Is this a full install? Any fsck log entries in system log?

        1 Reply Last reply Reply Quote 0
        • R Offline
          RomanHelmet
          last edited by

          Yes, full x86 install.

          You'll have to forgive me, I'm very green with bsd. Can you explain what I should be looking for with fsck? Or should I run fsck?

          1 Reply Last reply Reply Quote 0
          • D Offline
            doktornotor Banned
            last edited by

            Look at the system logs. Search for fsck entries.

            1 Reply Last reply Reply Quote 0
            • M Offline
              Melphiz
              last edited by

              @hypnoticpancake:

              you might want to try opening a bug report around it.  It looks like unbound is all there but the user wasn't created sometime in the past, so you could try creating the user (no guarantee it will work and run it at your own risk):
              pw adduser unbound -g unbound -d /var/unbound -s /usr/sbin/nologin -c "Unbound DNS Resolver"

              As I have the same problem with unbound on 2.2.1 atm. I tried yours but pfsense gives back that the group 'unbound' does not exist

              1 Reply Last reply Reply Quote 0
              • D Offline
                doktornotor Banned
                last edited by

                @hypnoticpancake:

                As I have the same problem with unbound on 2.2.1 atm. I tried yours but pfsense gives back that the group 'unbound' does not exist

                You really need to read the whole thread and answer what's asked there, instead of posting "me too".

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Melphiz
                  last edited by

                  So, when there is no fsck entry in neither of the the logs what shall I search for?

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RomanHelmet
                    last edited by

                    @doktornotor:

                    Look at the system logs. Search for fsck entries.

                    I don't have any fsck entries.

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      vsilgalis
                      last edited by

                      @Melphiz:

                      @hypnoticpancake:

                      you might want to try opening a bug report around it.  It looks like unbound is all there but the user wasn't created sometime in the past, so you could try creating the user (no guarantee it will work and run it at your own risk):
                      pw adduser unbound -g unbound -d /var/unbound -s /usr/sbin/nologin -c "Unbound DNS Resolver"

                      As I have the same problem with unbound on 2.2.1 atm. I tried yours but pfsense gives back that the group 'unbound' does not exist

                      did you verify all the other settings?

                      if you did you will need to add the group before hand, again this is really just hand jamming stuff, i'd recommend a bug report and no guarantee that this will work:
                      pw groupadd unbound
                      pw adduser unbound -g unbound -d /var/unbound -s /usr/sbin/nologin -c "Unbound DNS Resolver"

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Melphiz
                        last edited by

                        @hypnoticpancake:

                        did you verify all the other settings?

                        if you did you will need to add the group before hand, again this is really just hand jamming stuff, i'd recommend a bug report and no guarantee that this will work:
                        pw groupadd unbound
                        pw adduser unbound -g unbound -d /var/unbound -s /usr/sbin/nologin -c "Unbound DNS Resolver"

                        Yes,
                        /usr/local/sbin/unbound
                        /var/unbound/unbound.conf
                        exist but there is no entry in the passwd file.

                        Well, finally it's weekend now for me, so no access to the firewall anyway, I might open such a bug report tomorrow.

                        Have a nice weekend =)

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Supermule Banned
                          last edited by

                          Still not working in the 2.2.2 upgrade file.

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