Page 1 of 1
Openvpn Client failed to find GID for group nogroup
Posted: Sat Jan 02, 2016 12:12 pm
by lzbellina
I am trying to connect to my VPN through my Asus RT-AC68U Router, and it shows in the error log:
Code: Select all
Jan 2 04:01:14 openvpn[7678]: OpenVPN 2.3.2 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Oct 27 2015
Jan 2 04:01:14 openvpn[7678]: Socket Buffers: R=[122880->131072] S=[122880->131072]
Jan 2 04:01:14 openvpn[7678]: failed to find GID for group nogroup: Invalid argument (errno=22)
Jan 2 04:01:14 openvpn[7678]: Exiting due to fatal error
Jan 2 04:06:08 rc_service: httpd 21542:notify_rc restart_vpncall
But Every other client works totally fine, Phone, windows pc's, etc.
I'm a noob at this so I was wondering how to solve this issue!
Re: Openvpn Client failed to find GID for group nogroup
Posted: Sun Jan 03, 2016 12:53 am
by Traffic
lzbellina wrote:Jan 2 04:01:14 openvpn[7678]: failed to find GID for group nogroup: Invalid argument (errno=22)
Do you have a group called nogroup ?
Re: Openvpn Client failed to find GID for group nogroup
Posted: Sun Jan 03, 2016 7:15 am
by lzbellina
I do, as well as a group called "openvpn"
Re: Openvpn Client failed to find GID for group nogroup
Posted: Fri Feb 26, 2016 2:09 pm
by Morten
I have the exact same problem, only on an asus rt-ac87u router
If i list the groups on my host using the "groups" command it only says "root"
If i try to add the group, using the "groupadd nogroup" command, i am informed that the group allready exists.
Re: Openvpn Client failed to find GID for group nogroup
Posted: Sun Feb 28, 2016 8:32 am
by lzbellina
Exactly, with the ASUSMerlin firmware it works fine but the speeds are WAY too slow to be bearable. I'd just rather stick with stock firmware on my router for now but I don't have enough knowledge to figure out what to do to fix that issue.
Re: Openvpn Client failed to find GID for group nogroup
Posted: Sun Jun 26, 2016 8:41 am
by azizLIGHT
I figured out how to make it work with the stock firmware on RT-AC87u. Just make sure your ovpn file says "nobody" for group instead of "nogroup"
Should also work for the other ASUS routers.
Re: Openvpn Client failed to find GID for group nogroup
Posted: Sun Jun 26, 2016 8:44 am
by azizLIGHT
Some clarification:
in the ovpn file, find and change these lines
from:
Code: Select all
# Downgrade privileges after initialization (non-Windows only)
user nobody
group nogroup
to:
Code: Select all
# Downgrade privileges after initialization (non-Windows only)
user nobody
group nobody
Re: Openvpn Client failed to find GID for group nogroup
Posted: Fri May 18, 2018 8:18 pm
by eltrompas
It worked for me. I changed nogroup for nobody on both the server and ovpn file
thx