openvpn stop doesn't find pid

Bug #324738 reported by Elan Ruusamäe on 2009-02-03
2
Affects Status Importance Assigned to Milestone
PLD Linux
Undecided
Unassigned

Bug Description

10:12:15 root[load: 1.00]@ravenous /etc/openvpn# ps axwuf|grep openvpn
nobody 19872 0.2 0.1 4152 1884 ? Ss 10:12 0:00 /usr/sbin/openvpn --daemon --writepid /var/run/openvpn/office.pid --config /etc/openvpn/office.conf --cd /etc/openvpn
root 19886 0.0 0.0 0 0 ? H 10:12 0:00 \_ [openvpn]
root 19887 0.0 0.0 4152 528 ? Ss 10:12 0:00 /usr/sbin/openvpn --daemon --writepid /var/run/openvpn/office.pid --config /etc/openvpn/office.conf --cd /etc/openvpn
10:12:23 root[load: 1.00]@ravenous /etc/openvpn# cat /var/run/openvpn/office.pid
19872
10:12:32 root[load: 1.00]@ravenous /etc/openvpn# service openvpn restart office
 * Stopping OpenVPN service........................................[ WORK ]
 * Stopping OpenVPN tunnel office..................................[ BUSY ]No process in pidfile `openvpn/office.pid' found running; none killed.
                                                                   [ FAIL ]
OpenVPN service is already running.
10:12:40 root[load: 1.00]@ravenous /etc/openvpn# q openvpn
openvpn-2.1-0.rc4.6.i686
10:12:43 root[load: 1.08]@ravenous /etc/openvpn# cat /var/run/openvpn/office.pid
19872

10:21:06 root[load: 1.14]@ravenous /etc/openvpn# grep RC_LOGGING /etc/sysconfig/system
RC_LOGGING=no

10:21:11 root[load: 1.13]@ravenous /etc/openvpn# q rc-scripts
rc-scripts-0.4.1.26-1.i686

same problem for openvpn-2.1-0.rc15.1.i686

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers