[SR-Users] How to troubleshoot "ERROR: error while initializing modules"

Sergey Safarov s.safarov at gmail.com
Fri Oct 13 06:36:49 CEST 2017


One similar error i troubleshooted using strace utility with '-f' option.

Sergey

чт, 12 окт. 2017 г. в 23:37, <ron.kamailio at mcleodnet.com>:

> I have built kamailio-5.0.3 from source with no issues.  I have used the
> P-CSCF configuration examples from ./misc/examples/pcscf and the database
> definitions from ./utils/kamctl/mysql.
>
> When I check the configuration file, it is reported to be "ok":
>
> # /usr/local/sbin/kamailio -c
> loading modules under config path: /usr/local/lib64/kamailio/modules/
>  0(10835) INFO: pv [pv_shv.c:60]: shvar_init_locks(): locks array size 16
>  0(10835) INFO: <core> [core/sctp_core.c:75]: sctp_core_check_support():
> SCTP API not enabled - if you want to use it, load sctp module
> Listening on
>              udp: pcscf.core.ims1.test [172.25.152.20]:4060
> Aliases:
>              *: pcscf.core.ims1.test:*
>
> config file ok, exiting...
>
>
>
> But when I attempt  to run the application, it fails with an error message
> "ERROR: error while initializing modules":
>
> # /usr/local/sbin/kamailio -D -d
> loading modules under config path: /usr/local/lib64/kamailio/modules/
> Listening on
>              udp: pcscf.core.ims1.test [172.25.152.20]:4060
> Aliases:
>              *: pcscf.core.ims1.test:*
>
> WARNING: no fork mode
> ERROR: error while initializing modules
>
>
>
> How can I troubleshoot this to determine what the actual error is?  I have
> tried increasing the debug level, but I don't see any additional
> information.
>
> Thanks.
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171013/a2846b6e/attachment.html>


More information about the sr-users mailing list