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 0Warning: 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 44Warning: 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- Logout (SSH only) 9) pfTop
- Assign Interfaces 10) Filter Logs
- Set interface(s) IP address 11) Restart webConfigurator
- Reset webConfigurator password 12) PHP shell + pfSense tools
- Reset to factory defaults 13) Update from console
- Reboot system 14) Enable Secure Shell (sshd)
- Halt system 15) Restore recent configuration
- Ping host 16) Restart PHP-FPM
- Shell
Enter an option:
Sure could use some help! Thanks ...
-
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?
-
Use
8
to go to the shell and runpfSense-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 runningdhclient 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.