[SR-Users] Issue loading ims_dialog module

Vikram Chhibber vikram.chhibber at gmail.com
Sat Jul 2 01:47:15 CEST 2016


Hi Jason,

I got passed this issue. The issue was that dlopen was complaining about
destroy_dlg symbol not found while loading ims_dialog module. I removed the
"inline" key-word from dlg_hash.h/.c for this method and now I am able to
load this module.

Vikram

On Fri, Jul 1, 2016 at 2:25 AM, Jason Penton <jason.penton at smilecoms.com>
wrote:

> Hi Vikram,
>
> Seems really strange. Any way I could get ssh access? You are welcome to
> engage me privately to try and resolve and then we can post resolution to
> the list.
>
> Cheers
> Jason
>
> On Thu, Jun 30, 2016 at 6:08 PM, Vikram Chhibber <
> vikram.chhibber at gmail.com> wrote:
>
>> I installed Kamailio after compiling 4.4 source:
>>
>>
>> Here is the output:
>>
>> ldd /usr/local/lib64/kamailio/modules/ims_dialog.so
>>
>>         linux-vdso.so.1 =>  (0x00007ffdcce69000)
>>
>>         libkmi.so.1 => /usr/local/lib64/kamailio/libkmi.so.1
>> (0x00007fefa3fba000)
>>
>>         libsrdb1.so.1 => /usr/local/lib64/kamailio/libsrdb1.so.1
>> (0x00007fefa3d8a000)
>>
>>         libsrutils.so.1 => /usr/local/lib64/kamailio/libsrutils.so.1
>> (0x00007fefa3b78000)
>>
>>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fefa37a8000)
>>
>>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fefa349f000)
>>
>>         /lib64/ld-linux-x86-64.so.2 (0x000055f20aace000)
>>
>>
>> and this is the mpath set in kamailio.cfg
>>
>> mpath="/usr/local/lib64/kamailio/modules/"
>>
>>
>> Thanks
>>
>> On Thu, Jun 30, 2016 at 12:45 AM, Jason Penton <
>> jason.penton at smilecoms.com> wrote:
>>
>>> Hi Vikram,
>>>
>>> How did you install? From source? from Pkg?
>>>
>>> Also, please send output of:
>>>
>>> ldd /usr/local/lib64/kamailio/modules/ims_dialog.so
>>>
>>>
>>>
>>> On Thu, Jun 30, 2016 at 2:24 AM, Vikram Chhibber <
>>> vikram.chhibber at gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am trying to bring-up PCSCF on releae 4.4 and I am getting errors
>>>> related to loading of ims_dialog module.
>>>> The mpath is set correctly in kamailio.cfg and ims_dialog.so is present
>>>> in that path.
>>>> Interestingly, it is able to load rest of the modules from the same
>>>> locaiton.
>>>>
>>>> ls -lrt /usr/local/lib64/kamailio/modules/ims_dialog.so
>>>> -rwxr-xr-x 1 root root 953760 Jun 29 16:37
>>>> /usr/local/lib64/kamailio/modules/ims_dialog.so
>>>>
>>>> Any pointers will be appreciated.
>>>>
>>>> -- Unit kamailio.service has begun starting up.
>>>> Jun 29 17:08:17 kamailio1 kamctl[2914]: ** INFO: Starting Kamailio :
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: ERROR: <core>
>>>> [sr_module.c:582]: load_module(): could not open module
>>>> </usr/local/lib64/kamailio/modules/ims_dialog.so
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: : <core> [cfg.y:3365]:
>>>> yyerror_at(): parse error in config file
>>>> /usr/local/etc/kamailio//kamailio.cfg, line 169, colum
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: ERROR: <core>
>>>> [modparam.c:150]: set_mod_param_regex(): No module matching <ims_dialog>
>>>> found
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: : <core> [cfg.y:3368]:
>>>> yyerror_at(): parse error in config file
>>>> /usr/local/etc/kamailio//kamailio.cfg, line 313, colum
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: ERROR: <core>
>>>> [modparam.c:150]: set_mod_param_regex(): No module matching <ims_dialog>
>>>> found
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: : <core> [cfg.y:3368]:
>>>> yyerror_at(): parse error in config file
>>>> /usr/local/etc/kamailio//kamailio.cfg, line 314, colum
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: ERROR: <core>
>>>> [modparam.c:150]: set_mod_param_regex(): No module matching <ims_dialog>
>>>> found
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: : <core> [cfg.y:3368]:
>>>> yyerror_at(): parse error in config file
>>>> /usr/local/etc/kamailio//kamailio.cfg, line 315, colum
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: ERROR: <core>
>>>> [modparam.c:150]: set_mod_param_regex(): No module matching <ims_dialog>
>>>> found
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: : <core> [cfg.y:3368]:
>>>> yyerror_at(): parse error in config file
>>>> /usr/local/etc/kamailio//kamailio.cfg, line 316, colum
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: ERROR: <core> [cfg.y:3228]:
>>>> yyparse(): cfg. parser: failed to find command set_dlg_profile (params 1)
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: : <core> [cfg.y:3368]:
>>>> yyerror_at(): parse error in config file
>>>> /usr/local/etc/kamailio//kamailio.cfg, line 1009, colu
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: ERROR: <core> [cfg.y:3228]:
>>>> yyparse(): cfg. parser: failed to find command set_dlg_profile (params 1)
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: : <core> [cfg.y:3368]:
>>>> yyerror_at(): parse error in config file
>>>> /usr/local/etc/kamailio//kamailio.cfg, line 1077, colu
>>>> Jun 29 17:08:17 kamailio1 kamailio[2939]: INFO: <core>
>>>> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
>>>> Jun 29 17:08:20 kamailio1 kamctl[2914]: ** ERROR: PID file
>>>> /var/run/kamailio.pid does not exist -- Kamailio start failed
>>>> Jun 29 17:08:20 kamailio1 systemd[1]: kamailio.service: Control process
>>>> exited, code=exited status=1
>>>> Jun 29 17:08:20 kamailio1 systemd[1]: Failed to start Kamailio SIP
>>>> Server.
>>>> -- Subject: Unit kamailio.service has failed
>>>>
>>>> Thanks
>>>>
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Jason Penton*
>>> *Senior Manager: Applications and Services*
>>> *Smile Communications Pty (Ltd)*
>>>
>>>
>>> *Voice:Mobile:* +234 (0) 702 000 000 7
>>>
>>> +27 (0) 83 283 7000
>>> *Skype:* jason.barry.penton
>>> jason.penton at smilecoms.com <name.surname at smilecoms.com>
>>> www.smilecoms.com
>>>
>>>
>>>
>>> This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/home/email-disclaimer/ <http://www.smilecoms.com/disclaimer>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
>
> *Jason Penton*
> *Senior Manager: Applications and Services*
> *Smile Communications Pty (Ltd)*
>
>
> *Voice:Mobile:* +234 (0) 702 000 000 7
>
> +27 (0) 83 283 7000
> *Skype:* jason.barry.penton
> jason.penton at smilecoms.com <name.surname at smilecoms.com>
> www.smilecoms.com
>
>
>
> This email is subject to the disclaimer of Smile Communications at http://www.smilecoms.com/home/email-disclaimer/ <http://www.smilecoms.com/disclaimer>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160701/b15d0539/attachment.html>


More information about the sr-users mailing list