"Unknown group" Error During OCServ Startup

Young Yang niannong.yang at gmail.com
Fri Feb 27 05:17:41 PST 2015


It worked after I change the user and group to another existed ones.

But I got another error, Did you have this issue before?

Error message:

Feb 27 13:12:02 li888-219 ocserv[32159]: main: initialized ocserv 0.9.2
Feb 27 13:12:02 li888-219 ocserv[32160]: sec-mod: error loading file
'/usr/local/etc/ocserv/server-key.pem '
Feb 27 13:12:02 li888-219 ocserv[32160]: GnuTLS error (at
sec-mod.c:590): Error while reading file.
Feb 27 13:12:02 li888-219 ocserv[32159]: main: tlslib.c:613: error
loading file '/usr/local/etc/ocserv/server-cert.pem '
Feb 27 13:12:02 li888-219 ocserv[32159]: main: tlslib.c:692: error
loading the certificate or key file


Thanks
Young

On Fri, Feb 27, 2015 at 8:59 PM, Young Yang <niannong.yang at gmail.com> wrote:
> Thanks for your reply tefeng, I will try your solution.
>
> On Fri, Feb 27, 2015 at 4:44 PM, tefeng <tefeng.em at gmail.com> wrote:
>> I encountered the same problem before.  And also I found "nobody:nobody"
>> existed in "/etc/passwd".  I don't why the error occurred but replacing them
>> with the other existed user:group solved my problem.
>>
>> regards,
>> tefeng
>>
>>
>> On 2015/2/27 15:58, Young Yang wrote:
>>>
>>> Hi,
>>>
>>> I installed OCServ0.9.2 on CentOS6.5, when I startup the OCServ, I got
>>> below error message:
>>> Unknown group: nobody
>>>
>>> in the conf file, they're set as below
>>> run-as-user = nobody
>>> run-as-group = nobody
>>>
>>> Does anyone can help on this issue?
>>>
>>> Thanks a lot!
>>>
>>> Young
>>>
>>> _______________________________________________
>>> openconnect-devel mailing list
>>> openconnect-devel at lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/openconnect-devel
>>
>>
>
>
>
> --
> Young Yang
> Mobile: +86 13817519583



-- 
Young Yang
Mobile: +86 13817519583



More information about the openconnect-devel mailing list