[Spce-user] [EXTERNAL] Kamailio REDIS error on 10.5.6 with KeyDB

Jiri Ptacnik ptakjura at gmail.com
Wed Mar 20 13:21:30 EDT 2024


thanks,

probably, it started better now, but still, there are some problems...
for example, when I run ngcp-status there is missing stats about
Subscribers / Locations / Calls

Not sure, it is related to Redis/KeyDB, but for sure, something
screwed during some upgrades before...

JP

út 19. 3. 2024 v 10:13 odesílatel Dario Busso <dbusso at sipwise.com> napsal:
>
> You can try to clean up the keyDB space 23.
> You can still use redis-cli command.
> redis-cli -n 23 flushdb
> Dario
>
> On Mon, Mar 18, 2024 at 8:08 PM Jiri Ptacnik <ptakjura at gmail.com> wrote:
>>
>> Hi,
>>
>> I have upgraded SPCE 10.5.6 (from 9.5). During upgrade, I followed
>> manual and setup KeyDB instead of Redis.
>>
>> So Redis daemon is not running, KeyDB is running.
>>
>> But I can see in log this Error demanded Redis from Kamailio proxy,
>> isnt it some way BAD? System mostly works, but there are some
>> problems, for example with redirect to voicemail after specified
>> time...
>>
>>
>> log:
>> Mar 18 18:58:19.593404 spce proxy[1088]: WARNING: db_redis
>> [redis_dbase.c:1521]: db_redis_perform_query(): performing full table
>> scan on table 'location' while doing the query
>> Mar 18 18:58:19.593454 spce proxy[1088]: WARNING: db_redis
>> [redis_dbase.c:1524]: db_redis_perform_query():   scan key 0 is
>> 'expires'
>> Mar 18 18:58:19.593485 spce proxy[1088]: WARNING: db_redis
>> [redis_dbase.c:1524]: db_redis_perform_query():   scan key 1 is
>> 'expires'
>> Mar 18 18:58:43.456493 spce proxy[1055]: ERROR: db_redis
>> [redis_connection.c:237]: db_redis_connect(): failed to load LUA
>> script to server redis://localhost:6379/23: LOADING KeyDB is loading
>> the dataset in memory
>> Mar 18 18:58:43.456562 spce proxy[1055]: ERROR: db_redis
>> [redis_connection.c:311]: db_redis_new_connection(): Failed to connect
>> to redis db
>> Mar 18 18:58:43.456610 spce proxy[1055]: ERROR: <core> [db.c:319]:
>> db_do_init2(): could not add connection to the pool
>> Mar 18 18:58:43.456653 spce proxy[1055]: ERROR: dialog
>> [dlg_db_handler.c:147]: init_dlg_db(): Unable to connect to the
>> database
>> Mar 18 18:58:43.456716 spce proxy[1055]: ERROR: dialog [dialog.c:729]:
>> mod_init(): failed to initialize the DB support
>> Mar 18 18:58:43.456744 spce proxy[1055]: ERROR: <core>
>> [core/sr_module.c:974]: init_mod(): Error while initializing module
>> dialog (/usr/lib/x86_64-linux-gnu/kamailio/modules/dialog.so)
>> Mar 18 19:02:18.748618 spce proxy[1054]: ERROR: db_redis
>> [redis_connection.c:237]: db_redis_connect(): failed to load LUA
>> script to server redis://localhost:6379/23: LOADING KeyDB is loading
>> the dataset in memory
>> Mar 18 19:02:18.748684 spce proxy[1054]: ERROR: db_redis
>> [redis_connection.c:311]: db_redis_new_connection(): Failed to connect
>> to redis db
>> Mar 18 19:02:18.748743 spce proxy[1054]: ERROR: <core> [db.c:319]:
>> db_do_init2(): could not add connection to the pool
>> Mar 18 19:02:18.748784 spce proxy[1054]: ERROR: dialog
>> [dlg_db_handler.c:147]: init_dlg_db(): Unable to connect to the
>> database
>> Mar 18 19:02:18.748824 spce proxy[1054]: ERROR: dialog [dialog.c:729]:
>> mod_init(): failed to initialize the DB support
>> Mar 18 19:02:18.748860 spce proxy[1054]: ERROR: <core>
>> [core/sr_module.c:974]: init_mod(): Error while initializing module
>> dialog (/usr/lib/x86_64-linux-gnu/kamailio/modules/dialog.so)
>> Mar 18 19:04:33.524716 spce proxy[1101]: ERROR: db_redis
>> [redis_connection.c:237]: db_redis_connect(): failed to load LUA
>> script to server redis://localhost:6379/23: LOADING KeyDB is loading
>> the dataset in memory
>> Mar 18 19:04:33.524762 spce proxy[1101]: ERROR: db_redis
>> [redis_connection.c:311]: db_redis_new_connection(): Failed to connect
>> to redis db
>> Mar 18 19:04:33.524785 spce proxy[1101]: ERROR: <core> [db.c:319]:
>> db_do_init2(): could not add connection to the pool
>> Mar 18 19:04:33.524807 spce proxy[1101]: ERROR: dialog
>> [dlg_db_handler.c:147]: init_dlg_db(): Unable to connect to the
>> database
>> Mar 18 19:04:33.524833 spce proxy[1101]: ERROR: dialog [dialog.c:729]:
>> mod_init(): failed to initialize the DB support
>> Mar 18 19:04:33.524855 spce proxy[1101]: ERROR: <core>
>> [core/sr_module.c:974]: init_mod(): Error while initializing module
>> dialog (/usr/lib/x86_64-linux-gnu/kamailio/modules/dialog.so)
>>
>> ---
>>
>> thanks
>> JiriP
>>
>> --
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com



More information about the Spce-user mailing list