[sr-dev] Trunk: DMQ and hashtables - won't start and crashes
Olle E. Johansson
oej at edvina.net
Thu Jan 8 13:08:44 CET 2015
On 08 Jan 2015, at 11:29, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
> Hello,
>
> also besides the log messages, for the crash case, the backtrace would be useful...
Will hunt for that.
>
> Cheers,
> Daniel
>
> On 08/01/15 09:38, Charles Chance wrote:
>> Hey Olle,
>>
>> Anything in the log?
>>
>>
Listening on
udp: 192.168.40.15:5060
Aliases:
WARNING: no fork mode
0(60369) INFO: cfgutils [cfgutils.c:891]: mod_init(): no hash_file given, disable hash functionality
0(60369) ERROR: dmq [dmq_funcs.c:35]: register_dmq_peer(): peer list not initialized
0(60369) ERROR: htable [ht_dmq.c:69]: ht_dmq_initialize(): error in register_dmq_peer
0(60369) ERROR: htable [htable.c:213]: mod_init(): failed to initialize dmq integration
0(60369) ERROR: <core> [sr_module.c:945]: init_mod(): Error while initializing module htable (/usr/local/lib64/kamailio/modules/htable.so)
ERROR: error while initializing modules
>> Are you loading dmq before htable?
>>
Yes
>> What are your values for dmq modparams?
>>
>>
# Our address
modparam("dmq", "server_address", SERVERADDR)
# Main DMQ node
modparam("dmq", "notification_address", PEERADDR)
# Number of DMQ Workers, def 2
#modparam("dmq", "num_threads", 4)
# Node check interval
modparam("dmq", "ping_interval", 90)
>> Does dmq_send_message() work in default route?
>>
>>
Did not get that far.
/O
>> Cheers,
>>
>> Charles
>> On 8 Jan 2015 07:57, "Olle E. Johansson" <oej at edvina.net> wrote:
>> Using trunk code, I can get DMQ to work by itself. I have three test servers that I take up and down and it seems to work.
>>
>> As soon as I enable DMQ in htable, without enabling any replication of any hash table, Kamailio refuse to start. Seems to be a chicken-and-egg issue, maybe loading order? I could not find a solution.
>>
>> Also, without enabling DMQ, if I use dmq_send_message() in htable:init event route Kamailio crashes.
>>
>> This is all on my OS/X system with latest git code.
>> /O
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>>
>> www.sipcentric.com
>>
>> Follow us on twitter @sipcentric
>>
>> Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.
>>
>> _______________________________________________
>> sr-dev mailing list
>> sr-dev at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150108/5d37abb3/attachment.html>
More information about the sr-dev
mailing list