[Spce-user] [EXTERNAL] kamailio-proxy fails to start after ngcp-cleanup-acc

Marco Capetta mcapetta at sipwise.com
Tue May 14 03:47:10 EDT 2024


Hi Mikko,

ACC can be cleaned using the "ngcp-cleanup-tools".
The best is setup the "cleanuptools" section in the config.yml file.

Cheers
Marco

On Thu, May 2, 2024 at 11:01 AM mikko puurunen <mikko.puurunen at outlook.com>
wrote:

> Hi,
>
> It's new install about month ago. No upgrades.
> All settings pretty much default.
>
> If manually start kamailio-proxy service after reboot, it works.
>
> But tried just now to replicate this problem same as yesterday and now it
> works ok.
> (restored backup before that)
>
> But this has happened with few times before exactly same.
>
> what is proper way to clean acc, because database is now about 150mb and
> after 6 months it's over 1gb.
>
>
>
>
>
> ------------------------------
> *Lähettäjä:* Marco Capetta via Spce-user <spce-user at lists.sipwise.com>
> *Lähetetty:* torstai 2. toukokuuta 2024 10.04
> *Vastaanottaja:* spce-user at lists.sipwise.com <spce-user at lists.sipwise.com>
> *Aihe:* Re: [Spce-user] [EXTERNAL] kamailio-proxy fails to start after
> ngcp-cleanup-acc
>
> Hi,
>
> is it a new deployed system or is it an upgraded one?
> In the second case, have you already migrated to KeyDB or are you still
> running on Redis?
>
> Can you also check if the KeyDB/Redis is running on your system or not?
>
> Thank you
> Marco
>
>
>
> On Wed, May 1, 2024 at 7:53 PM mikko puurunen <mikko.puurunen at outlook.com>
> wrote:
>
> Hi
>
> Using Sipwise 11.5.1
>
> When running ngcp-cleanup-acc and rebooting. Kamailio-proxy not starting
> at boot.
>
> Error entries in kamalio-proxy.log:
>
> May  1 19:31:44.101588 spce proxy[1424]: ERROR: db_redis
> [redis_connection.c:247]: db_redis_connect(): failed to load LUA script to
> server redis://localhost:6379/23: LOADING KeyDB is loading the dataset in
> memory
> May  1 19:31:44.101605 spce proxy[1424]: ERROR: db_redis
> [redis_connection.c:325]: db_redis_new_connection(): Failed to connect to
> redis db
> May  1 19:31:44.101613 spce proxy[1424]: ERROR: <core> [db.c:324]:
> db_do_init2(): could not add connection to the pool
> May  1 19:31:44.101624 spce proxy[1424]: ERROR: dialog
> [dlg_db_handler.c:149]: init_dlg_db(): Unable to connect to the database
> May  1 19:31:44.101630 spce proxy[1424]: ERROR: dialog [dialog.c:775]:
> mod_init(): failed to initialize the DB support
> May  1 19:31:44.101637 spce proxy[1424]: ERROR: <core>
> [core/sr_module.c:1030]: init_mod(): Error while initializing module dialog
> (/usr/lib/x86_64-linux-gnu/kamailio/modules/dialog.so)
>
> Any help would be nice.
> --
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>
>
>
> --
>
> Sipwise GmbH | an Alcatel-Lucent Company
> Leonard-Bernstein-Straße 10 | 1220 Wien
> Email: invoice at sipwise.com <gfuchs at sipwise.com>
> Website: https://www.sipwise.com
>
> Particulars according Austrian Companies Code paragraph 14
> Geschäftsführer: DI Dr. Gernot Fuchs      Sitz: Wien             FG:
> Landesgericht Wien              FN: 305595f
> Die übermittelten Informationen sind ausschließlich dem Empfänger
> vorbehalten und können vertrauliches oder privilegiertes Material
> enthalten. Ein Gebrauch, Weiterleitung oder Verbreitung in jeglicher Form
> seitens Dritter ist nicht gestattet. Sollten Sie diese Nachricht irrtümlich
> erhalten haben, bitten wir Sie, sich mit dem Absender in Verbindung zu
> setzen und die Nachricht einschließlich der Anlagen zu löschen. Jegliche
> nicht autorisierte Nutzung dieser E-Mail ist illegal.
> Hinweis zum Datenschutz: Sipwise GmbH ist der Schutz Ihrer Daten wichtig.
> Auch durch die Kommunikation per E-Mail werden personenbezogene Daten
> ausgetauscht. Erfahren Sie mehr unter: www.sipwise.com
>
> Managing Director: DI Dr. Gernot Fuchs     HQ: Vienna       FG: Vienna
> Regional Court        FN: 305595f
> Confidentially notice. This e-mail transmission may contain legally
> privileged and/or confidential information. Please do not read it if you
> are not the intended recipient(s). Any use, reproduction or disclosure by
> any other person is prohibited. If you have received this e-mail in error,
> please notify the sender and destroy the original transmission and its
> attachments without reading or saving it in any manner. Any unauthorized
> use of this e-mail is illegal.
> Note on data protection: Sipwise GmbH attaches great importance to the
> protection of your data. Personal data is also exchanged through
> communication by e-mail. Learn more at: www.sipwise.com
>


-- 

Sipwise GmbH | an Alcatel-Lucent Company
Leonard-Bernstein-Straße 10 | 1220 Wien
Email: invoice at sipwise.com <gfuchs at sipwise.com>
Website: https://www.sipwise.com

Particulars according Austrian Companies Code paragraph 14
Geschäftsführer: DI Dr. Gernot Fuchs      Sitz: Wien             FG:
Landesgericht Wien              FN: 305595f
Die übermittelten Informationen sind ausschließlich dem Empfänger
vorbehalten und können vertrauliches oder privilegiertes Material
enthalten. Ein Gebrauch, Weiterleitung oder Verbreitung in jeglicher Form
seitens Dritter ist nicht gestattet. Sollten Sie diese Nachricht irrtümlich
erhalten haben, bitten wir Sie, sich mit dem Absender in Verbindung zu
setzen und die Nachricht einschließlich der Anlagen zu löschen. Jegliche
nicht autorisierte Nutzung dieser E-Mail ist illegal.
Hinweis zum Datenschutz: Sipwise GmbH ist der Schutz Ihrer Daten wichtig.
Auch durch die Kommunikation per E-Mail werden personenbezogene Daten
ausgetauscht. Erfahren Sie mehr unter: www.sipwise.com

Managing Director: DI Dr. Gernot Fuchs     HQ: Vienna       FG: Vienna
Regional Court        FN: 305595f
Confidentially notice. This e-mail transmission may contain legally
privileged and/or confidential information. Please do not read it if you
are not the intended recipient(s). Any use, reproduction or disclosure by
any other person is prohibited. If you have received this e-mail in error,
please notify the sender and destroy the original transmission and its
attachments without reading or saving it in any manner. Any unauthorized
use of this e-mail is illegal.
Note on data protection: Sipwise GmbH attaches great importance to the
protection of your data. Personal data is also exchanged through
communication by e-mail. Learn more at: www.sipwise.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20240514/55ff5907/attachment.htm>


More information about the Spce-user mailing list