Re: Kamailio and Mongodb Module Load Error
Henning Westerholt via sr-users <[email protected]> Fri, 13 Mar 2026 08:48:19 +0000
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <AS8PR07MB7221309273579CE54618741BBF45A@AS8PR07MB7221.eurprd07.prod.outlook.com> |
Hello, just to check for the obvious, you have added also the version table and the necessary content for the permissions module to it? Cheers, Henning > -----Original Message----- > From: Temilolu Fayomi via sr-users <[email protected]> > Sent: Donnerstag, 12. März 2026 18:47 > To: [email protected] > Cc: Temilolu Fayomi <[email protected]> > Subject: [SR-Users] Kamailio and Mongodb Module Load Error > > Hi All, > > I am currently working with kamailio version 6.0.1 and mongodb version > 8.0.17. I'm successfully connecting to my mongodb database which is a replica > set. I'm using the address backend for the permissions module and in my > mongo replica set I have the correct table version 6 with the correct table > name. My fields follow the format id, grp, ip_addr, mask, port and tag. Even > though I've tried deleting and readding the table name and version and my > one table test entry, I get the following errors below. > > ERROR: db_mongodb [mongodb_dbase.c:1065]: db_mongodb_query(): > failed to store result > ERROR: db_mongodb [mongodb_dbase.c:1074]: db_mongodb_query(): > failed to do the query > ERROR: <core> [lib/srdb1/db.c:412]: db_table_version(): error in db_query > ERROR: <core> [lib/srdb1/db.c:473]: db_check_table_version(): querying > version for table address > ERROR: permissions [address.c:510]: init_addresses(): Error during version > check for db table: address, check database structure. > ERROR: permissions [permissions.c:702]: mod_init(): failed to initialize the > allow_address function > ERROR: <core> [core/sr_module.c:1040]: init_mod(): Error while initializing > module permissions (/usr/lib/x86_64-linux- > gnu/kamailio/modules/permissions.so) > > Is the permissions module incompatible with mongo? Any help is appreciated! > > Thank you, > Temi > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions -- sr- > [email protected] > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to the > sender! __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!