Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Can't restart or stop openvpn: it is "already started, but inactive"
Date: Fri, 16 Feb 2018 19:43:52
Message-Id: p67c47$lej$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] Can't restart or stop openvpn: it is "already started, but inactive" by Neil Bothwick
1 On 2018-02-16, Neil Bothwick <neil@××××××××××.uk> wrote:
2 > On Fri, 16 Feb 2018 17:41:43 +0000 (UTC), Grant Edwards wrote:
3 >
4 >> There must be something short of a reboot that will allow me to
5 >> restart a failed openvpn client?
6 >>
7 >> # rc-service openvpn.wr7 stop
8 >> * Stopping openvpn.wr7 ...
9 >> *
10 >> VPNPID='/var/run/openvpn.wr7.pid' [ !! ]
11 >> * ERROR: openvpn.wr7 failed to stop
12 >
13 > rc-service openvpn.wr7 zap?
14
15 Thanks.
16
17 I had resorted to just removing /var/run/openrc/inactive/<whatever>
18
19 Now that I know what to look for, I find it's on the openrc-run man
20 page. (I'd never heard of 'openrc-run' before, so had no idea to look
21 at that page.)
22
23 --
24 Grant Edwards grant.b.edwards Yow! UH-OH!! I put on
25 at "GREAT HEAD-ON TRAIN
26 gmail.com COLLISIONS of the 50's"
27 by mistake!!!