OpenVPN Server Not Starting

I have followed the tutorial at 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 openvpn-server@server.service
dave@ubuntu-1gb-lon1-01:~$ sudo systemctl status openvpn-server@server.service
● openvpn-server@server.service - 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)
    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[1]: openvpn-server@server.service: Main process exited, code=exited, status=1/FAILURE
Jan 29 11:25:46 ubuntu-1gb-lon1-01 systemd[1]: openvpn-server@server.service: Failed with result 'exit-code'.

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.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Site Moderator
Site Moderator badge
February 6, 2021
Accepted Answer

Hello there

I’ve just setup a droplet using the one click install for the OpenVPN Access Server and everything is working normal:

Could you please make sure that you’re accessing the page with https:// included? The admin URL login is provided at the end of the installation process:

Initial Configuration Complete!

You can now continue configuring OpenVPN Access Server by
directing your Web browser to this URL:

Login as "openvpn" with the same password used to authenticate
to this UNIX host.

During normal operation, OpenVPN AS can be accessed via these URLs:
Admin  UI: https://IP:943/admin
Client UI: https://IP:943/

The port will be 943 if you haven’t changed it during the install process.

Let me know how it goes. Regards, Alex

I know it is an old post, but I believe I had the same error following the same guide for Ubuntu 22.04.

Please run this command to check the logs of OpenVPN service:

sudo journalctl -u openvpn-server@server.service

I had the following error:

failed to find GID for group nobody

Just run this to add a nobody group:

sudo groupadd nobody

Hope this will help someone :)

Can you post your server.conf file with the cert and key info removed?

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel