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

laura testi lau.testi at gmail.com
Tue Jun 21 16:08:40 CEST 2011


Yes, it can be read by all user like other configuration file:
-rw-r--r--   1 root root   566 Jun 20 18:56 ldap.cfg

On Tue, Jun 21, 2011 at 2:33 PM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

>
>
> On 6/21/11 12:33 PM, laura testi wrote:
>
> The LDAP server is running on another machine in the same LAN without any
> firewall.
>
> As by your suggestion, I change the user and group from kamailio to root in
> the /etc/default/kamilio file. Now it works.
>
> Why I can not run the kamailio as the user kamailio as the default
> installation set? (I install the kamilio from rpm and the user and group of
> kamailio are already created by the installation)
>
> wuthout ldap.so, I can run the kamilio from the user kamailio normally when
> I run "service kamailio start" from root.
>
> Is the ldap module configuration file readable by user kamailio?
>
> Cheers,
> Daniel
>
>
>
>
> On Tue, Jun 21, 2011 at 12:07 PM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>>  Hello,
>>
>> interesting, is the ldap server running on same server? Is the connection
>> via local network?
>>
>> When starting as service, kamailio is probably run under user kamailio.
>> Any firewall in place or system restrictions for user 'kamailio'?
>>
>> You can change the user/group for kamailio service in
>> /etc/default/kamailio
>>
>> Cheers,
>> Daniel
>>
>>
> --
> Daniel-Constantin Mierla -- http://www.asipto.comhttp://linkedin.com/in/miconda -- http://twitter.com/miconda
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110621/b64ea0ee/attachment.htm>


More information about the sr-dev mailing list