Dpinger wont start after upg to 2.3



  • After upgrade to 2.3, dpinger wont start anymore and I cant edit gateways  from System -> Routing.

    Fatal error: Call to undefined function return_dpinger_defaults() in /usr/local/www/system_gateways_edit.php on line 84 Call Stack: 0.0001 121056 1. {main}() /usr/local/www/system_gateways_edit.php:0 PHP ERROR: Type: 1, File: /usr/local/www/system_gateways_edit.php, Line: 84, Message: Call to undefined function return_dpinger_defaults()

    Status / System Logs / System / Gateways = no logs to display

    How to start dpinger to check errors?



  • That should never happen. return_dpinger_defaults is in /etc/inc/gwlb.inc and should be included by a chain of various include files.

    /etc/inc/gwlb.inc - does it have function return_dpinger_defaults() ?



  • Many thanks, with your help I´ve found the problem. I was using pkg Filer to overwrite gwlb.inc with custom command do restart squid. I´ve fixed it.


  • Rebel Alliance Developer Netgate

    Don't do that. Replacing entire files is a bad idea, and this is one example why. If that was a more critical system file, your config would have rendered any system it was restored on inoperable.

    Using a patch is much better way to accomplish that task, and if things change too much, the patch won't apply, but the system will still be operational.