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

    Upgrade from 2.4.5_1 to 21.02_1 system now wont boot.

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 1 Posters 451 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.
    • D
      david283
      last edited by

      Last night I did a system update to the latest stable release. Sadly I didn't backup config first, hopefully I can recover easily.

      After update the unit wouldn't boot, after consoling in with a USB cable i found these errors on the console screen. I am fairly low tech on these things and could use some assistance recovering from this. I am not sure how to troubleshoot this. =


      FreeBSD/amd64 (Amnesiac) (ttyu1)

      login:
      Password:

      Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20190902/pfSense.so (Shared object "libvstr-1.0.so.0" not found, required by "libstrongswan.so.0"), /usr/local/lib/php/20190902/pfSense.so.so (/usr/local/lib/php/20190902/pfSense.so.so: invalid file format)) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20190902/curl.so (Shared object "libcurl.so.4" not found, required by "curl.so"), /usr/local/lib/php/20190902/curl.so.so (/usr/local/lib/php/20190902/curl.so.so: invalid file format)) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/20190902/mbstring.so (Shared object "libonig.so.5" not found, required by "mbstring.so"), /usr/local/lib/php/20190902/mbstring.so.so (/usr/local/lib/php/20190902/mbstring.so.so: invalid file format)) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/20190902/mcrypt.so (Shared object "libmcrypt.so.4" not found, required by "mcrypt.so"), /usr/local/lib/php/20190902/mcrypt.so.so (/usr/local/lib/php/20190902/mcrypt.so.so: invalid file format)) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20190902/pfSense.so (Shared object "libvstr-1.0.so.0" not found, required by "libstrongswan.so.0"), /usr/local/lib/php/20190902/pfSense.so.so (/usr/local/lib/php/20190902/pfSense.so.so: invalid file format)) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/20190902/rrd.so (Shared object "librrd.so.8" not found, required by "rrd.so"), /usr/local/lib/php/20190902/rrd.so.so (/usr/local/lib/php/20190902/rrd.so.so: invalid file format)) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/20190902/zmq.so (Shared object "libnorm.so.1" not found, required by "libzmq.so.5"), /usr/local/lib/php/20190902/zmq.so.so (/usr/local/lib/php/20190902/zmq.so.so: invalid file format)) in Unknown on line 0

      Fatal error: Uncaught Error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc:74
      Stack trace:
      #0 /etc/inc/interfaces.inc(91): get_interface_arr(false)
      #1 /etc/inc/system.inc(2613): does_interface_exist('igb4')
      #2 /etc/rc.banner(53): system_identify_specific_platform()
      #3 {main}
      thrown in /etc/inc/interfaces.inc on line 74
      PHP ERROR: Type: 1, File: /etc/inc/interfaces.inc, Line: 74, Message: Uncaught Error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc:74
      Stack trace:
      #0 /etc/inc/interfaces.inc(91): get_interface_arr(false)
      #1 /etc/inc/system.inc(2613): does_interface_exist('igb4')
      #2 /etc/rc.banner(53): system_identify_specific_platform()
      #3 {main}
      thrown
      0) Logout (SSH only) 9) pfTop

      1. Assign Interfaces 10) Filter Logs
      2. Set interface(s) IP address 11) Restart webConfigurator
      3. Reset webConfigurator password 12) PHP shell + Netgate pfSense Plus tools
      4. Reset to factory defaults 13) Update from console
      5. Reboot system 14) Enable Secure Shell (sshd)
      6. Halt system 15) Restore recent configuration
      7. Ping host 16) Restart PHP-FPM
      8. Shell

      Enter an option:


      Please assist, thank you!

      1 Reply Last reply Reply Quote 0
      • D
        david283
        last edited by david283

        This issue is resolved.

        I opened a support ticket, and they had me reimage the device with the 21.02_1 image (they linked me the correct image to use). There was an option to recover an existing config before install, and using that I was able to recover my old config.

        System is back up now and working ok, original config intact, so it was an easy recovery.

        I have also learned about the free online config backup service PFsence provides. I will be using that from now on, incase this happens again.

        Thank you.

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