[sr-dev] [kamailio/kamailio] when using db_text, can't use relative path, only full path is working in kamailio 4.4 (#1224)

Jurijs Ivolga notifications at github.com
Thu Aug 31 12:03:34 CEST 2017


Hi,

Same problem:

 0(1) DEBUG: <core> [sr_module.c:693]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_text [/usr/local/lib64/kamailio/modules/db_text.so]
 0(1) DEBUG: <core> [db.c:209]: db_bind_mod(): using db bind api for db_text
 0(1) DEBUG: <core> [usr_avp.c:882]: parse_avp_ident(): Parsing 'lcr_gw_uri'
 0(1) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$avp(lcr_gw_uri)] added in cache
 0(1) DEBUG: <core> [usr_avp.c:882]: parse_avp_ident(): Parsing 'lcr_ruri_user'
 0(1) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$avp(lcr_ruri_user)] added in cache
 0(1) DEBUG: <core> [usr_avp.c:882]: parse_avp_ident(): Parsing 'lcr_flag'
 0(1) DEBUG: <core> [pvapi.c:293]: pv_cache_add(): pvar [$avp(lcr_flag)] added in cache
 0(1) INFO: db_text [dbt_base.c:92]: dbt_init(): using database at: /usr/local/etc/kamailio/
 0(1) DEBUG: db_text [dbt_lib.c:125]: dbt_cache_get_db(): looking for db /usr/local/etc/kamailio/!
 0(1) DEBUG: db_text [dbt_lib.c:146]: dbt_cache_get_db(): new db!
 0(1) DEBUG: db_text [dbt_file.c:97]: dbt_load_file(): request for table [version]
 0(1) DEBUG: db_text [dbt_file.c:104]: dbt_load_file(): db is [/usr/local/etc/kamailio/]
 0(1) DEBUG: db_text [dbt_file.c:119]: dbt_load_file(): loading file [/usr/local/etc/kamailio/]
 0(1) DEBUG: db_text [dbt_tb.c:181]: dbt_table_new(): mtime is 1504173561
 0(1) ERROR: db_text [dbt_base.c:215]: dbt_query(): table version - too few columns (0 < 1)
 0(1) ERROR: db_text [dbt_base.c:358]: dbt_query(): failed to query the table!
 0(1) ERROR: <core> [db.c:397]: db_table_version(): error in db_query
 0(1) ERROR: <core> [db.c:436]: db_check_table_version(): querying version for table lcr_rule
 0(1) ERROR: lcr [lcr_mod.c:649]: mod_init(): error during table version check
 0(1) ERROR: <core> [sr_module.c:967]: init_mod(): Error while initializing module lcr (/usr/local/lib64/kamailio/modules/lcr.so)
ERROR: error while initializing modules

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1224#issuecomment-326250429
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170831/2f0fcc84/attachment.html>


More information about the sr-dev mailing list