On 8 January 2015 at 12:08, Olle E. Johansson oej@edvina.net wrote:
On 08 Jan 2015, at 11:29, Daniel-Constantin Mierla miconda@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 there any earlier errors relating to DMQ module initialization?
On my local instance, if I switch the order of loading modules such that htable is loaded before dmq, I can replicate the issue...
Jan 8 12:59:20 kamailio01 /usr/local/sbin/kamailio[28945]: ERROR: dmq [dmq_funcs.c:35]: register_dmq_peer(): peer list not initialized Jan 8 12:59:20 kamailio01 /usr/local/sbin/kamailio[28945]: ERROR: htable [ht_dmq.c:69]: ht_dmq_initialize(): error in register_dmq_peer Jan 8 12:59:20 kamailio01 /usr/local/sbin/kamailio[28945]: ERROR: htable [htable.c:213]: mod_init(): failed to initialize dmq integration Jan 8 12:59:20 kamailio01 /usr/local/sbin/kamailio[28945]: ERROR: <core> [sr_module.c:945]: init_mod(): Error while initializing module htable (/usr/local/lib64/kamailio/modules/htable.so)
...which of course is expected. But in your case, you have confirmed that you are loading dmq first, so there must be some other issue.
If you start without htable-dmq integration enabled, what is the result of "kamcmd dmq.list_nodes"?
Cheers, Charles