bind no longer running after pkg/pfsense updates
-
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?
-
@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-RELEASEDon'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.
-
@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
-
@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.