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

PHP Startup: Unable to load Dynamic Library. Help please

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
17 Posts 4 Posters 1.7k 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
    MidKnight
    last edited by May 9, 2019, 11:14 PM

    I needed to reboot the system for some config changes i was doing with vpn setups, but a couple hours before this i had uninstalled squid. other than these, the system had been runnning for 85 days. on reboot i get a screen full of errors as shown in attached picture

    Please advise

    IMG_20190509_2355016.jpg

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by KOM May 10, 2019, 12:10 AM May 10, 2019, 12:03 AM

      Does everything appear to be working ok? Can you still get to WebGUI? Is there a chance it's been doing this every reboot and nobody noticed until now?

      What version of pfSense is this?

      1 Reply Last reply Reply Quote 0
      • M
        MidKnight
        last edited by May 10, 2019, 12:16 AM

        no it wont boot any further than the above ,and most of those options wont work, example type "16" "enter", it just backspaces the number.

        i dont think its being doing this no, though the system hasnt been rebooted in 85 days before today.

        im running 2.4.4-p1. this was its first install about a year ago, and been running great ever since. till now

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by May 10, 2019, 12:17 AM

          Do you have a config.xml backup to restore from, if worse comes to worst?

          1 Reply Last reply Reply Quote 0
          • M
            MidKnight
            last edited by May 10, 2019, 12:21 AM

            no, but i can see the config on the drive under root when i list the dir

            1 Reply Last reply Reply Quote 0
            • K
              KOM
              last edited by KOM May 10, 2019, 12:28 AM May 10, 2019, 12:25 AM

              That's not where it lives so it may be good or it may be old or invalid somehow. I think the current one is under /cf/conf. Copy it off the box and verify that it looks like your config, then use it to restore a fresh installation. You could be back up in 10 minutes. If you have a spare disk, you might want to use that to restore on so that you don't slam your existing broken install, in case you need it again for some reason (custom scripts, squidguard AccessDenied images, anything that wouldn't be saved in config.xml.)

              Note: I'm not sure if package information is saved in that config, so verify that all your packages have metadata in there as well.

              1 Reply Last reply Reply Quote 0
              • M
                MidKnight
                last edited by MidKnight May 10, 2019, 12:28 AM May 10, 2019, 12:28 AM

                yep i can see it under cf/config

                can i attach a usb stick and copy this to it?

                1 Reply Last reply Reply Quote 0
                • K
                  KOM
                  last edited by May 10, 2019, 12:30 AM

                  I don't know if it will automount it or if you have to fiddle with mount manually. If you have enabled SSH then I would get it that way. Otherwise, stick is your only other option.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MidKnight
                    last edited by May 10, 2019, 12:31 AM

                    im not great with linux cmds, will need some help here

                    1 Reply Last reply Reply Quote 0
                    • K
                      KOM
                      last edited by KOM May 10, 2019, 12:44 AM May 10, 2019, 12:35 AM

                      Run:

                      ls /dev/ada*
                      

                      and see what it says, then plug your stick in run it again. That will tell you the device. On my default install, I have ada0 and partitions 1-3. Your stick might show up as ada1.

                      From there, you should be able to mount it via something like

                      mount_msdosfs /dev/ada1 /media/usb
                      

                      assuming the USB stick is ada1.

                      Then you can copy the config.xml file to the /media/usb directory.

                      im not great with linux cmds

                      pfSense is based on FreeBSD, not Linux, so if you're Googling then make sure you use the correct context or you will get bad results.

                      I have a hockey game to go watch so I hope you're on the right track. I'll check back later to see how you made out.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MidKnight
                        last edited by May 10, 2019, 12:53 AM

                        tried that, doesnt show up?IMG_20190510_1043076.jpg

                        1 Reply Last reply Reply Quote 0
                        • M
                          MidKnight
                          last edited by May 10, 2019, 2:00 AM

                          got it mounted, now im getting permission denied when i try to copy it

                          1 Reply Last reply Reply Quote 0
                          • K
                            KOM
                            last edited by KOM May 10, 2019, 2:28 AM May 10, 2019, 2:28 AM

                            Dismount it and then try:

                            mount -t msdosfs -w /dev/ada1 /media/usb
                            

                            assuming the stick is ada1. Change as necessary.

                            1 Reply Last reply Reply Quote 0
                            • A
                              ady2
                              last edited by May 25, 2019, 9:31 PM

                              Same issue with my pfSense, after upgrading to 2.4.4p3 in 2 days it's dead.
                              looks like pfSense files are corrupted some how or is hardware failure I suppose, but the ePSA Pre-boot System Assessment on my Dell T20 doesn't found anything suspicious (all tests even the long ones passed).

                              Did you reinstall pfSense on same hardware and is working for you?

                              1 Reply Last reply Reply Quote 0
                              • M
                                MidKnight
                                last edited by May 26, 2019, 12:08 AM

                                I done a re-install keeping my config, all went well and been running fine since.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  ady2
                                  last edited by May 26, 2019, 5:06 AM

                                  Re-installed pfSense from scratch and restored the config from backup, everything is back and running.
                                  But this situation when for unknown reason the pfSense stopped working completely, it's a bit worrying me.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    JeGr LAYER 8 Moderator
                                    last edited by May 27, 2019, 12:21 PM

                                    @ady2 said in PHP Startup: Unable to load Dynamic Library. Help please:

                                    But this situation when for unknown reason the pfSense stopped working completely, it's a bit worrying me.

                                    You just hopped into the thread with "me too" ;) As no one knows what exactly your problem was, one can't read minds what the reason/solution is. The error above is typical for a system that wasn't on at least version 2.4.3 and had trouble with the update. As the OP wrote he had uninstalled squid it's possible that triggered an update (from an older version, 2.4.2 or older perhaps) that had the problem with not locking various packages so they don't accidentally trigger a package update of only few packages instead of a complete update of pfSense base.

                                    Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                                    If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                      [[user:consent.lead]]
                                      [[user:consent.not_received]]