SG-3100 GUI Broken



  • 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 ...


  • Moderator

    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?


  • Rebel Alliance Developer Netgate

    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.



  • 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.