2.1.1 Hangs with General protection rip error

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
randyw
OpenVpn Newbie
Posts: 2
Joined: Sat Sep 04, 2010 12:10 pm

2.1.1 Hangs with General protection rip error

Post by randyw » Sat Sep 04, 2010 12:25 pm

Hello,

System is a VM instance of Red Hat Enterprise Linux Server release 5.4 (Tikanga)
with uname -a showing:
Linux <my hostname> 2.6.18-164.15.1.el5xen #1 SMP Mon Mar 1 11:11:42 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
Twice in the past week I have had the OpenVPN 2.1.1 server stop listening on it's socket.
I am using tcp/<non-standard socket number>
The first time it happened I did a netstat -an | grep <non-standard socket number> and found nothing listening on that port as is the usual case. The second time I was out of the office and somebody did the stop/start using the /etc/init.d script, so I don't know what the socket state was.
There was nothing exciting in the openvpn.log file.
In /var/log/messages I found:
Aug 30 20:45:31 dev kernel: openvpn[1498] general protection rip:2b5561a95cc2 rsp:7fff3d5a17d8 error:0
and;
Sep 2 14:30:24 dev kernel: openvpn[8757] general protection rip:2b788ef71cc2 rsp:7fff5e06f8e8 error:0
Which are the times that OpenVPN stopped accepting connections.

I am using unix usename/passwords for authentication.
server.conf below.

Has anybody seen this or have any idea what has caused it to happen.
I have upgraded from 2.1.1 to 2.1.3 and changed logging verb from 3 to 4 (this was yesterday and the system has not hung again yet).

Thanks for any help.

Randy

server.conf:
dev tun
proto tcp
port <my non-standard port>
keepalive 10 120
server x.x.x.x 255.255.255.0
duplicate-cn
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
plugin /etc/openvpn/openvpn-auth-pam.so login
client-cert-not-required
username-as-common-name
script-security 2
comp-lzo
verb 4
persist-key
persist-tun
status openvpn-status.log
log-append /var/log/openvpn.log

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: 2.1.1 Hangs with General protection rip error

Post by krzee » Tue Sep 07, 2010 3:36 am

googling your error makes me think it could be the plugin crashing
can you verify that the PID reported is openvpn or the plugin itself?
step 1 when something crashes like that should be to check if you have the newest version, so upgrade to 2.1.3 ;)

Post Reply