<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,</div>
<div class="moz-cite-prefix">you are right indeed, we have fixed it
starting with mr7.2</div>
<div class="moz-cite-prefix">We are going to backport this to mr6.5
this week. Internal ticket #<span class="value fnt-sm">58692</span></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">As a workaround now you can create an
overrides customtt file on your system like:</div>
<div class="moz-cite-prefix">
<blockquote type="cite">root@spce:~# cat
/etc/ngcp-config/templates/etc/systemd/system/kamailio-lb.service.d/override.conf.customtt.tt2<br>
[Service]<br>
# Amount of shared memory to allocate for the running Kamailio
server (in Mb)<br>
Environment="SHM_MEMORY=[% kamailio.lb.shm_mem %]"<br>
# Amount of private memory for each Kamailio process (in Mb)<br>
Environment="PKG_MEMORY=[% kamailio.lb.pkg_mem %]"<br>
<br>
[Unit]<br>
After=redis-server.service<br>
</blockquote>
<br>
</div>
<div class="moz-cite-prefix">Same for the kamailio-proxy.service.d.
But remove the customtt after eventual update is in place.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Thank you for your bugreport.<br>
</div>
<div class="moz-cite-prefix">Andrew</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 5/11/19 11:24 AM, Henk wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6e68f927-348b-cc35-f2c2-77712665d769@voipdigit.nl">
<p>Hi,</p>
<p>After upgrading to mr6.5.4 and applying the latest patches,
kamailio-proxy still starts with this error and stops:</p>
<p><font size="-1"><tt>May 11 11:06:36 spce proxy[1840]: ERROR:
db_redis [redis_connection.c:124]: db_redis_connect():
cannot open connection to redis://localhost:6379/23:
Connection refused</tt><tt><br>
</tt><tt>May 11 11:06:36 spce proxy[1840]: ERROR: db_redis
[redis_connection.c:226]: db_redis_new_connection(): Failed
to connect to redis db</tt><tt><br>
</tt><tt>May 11 11:06:36 spce proxy[1840]: ERROR: <core>
[db.c:319]: db_do_init2(): could not add connection to the
pool</tt><tt><br>
</tt><tt>May 11 11:06:36 spce proxy[1840]: ERROR: dialog
[dlg_db_handler.c:146]: init_dlg_db(): Unable to connect to
the database</tt><tt><br>
</tt><tt>May 11 11:06:36 spce proxy[1840]: ERROR: dialog
[dialog.c:688]: mod_init(): failed to initialize the DB
support</tt><tt><br>
</tt><tt>May 11 11:06:36 spce proxy[1840]: ERROR: <core>
[core/sr_module.c:990]: init_mod(): Error while initializing
module dialog
(/usr/lib/x86_64-linux-gnu/kamailio/modules/dialog.so)</tt></font><br>
</p>
It looks like dependencies on redis are still not all defined in
systemd.<br>
As I search through the configuration only SEMS and prosody seems
to have a defined dependency
<p>Regards,</p>
<p>Henk</p>
</blockquote>
<p><br>
</p>
</body>
</html>