openvpn-install
openvpn-install copied to clipboard
Error opening configuration file: server.service.conf
I ran the script on Ubuntu 18.04.4 LTS The VPN server works well except that I get error messages every 5 seconds:
Nov 11 16:11:28 vm8 openvpn[11582]: Options error: In [CMD-LINE]:1: Error opening configuration file: server.service.conf
see https://community.openvpn.net/openvpn/ticket/1353
I don't understand where all these services are coming from - I did not manually set them up.
root@vm8:/var/log# sudo systemctl|grep openvpn
openvpn-iptables.service loaded active exited openvpn-iptables.service
[email protected] loaded active running OpenVPN service for server
[email protected] loaded activating auto-restart OpenVPN service for server.service
openvpn.service loaded active exited OpenVPN service
system-openvpn\x2dserver.slice loaded active active system-openvpn\x2dserver.slice
Can you suggest a fix as we are using this for all our remote user to connect in from our company, and its hard to troubleshoot connection problems with all these errors in the log.
Thanks
Peter
Maybe try this:
locate {server,service,server.service}.conf|grep vpn
it may show existing files, maybe you will need to "copy -p" one of these files to proper paths like:
/etc/openvpn/
/etc/openvpn/server/
or rename the file.
Beside that, discover that you are using correct service, all VPN kind of services you may show using:
sudo systemctl status --all 2>/dev/null|grep -i vpn|grep ●
"journalctl|tail -n 100" may show some details about service issues, or you may enable OVPN logging.
I do not see an issue with the installer, [email protected] is not referenced at all in my script.