[Kamailio-Users] kamailio crashes during connection attempt

Daniel-Constantin Mierla miconda at gmail.com
Tue Feb 9 20:49:14 CET 2010


Hi Dmitri,

your installation is very weird ...

I just took everything, compiled and run with default config file, no 
problem.

Do you build the packages and run them on the same system? Or you have a 
build system and then copy&install on another one?

Please send here the output of:
uname -a
kamailio -V

The changes to the database url should have no effect, as you haven't 
enabled mysql (not visibile in the diff) they are within #!defines that 
are not enabled.

Cheers,
Daniel


On 2/9/10 7:49 PM, Dmitri wrote:
> Hello Daniel,
>
> I have no idea what is wrong with config file, because I only changed 
> default DB passwords in original config.
> May be there were any other commits to git today ?
> Here is diff between current .cfg and .cfg from deb package:
> kamailio:/etc/kamailio# diff ./kamailio.cfg ./kamailio.cfg.orig
> 67c67
> < debug=5
> ---
> > debug=4
> 70c70
> < debug=5
> ---
> > debug=2
> 213c213
> <       "mysql://openser:xxxxxxxxxxxx@localhost/openser")
> ---
> >       "mysql://openser:openserrw@localhost/openser")
> 223c223
> <       "mysql://openser:xxxxxxxxxxxx@localhost/openser")
> ---
> >       "mysql://openser:openserrw@localhost/openser")
> 232c232
> <       "mysql://openser:xxxxxxxxxxxx@localhost/openser")
> ---
> >       "mysql://openser:openserrw@localhost/openser")
> 240c240
> < #     "mysql://openser:xxxxxxxxxxxx@localhost/openser")
> ---
> > #     "mysql://openser:openserrw@localhost/openser")
> 247c247
> < #     "mysql://openser:xxxxxxxxxxxx@localhost/openser")
> ---
> > #     "mysql://openser:openserrw@localhost/openser")
> 261c261
> <       "mysql://openser:xxxxxxxxxxxx@localhost/openser")
> ---
> >       "mysql://openser:openserrw@localhost/openser")
>
>
> BR,
> Dmitri
>
>> there is no crash, but errors in config. Seems you have some 
>> is_method() without parameters:
>> Feb  9 13:19:02 kamailio kamailio[3425]: ERROR: textops 
>> [textops.c:1636]: empty method name
>> Feb  9 13:19:02 kamailio kamailio[3425]:<core>  [mem/q_malloc.c:428]: 
>> qm_free(0x874ba0, 0x8e4a78), called from textops: textops.c: 
>> fixup_method(1637)
>> Feb  9 13:19:02 kamailio kamailio[3425]:<core>  [mem/q_malloc.c:450]: 
>> qm_free: freeing frag. 0x8e4a48 alloc'ed from textops: textops.c: 
>> fixup_method(1626)
>> Feb  9 13:19:02 kamailio kamailio[3425]: ERROR:<core>  
>> [route.c:1026]: fixing failed (code=-1) at 
>> cfg:/etc/kamailio/kamailio.cfg:304
>> Feb  9 13:19:02 kamailio kamailio[3425]: ERROR:<core>  
>> [route.c:1026]: fixing failed (code=-1) at 
>> cfg:/etc/kamailio/kamailio.cfg:308
>> Feb  9 13:19:02 kamailio kamailio[3425]: ERROR:<core>  
>> [route.c:1026]: fixing failed (code=-1) at 
>> cfg:/etc/kamailio/kamailio.cfg:327
>> Feb  9 13:19:02 kamailio kamailio[3425]: ERROR:<core>  
>> [route.c:1026]: fixing failed (code=-1) at 
>> cfg:/etc/kamailio/kamailio.cfg:333
>>    Check the line reported in above logs.
>>
>> Cheers,
>> Daniel
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>

-- 
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
Starting Feb 8, 2010
* http://www.asipto.com/





More information about the sr-users mailing list