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

    Unable to find *.so libraries after power loss?

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 Posters 758 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.
    • SparkyRihS
      SparkyRih
      last edited by

      So I'm running the latest version of Pfsense on a Core i5 Mini-PC and a 32GB SSD/4GB of RAM, 4 ethernet ports. The router is used in my new store, which we're still working on.
      So today I accidentally switched off the wrong power group, guess what was on that group... But after I switched it back on, I could not obtain an IP address (WiFi is managed via an AP).

      So I connected a screen to the router, and saw that a lot of *.so files failed to load...

      Luckily I have been able to just re-install while keeping the configuration (YES!), so everything is working perfectly fine again...

      But how could this happen? I've used pfSense for a pretty long time on my VMWare ESXi machines, and I've powered those Pfsense VMs off without any issues, so what went wrong here?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        @SparkyRih said in Unable to find *.so libraries after power loss?:

        so what went wrong here?

        Disk corruption.. As to why you never saw the issue on VM.. those are way different then hardware..

        Yeah hard powering off pfsense, not going to be a good idea..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • SparkyRihS
          SparkyRih
          last edited by

          I would expect software like this to handle a power failre, not?

          GertjanG 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            Why? Its running on freebsd.. Sudden loss of power is never good for any OS.. You could use ZFS vs UFS - suppose to be way better for this sort of thing.

            UFS is never been know for good handling of sudden power loss.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • SparkyRihS
              SparkyRih
              last edited by

              Yeah, now that you mention that... I've never looked into which filesystem it was running :P Well, I've downloaded my config file, and will keep a USB stick ready just in case :D

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                Put it on a UPS would be good idea as well!

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • SparkyRihS
                  SparkyRih
                  last edited by

                  I do need one anyway, especially for the camera system, but that's a late rproject… I'll take the risk for now :)

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

                    @SparkyRih said in Unable to find *.so libraries after power loss?:

                    I would expect software like this to handle a power failre, not?

                    This sofware is actually an OS, using a writable disk storage.
                    Try ripping out the power of any OS (one from Microsoft, Apple, any Linux based one) and you have big chances it will complain when you reboot.

                    If pfSense was ROMable with some RAM as a scratch pad, like your ISP router/modem device, than it would handle better power outages.

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

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