OpenVPN service won't start after installation - Debian conf file not found

Use this forum to share your VPN or network disasters. Show diagrams, traffic graphs, or whatever else you need (a video of you letting the 'smoke' out of our network gear).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
central
OpenVpn Newbie
Posts: 1
Joined: Wed Dec 11, 2019 12:26 am

OpenVPN service won't start after installation - Debian conf file not found

Post by central » Wed Dec 11, 2019 12:36 am

Hi,

Debian Stretch VPS

I've recently installed the Open VPN package which when attempting to start gives the following error

Code: Select all

Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/server.conf
I've found the conf file is located in /etc/openvpn/server/

How do I make the system see the location of the file?

Output of sudo openvpn --config /etc/openvpn/server/server.conf

Code: Select all

Options error: --dh fails with 'dh.pem': No such file or directory
Options error: --ca fails with 'ca.crt': No such file or directory
Options error: --cert fails with 'server.crt': No such file or directory
Wed Dec 11 00:34:40 2019 WARNING: cannot stat file 'server.key': No such file or directory (errno=2)
Options error: --key fails with 'server.key': No such file or directory
Options error: --crl-verify fails with 'crl.pem': No such file or directory
Wed Dec 11 00:34:40 2019 WARNING: cannot stat file 'tc.key': No such file or directory (errno=2)
Options error: --tls-crypt fails with 'tc.key': No such file or directory
Options error: Please correct these errors.
Use --help for more information.
Regards

Post Reply