View Single Post
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.