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

aruizmorillas aruizmorillas at gmail.com
Thu Jan 30 03:43:04 EST 2014


Hi Jon!!

That is correct. The entry for that prefix does not appear in 
NGCP-panel, I created only two rules 346 and 349.
This entry must be a test that has not been removed.

Thanks/Gracias

On 30/01/14 09:35, Jon Bonilla (Manwe) wrote:
> 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
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20140130/1a2f96b2/attachment-0001.html>


More information about the Spce-user mailing list