Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

If I try to start OpenVPN, I get this error:

/etc/init.d/openvpn start
* Starting virtual private network daemon(s)...
* Autostarting VPN 'server'
* Already running (PID file exists)

But OpenVPN is not running, what should I do?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Did you read the error message? A Process ID file already exists. Usually this indicated that OpenVPN is already running. When you cleanly shut openVPN down it will remove this file.

If the laptop crashed, OpenVPN crashed or for some other reason this file did not get deleted then you can manually do that.

(In Other words: Make sure that OpenVPN really is not running, then remove the PID file You should find it in /var/run/openvpn/)

share|improve this answer
    
It was /var/run/openvpn.server.pid actually, it worked :) –  HackToHell Dec 14 '12 at 15:16
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.