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

    After restore, no reboot-Halt and problems with packages

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 667 Views 2 Watching
    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 Offline
      darkcorner
      last edited by darkcorner

      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.

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

        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.

        1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          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

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            darkcorner @stephenw10
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              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

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