<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Andrew,</p>
<p>I updated to the latest patch, but after a reboot kamailio is
still starting before redis is up.</p>
<p>Regards,</p>
<p>Henk<br>
</p>
<div class="moz-cite-prefix">On 14-5-2019 9:02, Andrew Pogrebennyk
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5e92bcc1-9ed6-61e7-ee6e-112ad895438f@sipwise.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Hi,</div>
<div class="moz-cite-prefix">here you go:</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">
<pre class="moz-quote-pre" wrap="">ngcp-kamailio (5.1.7-1+0~mr6.5.4.4) unstable; urgency=medium
[ Andrew Pogrebennyk ]
* [9c08c27] TT#40617 kamailio-lb/proxy: set dependency on redis-server
[ Sipwise Jenkins Builder ]
-- Sipwise Jenkins Builder <a class="moz-txt-link-rfc2396E" href="mailto:jenkins@sipwise.com" moz-do-not-send="true"><jenkins@sipwise.com></a> Mon, 13 May 2019 17:26:18 +0200</pre>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">BR,</div>
<div class="moz-cite-prefix">Andrew<br>
</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>
</blockquote>
</body>
</html>