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

    bind no longer running after pkg/pfsense updates

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.3k 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.
    • D
      dvl
      last edited by

      I am running 22.05-RELEASE and cannot get the installed bind-9.16_17 running. I can't find it in any menu. Earlier today, it was running.

      What happened:

      • I updated the bind package earlier today
      • that's when bind stopped running and disappeared from the menu
      • I updated pfSense to 22.05-RELEASE
      • Still no bind options showing in the menus

      Things I have checked:

      • bind is showing as installed
      • Services / DNS Forwarder is not enabled
      • Services / DNS Resolver is not enabled

      Here's the screen shot of the Services menu.

      This is the PHP_errors.log file which pfSense showed me after updating bind and before updating pfSense.

      [30-Jun-2022 15:57:18 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function set_curlproxy() in /usr/local/pkg/bind.inc:769
      Stack trace:
      #0 /etc/inc/pkg-utils.inc(809) : eval()'d code(1): bind_sync()
      #1 /etc/inc/pkg-utils.inc(809): eval()
      #2 /etc/inc/pkg-utils.inc(937): eval_once('bind_sync();')
      #3 /etc/rc.packages(76): install_package_xml('bind')
      #4 {main}
        thrown in /usr/local/pkg/bind.inc on line 769
      

      Any ideas?

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @dvl
        last edited by

        @dvl said in bind no longer running after pkg/pfsense updates:

        I updated the bind package earlier today
        that's when bind stopped running and disappeared from the menu
        I updated pfSense to 22.05-RELEASE

        Don't do it in that order unless you set the pfSense branch update version to what you have (22.01). Packages can install dependencies which would be for 22.05 since it was released. Can you uninstall the bind package and install it again now that you're on 22.05?

        Alternately don't install/update any packages until you upgrade pfSense.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        D 1 Reply Last reply Reply Quote 0
        • D
          dvl @SteveITS
          last edited by

          @steveits said in bind no longer running after pkg/pfsense updates:

          Don't do it in that order unless you set the pfSense branch update version to what you have (22.01).

          I wasn't planning to update pfSense today. I did it only because bind stopped working.

          Packages can install dependencies which would be for 22.05 since it was released.

          Once a new release is out, don't upgrade packages. Understood.

          Can you uninstall the bind package and install it again now that you're on 22.05?

          Yes, that worked. Thank you. Everything is back to normal. I didn't want to do the uninstall/reinstall without posting first.... just in case.

          cheers

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @dvl
            last edited by

            @dvl Great. Option 2 would have been to reinstall and restore from backup. 😥

            The upgrade thing catches lots of people. I put it in my sig a while back. One such problem is when the package is dependent on a PHP version that doesn't exist in the older pfSense, so it gets upgraded. There's a redmine to hopefully fix it or at least block/warn people.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

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