After restore, no reboot-Halt and problems with packages
-
I had already reported this in a previous post on another topic.
Now the problem occurs again.I upload the restore of the configuration saved a few hours before.
From this moment:- from the GUI it is no longer possible to execute the Reboot or the Halt.
- From console it stops after c-icap.sh and does not turn off unless pressing the power button.
- The message appears in the GUI
Packages are currently being reinstalled in the background.
Do not make changes in the GUI until this is complete.but it is not clear if the packages are reinstalling.
- The Lightsquid, NUT, RADIUS, Squid services are inactive, but if you don't know if you are installing them again, you don't even know if they can be started or not.
- The logs do not help to understand what pfSense is doing.
- If you try to reinstall them, the error "process with pid XXX still holds the lock. pkg-static: Cannot get an advisory lock on a database, it is locked by another process. Failed" appears
pfSense is the latest version, the Internet is there and all installed packages are still in the default configuration.
Last time I solved the problem by installing everything again, but frankly it's not something that can be done all the time.
-
For the installation of the packages (still blocked after 4 hours) I solved with the command "kill ID-PROCESS-BLOCKED".
Then I did the reboot.
All this remotely.Tomorrow I will see on the console if pfSense is still blocked or if my kills have solved it.
-
Ah, if you have Squidguard installed you might be hitting this still: https://redmine.pfsense.org/issues/10867.
I haven't seen that in 2.6 myself but it could still be present. I haven't seen anything actively address that.Steve
-
@stephenw10 said in After restore, no reboot-Halt and problems with packages:
Ah, if you have Squidguard installed you might be hitting this still: https://redmine.pfsense.org/issues/10867.
I haven't seen that in 2.6 myself but it could still be present. I haven't seen anything actively address that.Yes, Squidguard is installed, but other packages were also blocked.
After the kill command, I can again run both Halt and Reboot from the GUI.
I just had to install FreeRADIUS again which was missing.I don't know if the problem is due to 2.6. It also did this with the 2.5.x. Always after a restore.
Maybe I should have done a clean install first and only after the restore. -
Yes, if you hit that issue the install/uninstall script hangs when it's finished. That stalls the package reinstall process so any other packages that haven't yet been installed will not be until you kill the script. It should then install the others though.
Steve