2.1 Failure after upgrade
-
Hi,
First of all, thanks for creating/supporting Pfsense !
I'm having some serious issue with my upgrade of Pfsense.
I use Pfsense in active/passive (CARP) environment and tried to upgrade my passive firewall first.I'm encountering some issues, maybe caused by the versions mismatch between setups (2.0.3 Release -> 2.1 Release) but i can't verify this, too risky.
The problem is :
- The yellow warning bar en top right is always displayed but with no text in it (and no acknowledge option)
- The Status : OpenVPN displays : Fatal error: Call to undefined function find_service_by_openvpn_vpnid() in /usr/local/www/status_openvpn.php on line 196
There was absolutely no issue prior to upgrade.
Maybe there is something else, but i don't know where to start looking.
Thanks for help !
PS : Used auto-upgrade with no apparent issue.
-
Alix system? (Guessing)
-
Fatal error: Call to undefined function find_service_by_openvpn_vpnid() in /usr/local/www/status_openvpn.php on line 196
find_service_by_openvpn_vpnid() is in /etc/inc/service-utils.inc - but there is no require_once() call in status_openvpn.php to explicitly include it.
On my system, that code is executing fine. I can display OpenVPN status, and the Road Warrior connected in shows fine, and the service status button etc.
What interesting sequence are you following before displaying OpenVPN status?
Somehow it is getting there without going through anything that includes service-utils.inc -
- The Status : OpenVPN displays : Fatal error: Call to undefined function find_service_by_openvpn_vpnid() in /usr/local/www/status_openvpn.php on line 196
Same here. It's a full install inside VmWare on a HP DL380 server.
-
Alix system?
Nop, sorry.
I'm on two HP DL320 - G6 (Intel(R) Xeon(R) CPU E5606, 2Gb Ram, 4x1Gb Intel for lan).What interesting sequence are you following before displaying OpenVPN status?
Not sure to understand the question, i've just used my mouse to get the "Status" then "OpenVPN" :D
-
Not sure to understand the question, i've just used my mouse to get the "Status" then "OpenVPN"
That's fine, you understood. That's what I am doing also, from the dashboard select "Status", "OpenVPN". It works for me. I was thinking you might have had a direct shortcut to it, or whatever, that resulted in bypassing some dashboard code that included the necessary "service-utils.inc"
Another thought, do you have the OpenVPN status dashboard widget displayed?
I do, and perhaps that ensures the necessary includes are there.
Or maybe something else different in my dashboard settings to yours that makes it OK for me or ?… -
Just added the widget : seems to work as it lists my configs (but no users as it is the passive firewall).
The status page keeps says :
Fatal error: Call to undefined function find_service_by_openvpn_vpnid() in /usr/local/www/status_openvpn.php on line 196However, I'm more worried about the displayed yellow bar with empty message… it seems there is a problem but pfsense doesn't know where it hurts.
-
I've just noticed that CPU usage is stuck at 20% for a long time now.
Another test : I've tried to remove all my OpenVPN config (status page says : "No OpenVPN instance defined" ) and create a new fresh VPN instance , the fatal error is there again…
Seems that something crashed seriously here, don't think that Openvpn is the cause, just the consequence
CPU usage done by :
/usr/sbin/tcpdump -s 256 -v -S -l -n -e -ttt -i pflog0
/usr/sbin/syslogd -s -c -c -l /var/dhcpd/var/run/log -f /var/etc/syslog.confPerist after reboot, exactly the same command
-
it_wyp, check this thread, I've had exactly the same OpenVPN status error, and some others which I discovered by comparing two upgraded pfSense boxes.
Fixed by installing from scratch and restoring back the config.xml… -
Thanks Robi.
I'm a little disappointed about the "fixed by installing from scratch"… will wait a little more before trying that, i prefer to give a chance to community support.
-
will wait a little more before trying that, i prefer to give a chance to community support.
Agree with you, I'll do the same with the system I have at home. But since this was a live production system in an enterprise environment, I didn't want to wait any longer….
-
Actually its an enterprise environment here to.
But as it is "only" my secondary firewall, i can wait a little (unless someone update the active one ::) )
-
Hey Guys, I had the same problem and received an instruction to edit the file /usr/local/www/status_openvpn.php, bellow the line with:
require_once("shortcuts.inc");
Add this:
require_once("service-utils.inc");
This worked for me. Try and report, ok?
-
Hey Guys, I had the same problem and received an instruction to edit the file /usr/local/www/status_openvpn.php, bellow the line with:
require_once("shortcuts.inc");
Add this:
require_once("service-utils.inc");
This worked for me. Try and report, ok?
this worked with me…
-
Hey Guys, I had the same problem and received an instruction to edit the file /usr/local/www/status_openvpn.php, bellow the line with:
require_once("shortcuts.inc");
Add this:
require_once("service-utils.inc");
This worked for me. Try and report, ok?
this worked with me…
this also worked for me! thanks!