<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body>
<div dir="ltr">
<div></div>
<div data-ogsc="" style="">
<div>
<div dir="ltr"></div>
</div>
<div dir="ltr"> What version of MySQL should we be at for kamailio 5.2.2?</div>
<div class="ms-outlook-ios-signature" dir="ltr"><br>
</div>
<div class="ms-outlook-ios-signature" dir="ltr">Thanks,</div>
<div class="ms-outlook-ios-signature" dir="ltr">Martin</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Henning Westerholt <hw@skalatan.de><br>
<b>Sent:</b> Monday, June 8, 2020 4:49:54 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br>
<b>Cc:</b> Martin W Woscek <mwoscek@mitre.org><br>
<b>Subject:</b> [EXT] RE: kamailio 522 S-CSCF failing to start</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"MS PGothic"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
span.x_E-MailFormatvorlage19
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="DE" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="">Hello,</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">the error message below is from the DB startup version check. So do you have sometimes DB errors on this virtual machine?</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Cheers,</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Henning</span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<div>
<p class="x_MsoNormal"><span lang="EN-GB" style="">-- </span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Henning Westerholt ¡V </span><span style=""><a href="https://skalatan.de/blog/"><span lang="EN-GB">https://skalatan.de/blog/</span></a></span><span lang="EN-GB" style=""></span></p>
<p class="x_MsoNormal"><span lang="EN-GB" style="">Kamailio services ¡V </span><span style=""><a href="https://gilawa.com/"><span lang="EN-GB">https://gilawa.com</span></a></span><span style="">
<span lang="EN-GB"></span></span></p>
</div>
<p class="x_MsoNormal"><span lang="EN-GB" style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org>
<b>On Behalf Of </b>Martin W Woscek<br>
<b>Sent:</b> Monday, June 8, 2020 2:46 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br>
<b>Subject:</b> [SR-Users] kamailio 522 S-CSCF failing to start</p>
</div>
</div>
<p class="x_MsoNormal" style="margin-left:35.4pt"> </p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Hello,</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">There are times that our S-CSCF module just wont start. I¡¦ve tried correlating the issue with some operation such as not de-registering an IMS client (Boghe or imsdroid) prior to shutting
 down the Kamailio server.  But this isn¡¦t always the case.  Being that we are running this an a Ubuntu Virtual Machine, simply overwriting the image with a backed up VM is the temporary solution.
</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">I¡¦ve dropped and created the db for S (kamdbctl) and rearranged the order of loading the presence module with same result.</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Status of the S-CSCF daemon on failure to start:</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"># systemctl status kamailio_scscf<br>
¡´ kamailio_scscf.service - LSB: Start the Kamailio SIP proxy server<br>
   Loaded: loaded (/etc/init.d/kamailio_scscf; generated)<br>
   Active: inactive (dead)<br>
     Docs: man:systemd-sysv-generator(8)<br>
<br>
Jun 08 08:22:55 ubuntu /usr/local/sbin/kamailio[16511]: INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ...<br>
Jun 08 08:22:55 ubuntu /usr/local/sbin/kamailio[16511]: INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped<br>
Jun 08 08:22:55 ubuntu /usr/local/sbin/kamailio[16511]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized<br>
Jun 08 08:22:55 ubuntu kamailio_scscf[16495]:  *  already running<br>
Jun 08 08:22:55 ubuntu kamailio_scscf[16495]:    ...done.<br>
Jun 08 08:22:55 ubuntu systemd[1]: Started LSB: Start the Kamailio SIP proxy server.<br>
Jun 08 08:24:03 ubuntu systemd[1]: Stopping LSB: Start the Kamailio SIP proxy server...<br>
Jun 08 08:24:03 ubuntu kamailio_scscf[16517]:  * Stopping Kamailio IMS S-CSCF: kamailio_scscf<br>
Jun 08 08:24:03 ubuntu kamailio_scscf[16517]:    ...done.<br>
Jun 08 08:24:03 ubuntu systemd[1]: Stopped LSB: Start the Kamailio SIP proxy server.<br>
root@ubuntu:~/IMS_manual_scripts# systemctl start kamailio_scscf<br>
root@ubuntu:~/IMS_manual_scripts# systemctl status kamailio_scscf<br>
¡´ kamailio_scscf.service - LSB: Start the Kamailio SIP proxy server<br>
   Loaded: loaded (/etc/init.d/kamailio_scscf; generated)<br>
   Active: active (exited) since Mon 2020-06-08 08:27:23 EDT; 58s ago<br>
     Docs: man:systemd-sysv-generator(8)<br>
  Process: 16543 ExecStart=/etc/init.d/kamailio_scscf start (code=exited, status=0/SUCCESS)<br>
<br>
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: ERROR: <core> [db.c:457]: db_check_table_version(): invalid version 0 for table presentity found, expected 5 (check table structure and ta<br>
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: ERROR: presence [presence.c:367]: mod_init():
<span style="background:yellow">error</span> during table version check<br>
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: ERROR: <core> [core/sr_module.c:898]: init_mod():
<span style="background:yellow">Error</span> while initializing module presence (/usr/local/lib64/kamailio/modules/presence.so)<br>
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: WARNING: <core> [core/mem/q_malloc.c:480]: qm_free(): WARNING: free(0) called from cdp_avp: cdp_avp_mod.c: cdp_avp_destroy(226)<br>
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ...<br>
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped<br>
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized<br>
Jun 08 08:27:23 ubuntu kamailio_scscf[16543]:  *  already running<br>
Jun 08 08:27:23 ubuntu kamailio_scscf[16543]:    ...done.<br>
Jun 08 08:27:23 ubuntu systemd[1]: Started LSB: Start the Kamailio SIP proxy server.</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Any insight is appreciated.</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">Thanks,</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US">_Martin</span></p>
<p class="x_MsoNormal" style="margin-left:35.4pt"><span lang="EN-US"> </span></p>
</div>
</div>
</body>
</html>