[OpenSIPS-Users] Issue with opensips-3.0.1 using dbtext

Robert Dyck rob.dyck at telus.net
Tue Oct 15 13:54:15 EDT 2019


Never mind. A stupid mistake on my part. I should have just copied from my working 2.4.5 
instead of relying on faulty memory.

On Monday, October 14, 2019 7:32:18 P.M. PDT Robert Dyck wrote:


I am test driving 3.0.1. Using menuconfig I compiled the core, the default modules and extra 
modules mysql, presence, presence_xml and xcap.

Using menuconfig I generated a residential script with auth and presence. I want to use db_text 
with this minimal installation. I tweaked the configuration to load the db_text module and the 
db_url. The configuration appears to be correct as far as syntax is concerned. I recycled the 
"subscriber" table from a working 2.4.5 installation.

Usrloc does not initialize at runtime. Where have I gone wrong?

modparam("usrloc", "working_mode_preset", "single-instance-sql-write-back") 

modparam("auth_db", "db_url", 


Oct 14 19:12:07 [16761] DBG:core:init_mod: register MI for db_text
Oct 14 19:12:07 [16761] DBG:core:init_mod: initializing module usrloc
Oct 14 19:12:07 [16761] DBG:usrloc:mod_init: initializing
Oct 14 19:12:07 [16761] DBG:usrloc:check_runtime_config: ul config: db_mode=-1, 
cluster_mode=0, rrp=1, sql_wm=2
Oct 14 19:12:07 [16761] INFO:usrloc:ul_init_locks: locks array size 512
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_bind_api> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:db_bind_mod: using export interface to bind db_textdb
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_use_table> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_init> in module db_textdb not found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_close> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_query> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_fetch_result> in module db_textdb 
not found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_raw_query> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_free_result> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_insert> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_delete> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_update> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_replace> in module db_textdb not 
found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_last_inserted_id> in module 
db_textdb not found
Oct 14 19:12:07 [16761] DBG:core:find_mod_export: <db_insert_update> in module db_textdb 
not found
Oct 14 19:12:07 [16761] ERROR:core:db_check_api: module db_textdb does not export 
db_use_table function
Oct 14 19:12:07 [16761] ERROR:usrloc:mod_init: failed to bind database module
Oct 14 19:12:07 [16761] ERROR:core:init_mod: failed to initialize module usrloc


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191015/0392c508/attachment.html>


More information about the Users mailing list