This last response was either misdirected (reply to wrong email) or lacks more details, because it feels somehow out of context...
Cheers, Daniel
On 07.11.17 22:10, Trent wrote:
I went ahead and performed the firmware upgrade since it only takes less than 5 minutes to do.
Do report your experience on this.
Trent Creekmore Manager of Support IP PBX Support “Where the Support Comes before the Sale” (408) 414-7515 Extension 404
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Daniel-Constantin Mierla Sent: Tuesday, November 7, 2017 10:46 AM To: hdssdsdsdsfsdf hdssdsdsdsfsdf hdssdsdsdsfsdf@mail.com Cc: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] authenticating to mongodb fails
I do not see any log message with DEBUG (only INFO and WARNING), are you sure you set debug=3 properly?
Cheers, Daniel
On 07.11.17 16:43, hdssdsdsdsfsdf hdssdsdsdsfsdf wrote:
Thanks for looking into this. I set debug=3 which gives the following debug messages. I included the mongod messages, which show a connection and end, but no succesful or failed authentication.
nov 7 15:45:21 kamailio: INFO: <core> [sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module Nov 7 15:45:22 kamailio: WARNING: <core> [socket_info.c:1303]: fix_hostname(): could not rev. resolve <stripped> Nov 7 15:45:22 /opt/kamailio/sbin/kamailio[8905]: INFO: rr [../outbound/api.h:54]: ob_load_api(): unable to import bind_ob - maybe module is not loaded Nov 7 15:45:22 /opt/kamailio/sbin/kamailio[8905]: INFO: rr [rr_mod.c:174]: mod_init(): outbound module not available Nov 7 15:45:22 /opt/kamailio/sbin/kamailio[8905]: INFO: usrloc [hslot.c:51]: ul_init_locks(): locks array size 1024 Nov 7 15:45:22 /opt/kamailio/sbin/kamailio[8905]: INFO: auth [auth_mod.c:333]: mod_init(): auth: qop set, but nonce-count (nc_enabled) support disabled Nov 7 15:45:22 mongod.27017[8038]: [thread1] connection accepted from 127.0.0.1:40737 #20 (2 connections now open) Nov 7 15:45:22 /opt/kamailio/sbin/kamailio[8905]: INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized Nov 7 15:45:22 mongod.27017[8038]: [conn20] end connection 127.0.0.1:40737 (2 connections now open)
Sent: Tuesday, November 07, 2017 at 3:38 PM From: "Daniel-Constantin Mierla" miconda@gmail.com To: "Kamailio (SER) - Users Mailing List" sr-users@lists.kamailio.org, "hdssdsdsdsfsdf hdssdsdsdsfsdf" hdssdsdsdsfsdf@mail.com Subject: Re: [SR-Users] authenticating to mongodb fails
Can you set debug=3 in kamailio.cfg and then look at debug messages to see there is some hint about what happens?
Cheers, Daniel
On 07.11.17 15:11, hdssdsdsdsfsdf hdssdsdsdsfsdf wrote:
When I connect using mongo, the credentials work:
$ mongo kamailio -u "kam" -p "kam" MongoDB shell version v3.4.9 connecting to: mongodb://127.0.0.1:27017/kamailio MongoDB server version: 3.4.9
db.subscriber.find()
{ "_id" : ObjectI ...
But when I use the following DBURL in kamailio.cfg, kamailio fails to even login to mongo:
#!define DBURL "mongodb://kam:kam@localhost/kamailio"
If I disable mongodb authentication, kamailio starts up just fine again. Any idea what's going wrong here?
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - www.asipto.com Kamailio World Conference - www.kamailioworld.com
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - www.asipto.com Kamailio World Conference - www.kamailioworld.com
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users