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

    [Unbound]Error in system log after upgrading

    Scheduled Pinned Locked Moved pfSense Packages
    12 Posts 2 Posters 4.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.
    • Z
      zlyzwy
      last edited by

      I just upgraded PF to latest snapshot including Unbound, and I received the following error in system log.

      I didn't change any settings in PF and Unbound so I got no idea why it's happening here…

      Aug 13 19:59:16	php: : The command '/usr/local/sbin/unbound-control load_cache < /var/tmp/unbound_cache' returned exit code '1', the output was '[1313236756] unbound-control[63274:0] debug: address ::1 port 953 [1313236756] unbound-control[63274:0] error: connect: Operation not permitted'
      Aug 13 19:59:16	php: : The command '/usr/local/sbin/unbound-control load_cache < /var/tmp/unbound_cache' returned exit code '1', the output was '[1313236756] unbound-control[62977:0] debug: address ::1 port 953 [1313236756] unbound-control[62977:0] error: connect: Operation not permitted'
      Aug 13 19:59:15	php: : The command '/usr/local/sbin/unbound-control start' returned exit code '1', the output was '[1313236755] unbound[62796:0] error: bind: address already in use [1313236755] unbound[62796:0] fatal error: could not open ports'
      Aug 13 19:59:11	php: : The command '/usr/local/sbin/unbound-control dump_cache > /var/tmp/unbound_cache' returned exit code '1', the output was ''
      Aug 13 19:59:10	php: : The command '/usr/local/sbin/unbound-control load_cache < /var/tmp/unbound_cache' returned exit code '1', the output was '[1313236750] unbound-control[44195:0] debug: address ::1 port 953 [1313236750] unbound-control[44195:0] error: connect: Operation not permitted'
      Aug 13 19:59:09	php: : The command '/usr/local/sbin/unbound-control dump_cache > /var/tmp/unbound_cache' returned exit code '1', the output was ''
      Aug 13 19:59:09	php: : The command '/usr/local/sbin/unbound-control load_cache < /var/tmp/unbound_cache' returned exit code '1', the output was '[1313236749] unbound-control[41108:0] debug: address ::1 port 953 [1313236749] unbound-control[41108:0] error: connect: Operation not permitted'
      Aug 13 19:59:08	php: : The command '/usr/local/sbin/unbound-control dump_cache > /var/tmp/unbound_cache' returned exit code '1', the output was ''
      Aug 13 19:59:07	php: : The command '/usr/local/sbin/unbound-control load_cache < /var/tmp/unbound_cache' returned exit code '1', the output was '[1313236747] unbound-control[37843:0] debug: address ::1 port 953 [1313236747] unbound-control[37843:0] error: connect: Operation not permitted'
      Aug 13 19:59:06	php: : The command '/usr/local/sbin/unbound-control dump_cache > /var/tmp/unbound_cache' returned exit code '1', the output was ''
      
      

      PF version: 2.0-RC3 (i386)
      built on Fri Aug 12 16:23:11 EDT 2011

      Unbounded version: 1.4.12_01

      Thanks for any reply in advance!

      Zlyzwy

      1 Reply Last reply Reply Quote 0
      • Z
        zlyzwy
        last edited by

        In Unbound Status

        [1313246220] unbound-control[57407:0] debug: address ::1 port 953
        [1313246220] unbound-control[57407:0] error: connect: Operation not permitted
        

        I can only use other public DNS:(((

        1 Reply Last reply Reply Quote 0
        • W
          wagonza
          last edited by

          Should be fixed now, so reinstall the package.

          Follow me on twitter http://twitter.com/wagonza
          http://www.thepackethub.co.za

          1 Reply Last reply Reply Quote 0
          • Z
            zlyzwy
            last edited by

            thanks for reply but I can not re install the package….
            the process always stops here:
            excuting custom php install commond()

            I have tried several times but no luck.....

            1 Reply Last reply Reply Quote 0
            • W
              wagonza
              last edited by

              hrmm thats typical of something not resolving or connectivity problems - try disable unbound and enable dnsforwarder (dnsmasq) and then try reinstall the unbound package.

              Follow me on twitter http://twitter.com/wagonza
              http://www.thepackethub.co.za

              1 Reply Last reply Reply Quote 0
              • Z
                zlyzwy
                last edited by

                @wagonza:

                hrmm thats typical of something not resolving or connectivity problems - try disable unbound and enable dnsforwarder (dnsmasq) and then try reinstall the unbound package.

                Actually I am now using Google public dns (8.8.8.8) in PF… So it should be no problem with the resolving since I can open most of website here.

                Can you tell me what's the web that Unbound is going to resolve and I can try to visit it directly from my pc? We will see if we can open it or not.

                Anyway, thanks for your help!

                1 Reply Last reply Reply Quote 0
                • Z
                  zlyzwy
                  last edited by

                  I tired a backup file in the past and install the latest version of PF and Unbound. it seems no problem.

                  But when I tried to enable the Unbound, it give the following error:

                  Fatal error: Call to undefined function is_ipaddrv6() in /usr/local/pkg/unbound.inc on line 769
                  
                  1 Reply Last reply Reply Quote 0
                  • Z
                    zlyzwy
                    last edited by

                    I removed the records in DNS forwarder then reinstall the package, it seems no problem any more.

                    however there comes a new problem, I can't visit the Unbound DNS Status Page. When I opened that page, it comes back to the Unbound DNS settings page..

                    Any ideas of this?

                    Thanks a lot for reply~~:)

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zlyzwy
                      last edited by

                      Well, I think I solved the issue..

                      Before install the package, I need to disable DNS forwarder firstly.
                      Then install the package and it should be all right.

                      One more question, I found I can't add any record in DNS forwarder, otherwise it will break the Unbound DNS.

                      So where should I add record now?

                      1 Reply Last reply Reply Quote 0
                      • W
                        wagonza
                        last edited by

                        bah! Nope i see the problem. In the effort to support IPv6 I go and break non-IPv6 installs. I'll fix.

                        Follow me on twitter http://twitter.com/wagonza
                        http://www.thepackethub.co.za

                        1 Reply Last reply Reply Quote 0
                        • W
                          wagonza
                          last edited by

                          Ok committed a fix for this, so give it another go please.

                          Follow me on twitter http://twitter.com/wagonza
                          http://www.thepackethub.co.za

                          1 Reply Last reply Reply Quote 0
                          • Z
                            zlyzwy
                            last edited by

                            It should be no problem. I have installed the latest version.
                            thanks for your quick help~~:)))

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