2.2.2 openVPN fatal error
-
Originally I upgraded from 2.1.5 to 2.2.2 through the automatic update feature. Once it rebooted openVPN would show this error if you went to it in the GUI
After messing with it and rebooting I decided to do a fresh install since I didn't have that many special settings. I downloaded 2.2.2 amd64 and loaded up the install and let it format/create the new partition. Once up and running the exact same thing happened. The error from the screenshot and no openVPN service under services.
Next I tried 2.2.1 to see if it did any different. Downloaded the 2.2.1 amd64, installed, same issue. I tried 2.2.2 i386 and that wouldn't even install. Finally I took the drive out and hooked it to a windows PC. I formatted it in windows, stuck it back in and tried 2.2.2 amd64 again. IT WORKED! I can now access openVPN.
I unhooked it from my test station and back up where it normally goes. Got back in and BAM, same error for openVPN again. I did some digging and found that line 805 shows this:
if (empty($authmodes[0]) && !empty(key($auth_servers)))
Google told me to check my php version which is 5.5.23. Here is where I'm stuck. I do not know where to go from here. Googling hasn't found much else. the processor is an Intel Atom D2500 which is 64 bit.
-
Try this thread:https://forum.pfsense.org/index.php?topic=92737.msg513948#msg513948
It seems there's an upgrade path that can fail in the rather ugly manner you're describing.
Haven't seen it myself, my install has more than 30 OpenVPN clients and it upgraded from 2.2.1->2.2.2 without a hitch.
-
I tried the suggestion in that thread but that didn't help. Also, in the end this was a fresh install on a formatted drive. The upgrade was only at the very beginning. I don't understand why this problem is happening on all 2.2.x installs. I'm going to go back to 2.1.5 this weekend and see if it works then. I guess its my hardware.
-
You're on the correct version. The system must be sane given you've done multiple clean installs, so it must be something with the config. Could you PM me your config, or otherwise get me a copy? Manually browsing to status.php will get you a somewhat cleaned version (no keys, passwords, etc.) that you can copy/paste. Or if you wouldn't mind opening up access WAN-side from my IP so I can log in and check it out, I'll do that. PM me.