Siproxd = Call to undefined function
-
Seeing the following error with siproxd, does it require updating to support the new version of PHP? Is the dev still about?
Crash report begins. Anonymous machine information:
amd64
10.1-RELEASE-p3
FreeBSD 10.1-RELEASE-p3 #0 8bdb2f8(releng/10.1)-dirty: Fri Jan 9 10:29:33 CST 2015 root@pfsense-22-amd64-builder:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10Crash report details:
PHP Errors:
[09-Jan-2015 23:33:16 Europe/London] PHP Fatal error: Call to undefined function is_service_running() in /usr/local/pkg/siproxd.inc on line 67
[09-Jan-2015 23:34:24 Europe/London] PHP Fatal error: Call to undefined function is_service_running() in /usr/local/pkg/siproxd.inc on line 67
[09-Jan-2015 23:34:24 Europe/London] PHP Fatal error: Call to undefined function is_service_running() in /usr/local/pkg/siproxd.inc on line 67
[09-Jan-2015 23:34:32 Europe/London] PHP Fatal error: Call to undefined function is_service_running() in /usr/local/pkg/siproxd.inc on line 67 -
Seems to work fine here. I can install it, configure it, start it, stop it, visit every tab, configure it again, etc. No errors are produced.
If it's still broken for you, remove the package, update to a current snapshot, then try installing it again.
-
Updated to yesterdays snapshot, same error after removing and reinstalling. Only other package I have is TFTP.
Crash report begins. Anonymous machine information:
amd64
10.1-RELEASE-p3
FreeBSD 10.1-RELEASE-p3 #0 8bdb2f8(releng/10.1)-dirty: Mon Jan 12 22:24:44 CST 2015 root@pfsense-22-amd64-builder:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_SMP.10Crash report details:
PHP Errors:
[13-Jan-2015 16:06:01 Europe/London] PHP Fatal error: Call to undefined function is_service_running() in /usr/local/pkg/siproxd.inc on line 67
[13-Jan-2015 16:06:02 Europe/London] PHP Fatal error: Call to undefined function is_service_running() in /usr/local/pkg/siproxd.inc on line 67 -
Full install or NanoBSD?
Any other packages installed? -
Full install, fresh from the first 2.2 RC. Only other package TFTP.
-
I was finally able to reproduce it though only by leaving the package installed during a firmware update. After that, it produced the error. I pushed a fix that seems to work for me. Update the package and see if it's OK now.
-
Updated the package to (0.8.0_2 pkg v1.0.2).
Seems to be working fine this morning and forwarding SIP traffic.
Many thanks jimp.