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

aruizmorillas aruizmorillas at gmail.com
Thu Jan 30 03:36:17 EST 2014



mysql> select * from lcr_rule;
+----+--------+-------------------+-------------+----------+---------+---------+----------+
| id | lcr_id | prefix | request_uri | from_uri | stopper | enabled | 
group_id |
+----+--------+-------------------+-------------+----------+---------+---------+----------+
| 1 | 1 | ˆ34([6-7][0-9]+) | NULL | NULL | 0 | 1 | 1 |
| 3 | 1 | 349 | NULL | NULL | 0 | 1 | 2 |
| 4 | 1 | 346 | NULL | NULL | 0 | 1 | 1 |
+----+--------+-------------------+-------------+----------+---------+---------+----------+




On 30/01/14 09:31, Daniel Grotti wrote:
> Hi,
>
> looks like you have a problem in kamailio.lcr_rule table, in column
> "prefix".
> Probably you set a peering rule configuring a prefix greater then the
> max lenght allowed.
>
> What's the output of :
>
> mysql> select * from lcr_rule;
>
>
>
> Daniel
>
>
>
>
> On 01/30/2014 09:26 AM, aruizmorillas wrote:
>> 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
>>
>> On 30/01/14 09:09, Daniel Grotti wrote:
>>> Hi,
>>> just try to start kamailio and check /var/log/ngcp/kamailio-proxy.log.
>>> You should see some ERROR line, please paste here the output.
>>>
>>> Daniel
>>>
>>>
>>>
>>>
>>> On 01/29/2014 06:06 PM, Andres Ruiz wrote:
>>>> Hello to all! I am conducting a test sipwise before putting it into
>>>> production . I am very impressed with the work they have done SipWise
>>>> team! Congratulations!
>>>> But today my sipwise not work.
>>>> the proxy does not start because not create fifo
>>>> /var/run/kamailio/kamailio.proxy.fifo
>>>>
>>>> When exec:     #> ngcp-kamctl proxy ul show
>>>>
>>>> ERROR: Error opening Kamailio's FIFO
>>>> /var/run/kamailio/kamailio.proxy.fifo
>>>> ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name",
>>>> "/var/run/kamailio/kamailio.proxy.fifo")' in your config
>>>> ERROR: and also have loaded the mi_fifo module.
>>>>
>>>> the error indicates that the mi_fifo module can not be loaded but I
>>>> found that the configuration file lines appear, the module is in the
>>>> modules folder. I tried to manually start Kamailio with
>>>> "/etc/init.d/Kamailio-proxy start", no luck.
>>>> I have seen the FAQ Kamailio appears precisely that mistake but we
>>>> recommend reviewing the kamailio.conf to check if the module is loaded
>>>> and configured.
>>>>
>>>> What can be happening?
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>> -- 
>>>> Andrés Ruiz
>>>> Depto. Técnico
>>>> aruizmorillas at gmail.com <mailto:aruizmorillas at gmail.com>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Spce-user mailing list
>>>> Spce-user at lists.sipwise.com
>>>> http://lists.sipwise.com/listinfo/spce-user
>>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com
>>> http://lists.sipwise.com/listinfo/spce-user
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user





More information about the Spce-user mailing list