[SOLVED] phantom processes
Posted: Mon Oct 31, 2011 12:59 pm
Related to a previous issue had raised when I was having difficulty with the linux client, there is
a strange behaviour, that I can work around by manually killing processes, however it clearly
isn't correct behaviour.
At all times, the server behaves correctly; it is the behaviour of the linux client that is at issue.
I can start the client and the session starts correctly and I can use the session without problems.
Then I shut down the client session using CTRL C and the transcript of the client indicates that all has shut down correctly upon reception of the signal. Then I type:-
ps aux | grep openvpn
This shows me that there are no residual openvpn related processes left running; again what I expected.
Then I shut down the linux box (sudo shutdown -h now) and restart. When the linux box has fully restarted
back to my shell window command line, I again type "ps aux | grep openvpn" but this time I get the
following:-
root 2833 0.0 0.1 4532 2080 ? Ss 12:44 0:00 /usr/sbin/openvpn --writepid /var/run/openvpn.client.pid --daemon ovpn-client --status /var/run/openvpn.client.status 10 --cd /etc/openvpn --config /etc/openvpn/client.conf
root 2843 0.0 0.0 4532 1432 ? Ss 12:44 0:00 /usr/sbin/openvpn --writepid /var/run/openvpn.rclient.pid --daemon ovpn-rclient --status /var/run/openvpn.rclient.status 10 --cd /etc/openvpn --config /etc/openvpn/rclient.conf
Where did that come from ? If I try to open an OpenVPN session withlout killing these two processes,
the session fails to start properly and I can't see my remote LAN. I have to kill these two processes and then
the session will start OK.
Any ideas on this ?
a strange behaviour, that I can work around by manually killing processes, however it clearly
isn't correct behaviour.
At all times, the server behaves correctly; it is the behaviour of the linux client that is at issue.
I can start the client and the session starts correctly and I can use the session without problems.
Then I shut down the client session using CTRL C and the transcript of the client indicates that all has shut down correctly upon reception of the signal. Then I type:-
ps aux | grep openvpn
This shows me that there are no residual openvpn related processes left running; again what I expected.
Then I shut down the linux box (sudo shutdown -h now) and restart. When the linux box has fully restarted
back to my shell window command line, I again type "ps aux | grep openvpn" but this time I get the
following:-
root 2833 0.0 0.1 4532 2080 ? Ss 12:44 0:00 /usr/sbin/openvpn --writepid /var/run/openvpn.client.pid --daemon ovpn-client --status /var/run/openvpn.client.status 10 --cd /etc/openvpn --config /etc/openvpn/client.conf
root 2843 0.0 0.0 4532 1432 ? Ss 12:44 0:00 /usr/sbin/openvpn --writepid /var/run/openvpn.rclient.pid --daemon ovpn-rclient --status /var/run/openvpn.rclient.status 10 --cd /etc/openvpn --config /etc/openvpn/rclient.conf
Where did that come from ? If I try to open an OpenVPN session withlout killing these two processes,
the session fails to start properly and I can't see my remote LAN. I have to kill these two processes and then
the session will start OK.
Any ideas on this ?