I’m trying to install openVPN on ubuntu from this tutorial - How To Set Up an OpenVPN Server on Ubuntu 16.04
in Step 9: Start and Enable the OpenVPN Service
when I enter: sudo systemctl status openvpn@server
I get the following output and then Terminal freezes and I can’t do anything other than close Terminal and kill the process:
● openvpn@server.service - OpenVPN connection to server Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled) Active: active (running) since Wed 2018-10-31 14:12:19 EDT; 23s ago Docs: man:openvpn(8) https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage https://community.openvpn.net/openvpn/wiki/HOWTO Process: 18044 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status Main PID: 18046 (openvpn) CGroup: /system.slice/system-openvpn.slice/openvpn@server.service └─18046 /usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status
Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: /sbin/ip route add 10.8.0.0/2 Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: GID set to nogroup Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: UID set to nobody Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: UDPv4 link local (bound): [un Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: UDPv4 link remote: [undef] Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: MULTI: multi_init called, r=2 Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: IFCONFIG POOL: base=10.8.0.4 Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: IFCONFIG POOL LIST Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd ovpn-server[18046]: Initialization Sequence Compl Oct 31 14:12:19 gary-ThinkPad-X1-Carbon-2nd systemd[1]: Started OpenVPN connection to server. ~ ~ lines 1-21/21 (END)
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!
Hello, @djgap
I know it’s been a long time you’ve asked for help and I hope you’ve sorted this. I had a similar issue and what I did was to execute this command in the background as doing this in the foreground was doing the exact same thing.
Then I was able to strace the process ID and see that everything is okay. However I ended up uninstalling it and installing from scratch as this was not a working setup for me.
I hope you’ve managed to sort this as well.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.