Hello,
I'm running an OpenVPN server on my Raspberry PI 1 B.
It was running for a long time but a month ago I could not connect anymore.
Found out that the server isn't starting anymore at boot.
Starting manually works
$this->bbcode_second_pass_code('', 'openvpn /etc/openvpn/server.conf # works')
Starting with systemctl doesn't
$this->bbcode_second_pass_code('', 'systemctl start openvpn@server.service
Failed to start openvpn@server.service: Unit openvpn@server.service not found.
')
Looking into the systemd folder i find:
$this->bbcode_second_pass_code('', 'ls -l /etc/systemd/system/multi-user.target.wants/ | grep openvpn
lrwxrwxrwx 1 root root 40 Mar 4 2016 openvpn@server.service -> /usr/lib/systemd/system/openvpn@.service
')
$this->bbcode_second_pass_code('', 'ls -l /usr/lib/systemd/system/ | grep openvpn
-rw-r--r-- 1 root root 701 Sep 28 10:34 openvpn-client@.service
-rw-r--r-- 1 root root 807 Sep 28 10:34 openvpn-server@.service
')
I'm running all commands as root. I know you should never do, but wanted to be safe that it is not a permission thing.
Anybody knows why I can't start the server anymore?