By asajadidas1
Hello,
I am attempting to setup a VPN server on Ubuntu 16.04 using a Droplet. I followed this tutorial “https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04” here. I did everything exactly as given, however when I tried to use sytemctl to start openvpn, I found out systemd is not installed and server is running with Upstart. Since I am not too familiar with this, I downloaded systemd for Ubuntu 16.04. However, now running $ systemctl start openvpn@servername gives me the error that no such file is found. Running $ systemctl status openvpn gives me the same error in the Loaded section. I check /lib/systemd/system/ and no openvpn service file exists. How can I get sytemctl to recognize openvpn?
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!
You can simply manage the service via init.d (/etc/init.d/openvpn restart) It seems you don’t have systemctl configuration files for openvpn yet. Reading this article surely can help you to create the required files for systemctl https://ask.fedoraproject.org/en/question/23085/how-to-start-openvpn-service-at-boot-time/
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.