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

    SG-3100 GUI Broken

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    4 Posts 3 Posters 822 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.
    • G
      glumdalclitch
      last edited by

      After attempting to install pfBlocker package, GUI broken - would only display PHP Error Type 64. I've rebooted SG-3100 and am now on console. Every option in the menu results in
      Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20131226/xml.so (Cannot open "/usr/local/lib/php/20131226/xml.so"), /usr/local/lib/php/20131226/xml.so.so (Cannot open "/usr/local/lib/php/20131226/xml.so.so")) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20131226/zlib.so (Cannot open "/usr/local/lib/php/20131226/zlib.so"), /usr/local/lib/php/20131226/zlib.so.so (Cannot open "/usr/local/lib/php/20131226/zlib.so.so")) in Unknown on line 0

      Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:44
      Stack trace:
      #0 /etc/inc/functions.inc(32): require_once()
      #1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
      #2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
      #3 /etc/rc.initial.setlanip(41): require_once('/etc/inc/config...')
      #4 {main}
      thrown in /etc/inc/certs.inc on line 44

      Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20131226/xml.so (Cannot open "/usr/local/lib/php/20131226/xml.so"), /usr/local/lib/php/20131226/xml.so.so (Cannot open "/usr/local/lib/php/20131226/xml.so.so")) in Unknown on line 0

      Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20131226/zlib.so (Cannot open "/usr/local/lib/php/20131226/zlib.so"), /usr/local/lib/php/20131226/zlib.so.so (Cannot open "/usr/local/lib/php/20131226/zlib.so.so")) in Unknown on line 0

      Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:44
      Stack trace:
      #0 /etc/inc/functions.inc(32): require_once()
      #1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
      #2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
      #3 /etc/rc.banner(24): require_once('/etc/inc/config...')
      #4 {main}
      thrown in /etc/inc/certs.inc on line 44

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

      Enter an option:

      Sure could use some help! Thanks ...

      1 Reply Last reply Reply Quote 0
      • JeGrJ
        JeGr LAYER 8 Moderator
        last edited by

        There are already multiple threads with those PHP warnings and that it most commonly belonged to a half-baked update due to broken dependencies. Did you update to current 2.4.4 first?

        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
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Use 8 to go to the shell and run pfSense-upgrade -d to see what it picks up. If you have no WAN connectivity, then it might be trickier. If your WAN is DHCP you could try running dhclient mvneta2 to get an address temporarily which may let it finish updating what it needs.

          Worst case, you can reinstall using a recovery image.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • G
            glumdalclitch
            last edited by

            Re: SG-3100 GUI Broken
            Thanks @JeGr and @jimp for the suggestions. Looks like I had been on 2.4.3 prior to installing pfBlock. Ended up doing the recovery, back running again.

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