<div dir="ltr">Dear colleagues,<div><br></div><div>I've installed a Galera cluster with a HAProxy that kamailio interacts with. </div><div>Kamailio's DBURL is linked to the proxy that will contact the databases.</div><div>Kamailio works fine except when I need to reload something from the database (Using kamctl).</div><div><br></div><div>When cache and database are the same I receive </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">sudo kamctl address reload<br>{<br>  "jsonrpc":  "2.0",<br>  "result": "Reload OK",<br>  "id": 13111<br>}</blockquote><div><br></div><div>Now when I have something using kamctl, it still works and is replaced on all my databases.  </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">sipsecure@kamailio:~$ sudo kamctl address add 0 192.168.48.15 32 0 Test<br>-e \E[37;33mINFO: execute '/sbin/kamctl address reload' to synchronize cache and database</blockquote><div><br></div><div><br></div><div> Then when i try to reload i receive </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">sipsecure@kamailio:~$ sudo kamctl address reload<br>{<br>  "jsonrpc":  "2.0",<br>  "error":  {<br>    "code": 500,<br>    "message":  "Reload failed."<br>  },<br>  "id": 13504<br>}</blockquote><div><br></div><div>And when I'm going to read my logs to see a error, I only see that little sentence </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Mar 25 17:14:40 kamailio /usr/sbin/kamailio[13343]: ERROR: permissions [address.c:233]: reload_address_db_table(): database problem - invalid record</blockquote><div><br></div><div>Could I have some explanation ?</div><div><br></div><div>Thank you.</div><div> </div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>