Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had stopped openvpn from loading at boot by doing this:

sudo chkconfig openvpn off

Now I want it to load at boot up. So I did this:

sudo chkconfig openvpn on

But it fails and the error I get is: the service might have been converted to upstart job.How can I make it load at boot up? I use ubuntu 10.04

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I don't normally use chkconfig on Ubuntu. It looks like it may have some issues with the newer upstart-based releases.

As a quick fix, use the native update-rc.d script to fix the necessary symlinks:

sudo update-rc.d -f openvpn remove
sudo update-rc.d -f openvpn defaults

That should get you back to a sane state with OpenVPN starting at boot.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.