Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
OpenVPN Server Not Starting
I have followed the tutorial at https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-ubuntu-20-04 but when I get to the bottom of Chapter 10, my server is not running. Any suggestions. Server status is below.
dave@ubuntu-1gb-lon1-01:~$ sudo systemctl start email@example.com dave@ubuntu-1gb-lon1-01:~$ sudo systemctl status firstname.lastname@example.org ● email@example.com - OpenVPN service for server Loaded: loaded (/lib/systemd/system/openvpn-server@.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2021-01-29 11:25:46 GMT; 1s ago Docs: man:openvpn(8) https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage https://community.openvpn.net/openvpn/wiki/HOWTO Process: 3521 ExecStart=/usr/sbin/openvpn --status /run/openvpn-server/status-server.log --status-version 2 --suppress-timestamps --config server.conf (code=exited, status=1/FAILURE) Main PID: 3521 (code=exited, status=1/FAILURE) Status: "Pre-connection initialization successful" Jan 29 11:25:46 ubuntu-1gb-lon1-01 systemd: firstname.lastname@example.org: Main process exited, code=exited, status=1/FAILURE Jan 29 11:25:46 ubuntu-1gb-lon1-01 systemd: email@example.com: Failed with result 'exit-code'. dave@ubuntu-1gb-lon1-01:~$
Are there any logs files that I can send to assist in resolving this issue?
I have rebooted the droplet and also gone over the instructions with a fine tooth comb. I did omit most of the options marked as ‘optional’ in the tutorial.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×