0

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

nixnotwin
  • 1,513
  • 5
  • 34
  • 54

1 Answers1

1

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.

Insyte
  • 9,314
  • 2
  • 27
  • 45