I need some help here setting up my VPN. Everything is configured properly, but pptpd server fails to start. Here's what happens:

# /etc/init.d/pptpd status
 * /usr/sbin/pptpd is not running
# /etc/init.d/pptpd start
# /etc/init.d/pptpd restart
 * Restarting PoPToP Point to Point Tunneling Server pptpd                 [ OK ]
# /etc/init.d/pptpd status
 * /usr/sbin/pptpd is not running

I see that pptpd is not running, then I start it, nothing happens. I restart it instead, it says OK. When I check the status again, it still isn't running! I have a VPS running Ubuntu Server 14.04.1 LTS. I ran sudo apt-get upgrade and sudo apt-get update just now. I connect from my Windows 8.1 PC. All the config files are filled out according to this guide: Create VPN server using the Ubuntu VPS

Please help, I hope I posted enough information

Joe

share|improve this question
up vote 5 down vote accepted

This is a bug in 14.04, see: https://bugs.launchpad.net/ubuntu/+source/pptpd/+bug/1296835

Just check out the pptpd process with ps aux | grep pptpd, the status target of service pptpd just misleads you, and misleads everybody.

share|improve this answer

i know this already has correct answer but would like to point out how to solve this bug.

Just edit pptpd(/etc/init.d/pptpd) file and add simple "-p" after status_of_proc it should look like this.

status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?

share|improve this answer
    
im happy that it helps – jameshwart lopez Nov 24 '15 at 9:57

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.