[Spce-user] Kamailio-Proxy not start!!!

Jon Bonilla (Manwe) jbonilla at sipwise.com
Thu Jan 30 03:35:31 EST 2014


El Thu, 30 Jan 2014 09:26:39 +0100
aruizmorillas <aruizmorillas at gmail.com> escribió:

> Hello Daniel,
> 
> root at sipwise-3:~# /etc/init.d/kamailio-proxy start
> Starting kamailio-proxy using /etc/kamailio/proxy/kamailio.cfg:
> loading modules
> under /usr/lib/x86_64-linux-gnu/kamailio/modules:/usr/lib/kamailio/modules
> Listening on udp: 127.0.0.1:5062
>               tcp: 127.0.0.1:5062
> Aliases:
> 
> kamailio error, failed to start.
> root at sipwise-3:~# cat /var/log/ngcp/kamailio-proxy.log
> Jan 30 00:47:53 sipwise-3 proxy[36471]: ERROR: lcr [lcr_mod.c:1275]:
> reload_tables(): lcr rule <1> prefix is too long Jan 30 00:47:53 sipwise-3
> proxy[36471]: CRITICAL: lcr [lcr_mod.c:672]: mod_init(): failed to reload lcr
> tables Jan 30 00:47:53 sipwise-3 proxy[36471]: ERROR: <core>
> [sr_module.c:939]: init_mod(): init_mod(): Error while initializing module
> lcr (/usr/lib/x86_64-linux-gnu/kamailio/modules/lcr.so) root at sipwise-3:~#
> 
> 
> thanks in advance
> 
> 

Hi Andrés

You have an invalid lcr rule in your database. This means that in your peering
groups you have a peering rule with an invalid prefix.

If you are not sure what it could be (don't find it in the ngcp-panel) you can
check it manually via mysql command:

select * from kamailio.lcr_rule;
select * from kamailio.lcr_rule where id=1;


Kamailio refuses to start when it finds errors in the database values. You can
put invalid values in some values during runtime and it will continue to work
but when it starts it does some aditional checks and refuses to start. We try to
validate those entries in the ngcp-panel forms though. Please send us the
values so we can evaluate if further checks are needed.

cheers,

Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20140130/a3461ef9/attachment.asc>


More information about the Spce-user mailing list