failed to find gid for group openvpn

Need help configuring your VPN? Just post here and you'll get that help.

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
tonyelaltaico
OpenVpn Newbie
Posts: 5
Joined: Sun Nov 13, 2011 6:08 am

failed to find gid for group openvpn

Post by tonyelaltaico » Sun Nov 13, 2011 6:12 am

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

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: failed to find gid for group openvpn

Post by janjust » Sun Nov 13, 2011 10:13 pm

if your configuration file lists
group openvpn
then add a Unix group 'openvpn' (just like 'nogroup').

tonyelaltaico
OpenVpn Newbie
Posts: 5
Joined: Sun Nov 13, 2011 6:08 am

Re: failed to find gid for group openvpn

Post by tonyelaltaico » Mon Nov 14, 2011 9:02 am

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

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: failed to find gid for group openvpn

Post by janjust » Mon Nov 14, 2011 9:05 am

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

tonyelaltaico
OpenVpn Newbie
Posts: 5
Joined: Sun Nov 13, 2011 6:08 am

Re: failed to find gid for group openvpn

Post by tonyelaltaico » Mon Nov 14, 2011 10:04 am

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

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: failed to find gid for group openvpn

Post by janjust » Mon Nov 14, 2011 10:06 am

how do you start openvpn? which command do you use?

tonyelaltaico
OpenVpn Newbie
Posts: 5
Joined: Sun Nov 13, 2011 6:08 am

Re: failed to find gid for group openvpn

Post by tonyelaltaico » Mon Nov 14, 2011 10:16 am

sudo openvpn openvpn.conf

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

Cheers
Altaico

tonyelaltaico
OpenVpn Newbie
Posts: 5
Joined: Sun Nov 13, 2011 6:08 am

Re: failed to find gid for group openvpn

Post by tonyelaltaico » Mon Nov 14, 2011 11:14 am

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: failed to find gid for group openvpn

Post by maikcat » Mon Nov 14, 2011 11:23 am

can you post server config,log file and the contents of /etc/group file?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply