Page 1 of 1

failed to find gid for group openvpn

Posted: Sun Nov 13, 2011 6:12 am
by tonyelaltaico
Hello


I am using Ubuntu Operating System while connecting with VPN.

While trying to connect by VPN, I came across with this error : "failed to find gid for group openvpn"

Could you please show me a way to fix this error ?

I used to get this error before "failed to find gid for group nogroup" . I solved this issue by adding nogroup. But after it has been solved now I come across with that error "failed to find gid for group openvpn".

Cheers
Altaico

Re: failed to find gid for group openvpn

Posted: Sun Nov 13, 2011 10:13 pm
by janjust
if your configuration file lists
group openvpn
then add a Unix group 'openvpn' (just like 'nogroup').

Re: failed to find gid for group openvpn

Posted: Mon Nov 14, 2011 9:02 am
by tonyelaltaico
I still come across with same error :(

I changed group under /etc by typing vi command and I added nogroup.

But I still come across with same error

Re: failed to find gid for group openvpn

Posted: Mon Nov 14, 2011 9:05 am
by janjust
post your server config file, so we can see what you are trying to achieve.
Note that simply editing the /etc/group file may not be enough - I'd recommend to use

Code: Select all

/usr/sbin/groupadd openvpn

Re: failed to find gid for group openvpn

Posted: Mon Nov 14, 2011 10:04 am
by tonyelaltaico
Hello janjust

Thanks for your message.I have added from group as well by using /usr/sbin/groupadd openvpn .. But I still come across with same error.

By the way there is no server.conf file in the /etc/openvpn/ I have only update-resolve-conf file under /etc/openvpn. It is what you need?

Cheers
Altaico

Re: failed to find gid for group openvpn

Posted: Mon Nov 14, 2011 10:06 am
by janjust
how do you start openvpn? which command do you use?

Re: failed to find gid for group openvpn

Posted: Mon Nov 14, 2011 10:16 am
by tonyelaltaico
sudo openvpn openvpn.conf

I can post my openvpn.conf file if you want.

Cheers
Altaico

Re: failed to find gid for group openvpn

Posted: Mon Nov 14, 2011 11:14 am
by tonyelaltaico
certs and .conf file reside on the same path. I do not understand what cause this problem . I can see the openvpn group when i edit the group file under /etc folder .

Any help will be appreciated

Re: failed to find gid for group openvpn

Posted: Mon Nov 14, 2011 11:23 am
by maikcat
can you post server config,log file and the contents of /etc/group file?

Michael.