Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2018-01-09 Thread Mojtaba
Hi, Please check the definition of DBURL in your code. Before i had the same problem, I solved this issue like this: # *** Value defines - IDs used later in config #!ifdef WITH_MYSQL # - database URL - used to connect to database server by modules such # #as: auth_db, acc, usrloc, a.s.o.

Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2018-01-09 Thread Daniel-Constantin Mierla
Hello, can you check that the #!ifdef ... #!endif are properly paired? There is a warning about it: JanĀ  5 19:16:05 kmaongo kamailio: WARNING: [core/ppcfg.c:221]: pp_ifdef_level_check(): different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 1 The error is now in the config

Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2018-01-08 Thread Abdul Basit
Hi Team, Any comments/ guidelines? -- regards, abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445 On 6 January 2018 at 00:39, Abdul Basit wrote: > Hi Daniel & K-Team, > > I setup kamailio 5.0.5 from git on vanilla Debian GNU/Linux 8.3 (jessie) > > # kamailio -v >

[SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2018-01-05 Thread Abdul Basit
Hi Daniel & K-Team, I setup kamailio 5.0.5 from git on vanilla Debian GNU/Linux 8.3 (jessie) # kamailio -v version: kamailio 5.0.5 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC,

Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2018-01-04 Thread Abdul Basit
Hi Daniel, Thank you for your reply. I tested libmongoc with debian package available with repo. Then I moved to compile from source. result was same. But i will try it again with fresh installation and will post here. -- regards, abdul basit On 2 January 2018 at 16:38, Daniel-Constantin

Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2018-01-02 Thread Daniel-Constantin Mierla
Hello, the issue happens inside mongoc library. Have you tried with the default one from Debian, without compiling it from sources? Cheers, Daniel On 01.01.18 16:51, Abdul Basit wrote: > Hi, > > My last email was help for admin review. > > Sharing logs through pastebin

Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2018-01-01 Thread Abdul Basit
Hi, My last email was help for admin review. Sharing logs through pastebin https://pastebin.com/6HhdYLJK Interesting part will start from line 983 where it start initializing ndb_mongodb. On 1 January 2018 at 20:32, Abdul Basit wrote: > Hi, > > I enabled but kamailio

Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2017-12-29 Thread M S
Hi, Enable core dump and provide backtrace of sigfault. See this for more info, https://sourceware.org/gdb/onlinedocs/gdb/Backtrace.html Thank you. On Fri, Dec 29, 2017 at 12:25 PM, Abdul Basit wrote: > Adding further from https://stackoverflow.com/questions/2549214/

Re: [SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2017-12-29 Thread Abdul Basit
Adding further from https://stackoverflow.com/questions/2549214/interpreting-segfault-messages error 6 means, fault is * bit 2 == 1 means kernel, 1 means user-mode * bit 4 == 1 means fault was an instruction fetch That looks like kamailio is trying to invoke for db connection where

[SR-Users] Kamailio fail to start with db_mongodb and ndb_mongodb modules

2017-12-29 Thread Abdul Basit
Hi, I am trying to setup mongo db as database engine for kamailio as described at http://www.kamailio.org/wiki/tutorials/kamailio-and-mongodb and https://telerain.com/kamailio OS: Debian GNU/Linux 8.10 (jessie) MongoDB server version: