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

    please help

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 2 Posters 1.1k 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.
    • M
      mohamed8080
      last edited by

      good day

      My Problem when update snort.
      services error in that pkg ntopng,lightsquid_web and snort
      cannot reinstall or remove that services

      for example when remove ntopng appear that error

      Upgrading pfSense-pkg-ntopng...
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      pfSense repository is up to date.
      All repositories are up to date.
      process with pid 20679 still holds the lock
      process with pid 20679 still holds the lock
      process with pid 20679 still holds the lock
      process with pid 20679 still holds the lock
      process with pid 20679 still holds the lock
      process with pid 20679 still holds the lock
      pkg-static: Cannot get an advisory lock on a database, it is locked by another process
      Failed

      thanks for your time and consideration

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        @mohamed8080 said in please help:

        20679

        Who is process 20679 ?

        Quick and nasty : kill it.
        Better - start with a clean base : first, do re reboot of your pfSense, then upgrade.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        M 1 Reply Last reply Reply Quote 0
        • M
          mohamed8080 @Gertjan
          last edited by mohamed8080

          @Gertjan thanks but nothing is fixed

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            And 20679 was ?

            @mohamed8080 said in please help:

            nothing is fixed

            You are aware of the fact that all we (readers of your post) have is your description of the issue ?
            None has time for some wild guesses ....

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            M 1 Reply Last reply Reply Quote 0
            • M
              mohamed8080 @Gertjan
              last edited by

              @Gertjan when i reboot appear this message
              Packages are currently being reinstalled in the background.

              Do not make changes in the GUI until this is complete.

              If the above message is still displayed after a couple of hours, use the 'Clear Package Lock' button on the Diagnostics > Backup & Restore page and reinstall packages manually.

              I waited a long time and did not repair

              And when I removed pkg appear process with pid 20679 still holds the lock

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                When you visit System > Package Manager > Available Packages does it populate ?
                And System > Package Manager > Installed Packages is filling up with your previous packages ?

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                M 1 Reply Last reply Reply Quote 0
                • M
                  mohamed8080 @Gertjan
                  last edited by

                  @Gertjan said in please help:

                  When you visit System > Package Manager > Available Packages does it populate ?
                  And System > Package Manager > Installed Packages is filling up with your previous packages

                  when i visit system package manager appear that's

                  Please wait while packages are reinstalled in the background.

                  when used button to clear the package lock if a package fails to reinstall properly after an upgrade. on Package Functions at DiagnosticsBackup & RestoreBackup & Restore to active package manager

                  cannot reinstall or remove that services
                  process with pid 20679 still holds the lock
                  pkg-static: Cannot get an advisory lock on a database, it is locked by another process
                  Failed

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @mohamed8080
                    last edited by

                    @mohamed8080 said in please help:

                    process with pid 20679 still holds the lock

                    Even after a reboot it keeps saying process "20679 " is holding the lock ? This number doesn't change ?

                    Test your Internet connection and DNS.
                    If one of these is not ok, re installing is impossible and the re install process blocks in the back ground.

                    You could also import a config.xml without any packages, just keep a copy, edit it, and clean all the package info out.
                    Then install them all yourself.
                    Then import the original config.xml, which include all the package settings so you don't have to set them up individually.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mohamed8080 @Gertjan
                      last edited by

                      @Gertjan thanks you are the best

                      the dns is working fine i will be reinstalling asap Because I rely on it very heavily on operating users.
                      Sorry for the inconvenience
                      When reinstalling pfsense, i can take advantage of the backup files by placing without installing any package. Is this correct way for restoring configuration ?

                      GertjanG 1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @mohamed8080
                        last edited by

                        @mohamed8080 said in please help:

                        restoring configuration ?

                        When you re install pfSense, as soon as it's up and running, after you have defined at leat a LAN and WAN interface, so you can connect to the GUI, you can upload the last config.xml .
                        This will find all installed packages, because they are listed in config.xml.
                        This will take some download time, but will, depending on your download speed, bring back your pfSEnse as configured before.

                        Btw : why re installing pfSense if you have many users ?
                        Normally, you would swap another system in - while you upgrade your main system (like a 5 $ worth PC, old you need is an extra NIC or so)

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mohamed8080 @Gertjan
                          last edited by

                          @Gertjan thanks for help

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