Active Topics

 


Reply
Thread Tools
Posts: 12 | Thanked: 1 time | Joined on Aug 2007 @ Bristol
#1
Hi All,

I have a problem with openvpn-applet , where once a VPN connection is established , I am unable to disconnect from it.

Has anyone else, come across this before - the work around is to kill the openvpn process using busybox

Cheers,
 
Posts: 40 | Thanked: 43 times | Joined on Oct 2008
#2
I'm having the same issue as well. Killing works.

tarek : )
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#3
Can you give more information, like what is your configuration file name etc? Openvpn Applet uses actually "/etc/init.d/openvpn stop connection_name" to stop connections, so you could test and see if it reports any errors.
 
Posts: 40 | Thanked: 43 times | Joined on Oct 2008
#4
ooooohhh. I think I know the problem then - connection with spaces..

I'll test and get back to you.

tarek : )
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#5
Yeah, space in file name is going to break it. It's a bug in applet and I just might fix it. Using init.d script wasn't good idea anyway.
 
Posts: 40 | Thanked: 43 times | Joined on Oct 2008
#6
Code:
# /etc/init.d/openvpn stop client (3)
-sh: syntax error: "(" unexpected

# /etc/init.d/openvpn stop client\ \(3\)
Stopping virtual private network daemon:sh: (3).pid: unknown operand
 (failure: No such VPN is running: client (3))

# /etc/init.d/openvpn stop "client (3)" 
Stopping virtual private network daemon:sh: (3).pid: unknown operand
 (failure: No such VPN is running: client (3))

# ps ax | grep vpn
 X nobody    X S    /usr/sbin/openvpn --daemon --writepid /var/run/openvp
The problem is fixed when I used a conf file with no spaces.

tarek : )

Last edited by tarek; 2010-02-24 at 01:18.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:05.