[solved]broken ruleset while winning the dumbass_of_the_week-award
-
hi,
after updating to the latest snapshot, my pfsense failed to provide me with the interwebs & webgui was not working.
after restarting php-fpm & restarting webgui, i was able to get to the dashboard & noticed the crash-report.it might be my own fault, but i can't imagine how i would have done this. ;)
i got it back online by removing quagga-ospf & Service_Watchdog.
if i re-install either of them everything will work, until i reboot: then it goes bad againi386 10.2-STABLE FreeBSD 10.2-STABLE #237 cfe34c6(devel): Mon Dec 21 07:31:18 CST 2015 root@pfs23-i386-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense
crash report:
[21-Dec-2015 17:40:08 Europe/Brussels] PHP Fatal error: Cannot redeclare openvpn_build_mode_list() (previously declared in /etc/inc/openvpn.inc:125) in /etc/openvpn.inc on line 125 [21-Dec-2015 17:40:08 Europe/Brussels] PHP Stack trace: [21-Dec-2015 17:40:08 Europe/Brussels] PHP 1\. {main}() /etc/rc.bootup:0 [21-Dec-2015 17:40:08 Europe/Brussels] PHP 2\. filter_configure_sync() /etc/rc.bootup:266 [21-Dec-2015 17:40:08 Europe/Brussels] PHP 3\. filter_nat_rules_generate() /etc/inc/filter.inc:263 [21-Dec-2015 17:40:08 Europe/Brussels] PHP 4\. discover_pkg_rules() /etc/inc/filter.inc:2287 [21-Dec-2015 17:40:08 Europe/Brussels] PHP 5\. require_once() /etc/inc/filter.inc:4090 [21-Dec-2015 17:40:08 Europe/Brussels] PHP 6\. require_once() /usr/local/pkg/quagga_ospfd.inc:34
[21-Dec-2015 19:23:34 Europe/Brussels] PHP Fatal error: Cannot redeclare openvpn_build_mode_list() (previously declared in /etc/inc/openvpn.inc:125) in /etc/openvpn.inc on line 125 [21-Dec-2015 19:23:34 Europe/Brussels] PHP Stack trace: [21-Dec-2015 19:23:34 Europe/Brussels] PHP 1\. {main}() /etc/rc.bootup:0 [21-Dec-2015 19:23:34 Europe/Brussels] PHP 2\. filter_configure_sync() /etc/rc.bootup:266 [21-Dec-2015 19:23:34 Europe/Brussels] PHP 3\. filter_nat_rules_generate() /etc/inc/filter.inc:263 [21-Dec-2015 19:23:34 Europe/Brussels] PHP 4\. discover_pkg_rules() /etc/inc/filter.inc:2287 [21-Dec-2015 19:23:34 Europe/Brussels] PHP 5\. require_once() /etc/inc/filter.inc:4090 [21-Dec-2015 19:23:34 Europe/Brussels] PHP 6\. require_once() /usr/local/pkg/servicewatchdog.inc:32
Dec 21 20:53:35 php-cgi rc.bootup: PHP ERROR: Type: 1, File: /etc/openvpn.inc, Line: 125, Message: Cannot redeclare openvpn_build_mode_list() (previously declared in /etc/inc/openvpn.inc:125)
it looks like openvpn.inc gets loaded twice during boot & causes a shitload of issues ??
i looked at some of the recent commits, but haven't been able to locate anything that could be related -
References there to /etc/openvpn.inc which only exists in /etc/inc/, you copy an extra openvpn.inc over into the wrong directory maybe?
-
Thanks for pointing that out. I completely missed that.
Will try when i get home, but its very likely ive scp'd into the wrong dir at one point over the last couple of days while debugging a different issue.
yep, its official, i fckdup ;)