PHP errors
-
Crash report details:
PHP Errors:
[06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20170718/curl.so (Shared object "libnghttp2.so.14" not found, required by "libcurl.so.4"), /usr/local/lib/php/20170718/curl.so.so (Cannot open "/usr/local/lib/php/20170718/curl.so.so")) in Unknown on line 0
[06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20170718/pfSense.so (Shared object "libvstr-1.0.so.0" not found, required by "libstrongswan.so.0"), /usr/local/lib/php/20170718/pfSense.so.so (Cannot open "/usr/local/lib/php/20170718/pfSense.so.so")) in Unknown on line 0
[06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/20170718/rrd.so (Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0"), /usr/local/lib/php/20170718/rrd.so.so (Cannot open "/usr/local/lib/php/20170718/rrd.so.so")) in Unknown on line 0
[06-Apr-2020 20:57:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/20170718/zmq.so (Shared object "libnorm.so.1" not found, required by "libzmq.so.5"), /usr/local/lib/php/20170718/zmq.so.so (Cannot open "/usr/local/lib/php/20170718/zmq.so.so")) in Unknown on line 0
[06-Apr-2020 15:57:00 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc:69
Stack trace:
#0 /etc/inc/interfaces.inc(86): get_interface_arr(true)
#1 /etc/inc/interfaces.inc(5654): does_interface_exist('wan', true)
#2 /etc/inc/pfsense-utils.inc(1602): get_real_interface('wan')
#3 /usr/local/bin/telegraf_pfinterface.php(11): get_interface_info('wan')
#4 {main}
thrown in /etc/inc/interfaces.inc on line 69I am getting the following PHP errors on my pfsense install that is still working from a routing aspect but I am unable to find out why these errors are happening.
The so files are in the directory but I cannot find those shared objects anywhere?
-
I found the shared objects and they are symlinked to another file right next to it but for some reason it can't find them, I think this started happening when i installed the sudo package from the package manager.
-
After 2.4.5 came out, there was a warning not to upgrade packages until you go to 2.4.5. You might want to update the firewall if you are still on 2.4.4
-
@dotdash I installed this after upgrading to 2.4.5, I wonder if there is a compatibility issue here?
-
Maybe. You might want to change the title to something like 'php errors after installing sudo' and see if you can get someone like @johnpoz to move the thread to the package section.
-
I went ahead and just blew everything away and started over. Once I rebooted and everything was down I figured it was time to start over.