[SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 22 11:50:32 CEST 2011


Thanks for reporting back, taking the chance to forward this email from 
sr-dev to sr-users since the thread was cross-posted to some point, for 
the benefit of future reads of the archive to show the solution of this 
case.

Cheers,
Daniel

On 6/21/11 7:19 PM, laura testi wrote:
> Found the problem after some investigation based on your suggestions. 
> In the openldap configuration file /etc/openldap/ldap.conf, the entry 
> TLS_CACERT is pointed to a certificate file in a directory which is 
> accessible only by root user. After I move the file to a directory 
> which all user can access it, now it works. I can start the kamailio 
> as a service with "service kamailio start" with the running user and 
> group is kamailio.
>
> Thank you all for your helps and suggestions!
>
> Best Regards,
> Laura
>
> On Tue, Jun 21, 2011 at 5:44 PM, laura testi <lau.testi at gmail.com 
> <mailto:lau.testi at gmail.com>> wrote:
>
>     The SELinux is disabled.
>
>
>
>
>     On Tue, Jun 21, 2011 at 5:26 PM, Andrew Pogrebennyk
>     <andrew.pogrebennyk at portaone.com
>     <mailto:andrew.pogrebennyk at portaone.com>> wrote:
>
>         On 21.06.2011 17 <tel:21.06.2011%2017>:30, laura testi wrote:
>
>             Should I need to set a some special environment variable
>             to load ldap.so
>             in the /etc/init.d/kamailio?
>
>
>         The env output for root does not confirm my theory :) I'm not
>         sure what is preventing kamailio from communication with LDAP,
>         could it be that SELinux is enabled and denying it in some way?
>
>         -- 
>         Sincerely,
>         Andrew Pogrebennyk
>
>
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110622/54508afc/attachment-0001.htm>


More information about the sr-users mailing list