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

Re: [Openvpn-users] new beta15 keeps restarting


  • Subject: Re: [Openvpn-users] new beta15 keeps restarting
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Wed, 3 Nov 2004 12:43:45 -0700 (MST)

On Wed, 3 Nov 2004, Kurt wrote:

> Hi,
> 
> I had beta11 running quite stable for a while. I updated server and all client
> to the new beta15 release and get the following problem:
> 
> After a (not yet defined, but mostly round about an hour) period of time the
> server seems to get a system signal to restart itself. While trying this the
> server crashes when it wants to open the tun interface....sinc it is still open
> from the former process, I guess.
> 
> hier the logs (verb 6)
> Wed Nov  3 14:32:39 2004 us=737347 [0] event_wait : Interrupted system call
> (code=4)
> Wed Nov  3 14:32:39 2004 us=737440 [0] TCP/UDP: Closing socket
> Wed Nov  3 14:32:39 2004 us=737504 [0] /sbin/route del -net 10.8.0.0 netmask
> 255.255.255.0
> SIOCDELRT: Operation not permitted
> Wed Nov  3 14:32:39 2004 us=741444 [0] ERROR: Linux route delete command failed:
> shell command exited with error status: 7
> Wed Nov  3 14:32:39 2004 us=741517 [0] /sbin/route del -net 10.8.0.0 netmask
> 255.255.255.252
> SIOCDELRT: Operation not permitted
> Wed Nov  3 14:32:39 2004 us=745225 [0] ERROR: Linux route delete command 
> failed: shell command exited with error status: 7
> Wed Nov  3 14:32:39 2004 us=745322 [0] Closing TUN/TAP interface
> Wed Nov  3 14:32:39 2004 us=760713 [0] SIGHUP[hard,] received, process 
> restarting
> Wed Nov  3 14:32:39 2004 us=761040 [0] Current Parameter Settings:
> ............................
> ............................
> Wed Nov  3 14:32:39 2004 us=764751 [0] OpenVPN 2.0_beta15 i686-pc-linux [SSL]
> [LZO] [EPOLL] [PTHREAD] built on Nov  3 2004
> Wed Nov  3 14:32:39 2004 us=764784 [0] Restart pause, 2 second(s)
> Wed Nov  3 14:32:41 2004 us=767394 [0] Note: cannot open 
> openvpn-status.log for WRITE
> Wed Nov  3 14:32:41 2004 us=776536 [0] Diffie-Hellman initialized 
> with 1024 bit key
> Wed Nov  3 14:32:41 2004 us=776950 [0] WARNING: file '*******' is group or
> others accessible
> Wed Nov  3 14:32:41 2004 us=777290 [0] TLS-Auth MTU parms 
> [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
> Wed Nov  3 14:32:41 2004 us=777508 [0] Note: Cannot open TUN/TAP dev
> /dev/net/tun: Permission denied (errno=13)
> Wed Nov  3 14:32:41 2004 us=777553 [0] Note: Attempting fallback to 
> kernel 2.2 TUN/TAP interface
> Wed Nov  3 14:32:41 2004 us=779193 [0] Cannot allocate TUN/TAP dev dynamically
> Wed Nov  3 14:32:41 2004 us=779214 [0] Exiting
> 
> In my opinion it is the "Interrupted system call" at the beginning that causes
> this restart. But why should the server want to restart? What application could
> cause this restart? Or could it be that there is somethins wrong with my
> iptables fw settings I use? Any ideas would be appreciated :)

The failure to restart is probably because you are using --user and/or 
--group so that the process no longer has sufficient privilege to open 
the TUN/TAP device, though it doesn't explain where the SIGHUP came from.

How difficult is this to reproduce?

James

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-11/msg00083.html on line 236

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-11/msg00083.html on line 236