[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Route deletion fails on restart of OpenVPN server.


  • Subject: Re: [Openvpn-users] Route deletion fails on restart of OpenVPN server.
  • From: Dave Page <grimoire@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Tue, 08 Nov 2005 15:28:23 +0000

Cyber Dog wrote:

> Nov  7 14:22:12 localhost ovpn-server[7174]: route del -net
> 192.168.5.0 netmask 255.255.255.0
> Nov  7 14:22:12 localhost ovpn-server[7174]: ERROR: Linux route delete
> command failed: shell command exited with error status: 7
> Nov  7 14:22:12 localhost ovpn-server[7174]: Closing TUN/TAP interface
> Nov  7 14:22:12 localhost ovpn-server[7174]: SIGTERM[hard,] received,
> process exiting

> As I stated, this crashes the restart script and it fails to actually
> _start_ again afterward. Is anyone else familiar with this problem? 
> Thanks...

There are actually two problems here, both listed on the Debian Bug
Tracking System [1]. The restart part of the initscript failing is
covered by bug #317339 [2] and is a simple fix. The second is covered by
bug #309781 [3] among others, and is probably caused by OpenVPN dropping
privileges. I'm not aware of a workaround for this currently.

Dave

[1]
http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkg&data=openvpn&archive=no&dist=stable
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317339
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309781

Attachment: signature.asc
Description: OpenPGP digital signature