<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Texte brut Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.TextebrutCar
        {mso-style-name:"Texte brut Car";
        mso-style-priority:99;
        mso-style-link:"Texte brut";
        font-family:"Calibri",sans-serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1625771192;
        mso-list-type:hybrid;
        mso-list-template-ids:84049660 1908046240 67895299 -9667146 67895297 67895299 67895301 67895297 67895299 67895301;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0F0;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:Calibri;
        color:windowtext;
        mso-ansi-font-style:italic;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Hi Henning,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Some update since recent discussions about the changes between 5.0.1 and 5.0.7 with Sergey Safarov :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US style='color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>          </span></span></span><![endif]><span lang=EN-US style='color:#1F497D'>The mod_perl module had been introduced by mistake in the 5.0.7 stream so that new packages are now available (5.0.7-7) without this module, packages I use to upgrade my server.<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span lang=EN-US style='color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>          </span></span></span><![endif]><span lang=EN-US style='color:#1F497D'>Once the upgrade done to 5.0.7-7 level, I reported 2 problems :<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:18.0pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:54.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><![if !supportLists]><span lang=EN-US style='font-family:"Courier New";color:#1F497D'><span style='mso-list:Ignore'>o<span style='font:7.0pt "Times New Roman"'>   </span></span></span><![endif]><span lang=EN-US style='color:#1F497D'>An error reported by the jsonrpcs module : </span><i><span lang=EN-US>ERROR: jsonrpcs [jsonrpcs_fifo.c:82]: jsonrpc_init_fifo_server(): Failed to change the owner/group for /var/run/kamailio/kamailio_rpc_fifo  to 248.248; Operation not permitted[1]</span></i><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:54.0pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:90.0pt;text-indent:-18.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span lang=EN-US style='font-family:Wingdings'><span style='mso-list:Ignore'>ð<span style='font:7.0pt "Times New Roman"'>  </span></span></span><![endif]><span lang=EN-US style='color:#1F497D'>It is fixed now by configuring the USER/GROUP parameters with the correct values in the systemd unit file <o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:54.0pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:54.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1'><![if !supportLists]><span lang=EN-US style='font-family:"Courier New";color:#1F497D'><span style='mso-list:Ignore'>o<span style='font:7.0pt "Times New Roman"'>   </span></span></span><![endif]><span lang=EN-US style='color:#1F497D'>An error to open the MySQL: </span><i><span lang=EN-US>ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")</span></i><span lang=EN-US style='color:#1F497D'><o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:54.0pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt;text-indent:-18.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span lang=EN-US style='font-family:Wingdings'><span style='mso-list:Ignore'>ð<span style='font:7.0pt "Times New Roman"'>  </span></span></span><![endif]><span lang=EN-US style='color:#1F497D'>Initially on my Kamailio with 5.0.1, I had created these 2 symbolic links to get the connection to the local MySQL server:<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoListParagraph style='margin-left:70.9pt'><i><span lang=EN-US>#Symbolic links for the MySQL to MariaDB change to allow kamailio to locate the mysql libs and then open the siprouter database<o:p></o:p></span></i></p><p class=MsoListParagraph style='margin-left:70.9pt'><b><i><span lang=EN-US>ln -s /opt/mysql/na/10.2.14/lib64/libmysqlclient.so.18.0.0 /usr/lib64/libmysqlclient.so.18<o:p></o:p></span></i></b></p><p class=MsoListParagraph style='margin-left:70.9pt'><b><i><span lang=EN-US>ln -s /myqdata/mysiprdb/data/my.cnf /etc/my.cnf<o:p></o:p></span></i></b></p><p class=MsoListParagraph style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'>This was good for kamailio to open the local MySQL server, but it failed to reload a Hash table; the kamcmd htable.reload propertiesHash returns a problem :<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoPlainText style='margin-left:106.2pt'><span lang=EN-US>kamcmd htable.reload propertiesHash<o:p></o:p></span></p><p class=MsoPlainText style='margin-left:106.2pt'><span lang=EN-US>error: 500 - Failed to open htable db connection<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'>The kamailio.log reported that it can't connect the db :<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:106.2pt'><span lang=EN-US>DEBUG: <core> [core/sr_module.c:694]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/lib64/kamailio/modules/db_mysql.so]<o:p></o:p></span></p><p class=MsoNormal style='margin-left:106.2pt'><span lang=EN-US>DEBUG: <core> [db.c:209]: db_bind_mod(): using db bind api for db_mysql<o:p></o:p></span></p><p class=MsoNormal style='margin-left:106.2pt'><span lang=EN-US>DEBUG: <core> [db.c:314]: db_do_init2(): connection 0x7f68cc354c10 not found in pool<o:p></o:p></span></p><p class=MsoNormal style='margin-left:106.2pt'><span lang=EN-US>DEBUG: db_mysql [km_my_con.c:98]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@/siprouter<o:p></o:p></span></p><p class=MsoNormal style='margin-left:106.2pt'><span lang=EN-US>ERROR: db_mysql [km_my_con.c:124]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.9pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt;text-indent:-18.0pt;mso-list:l0 level3 lfo1'><![if !supportLists]><span lang=EN-US style='font-family:Wingdings'><span style='mso-list:Ignore'>ð<span style='font:7.0pt "Times New Roman"'>  </span></span></span><![endif]><span lang=EN-US style='color:#1F497D'>Now with my Kamailio upgraded with 5.0.7-7, it fails immediately at the startup to connect the local MySQL server.<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:70.9pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:106.2pt'><i><span lang=EN-US>DEBUG: <core> [core/sr_module.c:698]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/lib64/kamailio/modules/db_mysql.so]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:106.2pt'><i><span lang=EN-US>DEBUG: <core> [db.c:209]: db_bind_mod(): using db bind api for db_mysql<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:106.2pt'><i><span lang=EN-US>DEBUG: <core> [db.c:314]: db_do_init2(): connection 0x7f65e4974868 not found in pool<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:106.2pt'><i><span lang=EN-US>DEBUG: db_mysql [km_my_con.c:98]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/siprouter<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:106.2pt'><i><span lang=EN-US>ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'>That is a strange behavior versus the one with kamailio 5.0.1, but it is maybe better as it immediately fails.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'>In all the case, I had have to do the following the fix the issue :<o:p></o:p></span></p><p class=MsoPlainText style='margin-left:70.9pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:106.2pt'><i><span lang=EN-US>mkdir /var/lib/mysql<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:106.2pt'><i><span lang=EN-US>ln -s /myqdata/mysiprdb/data/mysiprdb.sock /var/lib/mysql/mysql.sock<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:70.9pt'><span lang=EN-US style='color:#1F497D'>This new symbolic link would then replace the first I had created : </span><b><i><span lang=EN-US>ln -s /myqdata/mysiprdb/data/my.cnf /etc/my.cnf.<o:p></o:p></span></i></b></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>If I can consider these problems as fixed, it lets me confused on the manner the db_mysql module works.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I would expect that it would find by configuration the location on the local MySQL server. But is seems not.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>If you have comments on that, please advise.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks in advance.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='mso-element:para-border-div;border:none;border-top:solid #CCCCCC 1.0pt;padding:4.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-bottom:3.0pt;border:none;padding:0cm'><b><span lang=FR-BE style='color:#444444;mso-fareast-language:FR'>Cordialement.<o:p></o:p></span></b></p><p class=MsoNormal style='margin-bottom:3.0pt;border:none;padding:0cm'><b><span lang=FR-BE style='color:#444444;mso-fareast-language:FR'>Patrick GINHOUX</span></b><span lang=FR-BE style='color:#444444;mso-fareast-language:FR'> <b><o:p></o:p></b></span></p></div><p class=MsoNormal style='margin-bottom:3.0pt'><span lang=FR-BE style='font-size:9.0pt;color:#444444;mso-fareast-language:FR'>Unisys | +33 1 46 69 52 12 </span><span style='font-size:9.0pt;color:#444444;mso-fareast-language:FR'>| +33 6 60 32 24 74</span><span style='font-size:9.0pt;color:#444444;mso-fareast-language:FR'> </span><span style='font-size:9.0pt;color:#444444;mso-fareast-language:FR'>| patrick.ginhoux@unisys.com</span><span style='color:#1F497D;mso-fareast-language:FR'><o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='mso-fareast-language:FR'>De :</span></b><span style='mso-fareast-language:FR'> sr-users <sr-users-bounces@lists.kamailio.org> <b>De la part de</b> Ginhoux, Patrick<br><b>Envoyé :</b> mardi 7 août 2018 16:50<br><b>À :</b> Henning Westerholt <hw@kamailio.org><br><b>Cc :</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br><b>Objet :</b> Re: [SR-Users] kamcmd htable.reload propertiesHash problem<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoPlainText><span lang=EN-US>Hi Henning,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Some update on my upgrade to kamailio 5.0.7.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>First of all, I posted other question related to the mod_perl requirement, etc... and I got some interesting answers.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>I succeeded to get rid of the dependencies and now my server is upgraded to 5.0.7. Unfortunately, Kamailio doesn't start and is in a kind of loop.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>The kamailio.log contains entries I've never seen before with 5.0.1. Extract of the log :<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.y:1623]: yyparse(): loading module app_perl.so<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/sr_module.c:575]: load_module(): trying to load </usr/lib64/kamailio/modules/app_perl.so><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/sr_module.c:624]: load_module(): attempt to lookup exports structure failed - dlerror: /usr/lib64/kamailio/modules/app_perl.so: undefined symbol: exports<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/sr_module.c:636]: load_module(): looking up exports with name: _app_perl_exports<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/sr_module.c:652]: load_module(): /usr/lib64/kamailio/modules/app_perl.so: exports dlflags interface is deprecated and it will not be supported in newer versions; consider using mod_register() instead<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/sr_module.c:624]: load_module(): attempt to lookup exports structure failed - dlerror: /usr/lib64/kamailio/modules/app_perl.so: undefined symbol: exports<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/sr_module.c:636]: load_module(): looking up exports with name: _app_perl_exports<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.lex:1713]: pp_define(): defining id: MOD_app_perl<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>….<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>….<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.lex:1713]: pp_define(): defining id: NODETYPE_MGCF<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.lex:1803]: pp_define_set(): ### setting define ID [NODETYPE_MGCF] value [1]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.lex:1713]: pp_define(): defining id: NODETYPE_MMM<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.lex:1803]: pp_define_set(): ### setting define ID [NODETYPE_MMM] value [2]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.lex:1713]: pp_define(): defining id: MGCF_NODESTRING<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg.lex:1803]: pp_define_set(): ### setting define ID [MGCF_NODESTRING] value ["MGCF"]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/modparam.c:83]: set_mod_param_regex(): 'app_perl' matches module 'app_perl'<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/sr_module.c:794]: find_param_export(): found <modpath> in module app_perl [/usr/lib64/kamailio/modules/app_perl.so]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/modparam.c:99]: set_mod_param_regex(): found <modpath> in module app_perl [/usr/lib64/kamailio/modules/app_perl.so]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/modparam.c:83]: set_mod_param_regex(): 'app_perl' matches module 'app_perl'<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: WARNING: <core> [core/cfg.y:3388]: warn_at(): warning in config file /etc/kamailio/kamailio.cfg, line 978, column 6-13: constant value in if(...)<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><u><span lang=EN-US>Then lot of [core/route_struct.c:nnnn] entries, I have never seen before with kamailio 5.0.1 :<o:p></o:p></span></u></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:467]: print_action(): f_ptr<0x7f65e4973bd0><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:493]: print_action(): , 2<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:524]: print_action(): , "L_WARN"<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:546]: print_action(): );<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:545]: print_action(): };<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:519]: print_action(): } else {<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:545]: print_action(): };<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:442]: print_action(): assign(<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:483]: print_action(): type<21><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:517]: print_action(): , type<22><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:546]: print_action(): );<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:401]: print_action(): if (<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:483]: print_action(): type<22><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:485]: print_action(): ) {<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:442]: print_action(): assign(<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:483]: print_action(): type<21><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:517]: print_action(): , type<22><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:546]: print_action(): );<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><u><span lang=EN-US>This sequence of [core/route_struct.c:nnnn] entries ends with :<o:p></o:p></span></u></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:467]: print_action(): f_ptr<0x7f65e4973bd0><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:493]: print_action(): , 2<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:524]: print_action(): , "L_DBG"<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:546]: print_action(): );<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route.c:2134]: print_rl():<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/route.c:129]: route_add(): mapping routing block (0xaff280)[core:receive-parse-error] to 5<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: INFO: <core> [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: WARNING: <core> [core/socket_info.c:1314]: fix_hostname(): could not rev. resolve 129.227.83.78<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: WARNING: <core> [core/socket_info.c:1314]: fix_hostname(): could not rev. resolve 129.227.82.79<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/mem/pkg.c:100]: pkg_print_manager(): pkg - using memory manager: q_malloc<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/mem/shm.c:277]: shm_print_manager(): shm - using memory manager: q_malloc<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg/cfg.c:176]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'core' (num=52, size=208)<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/cfg/cfg.c:176]: cfg_declare(): DEBUG: register_cfg_def(): new config group has been registered: 'tcp' (num=26, size=104)<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/timer.c:256]: init_timer(): starting with *ticks=1478539463<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/timer.c:298]: init_timer(): timer_list between 0x7f65d9accfd0 and 0x7f65d9b10fd0<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/pt.c:145]: register_procs(): registering new processes: 0 (old) + 1 (new) = 1 (total)<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/daemonize.c:207]: enable_dumpable(): trying enable core dumping...<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: DEBUG: <core> [core/daemonize.c:225]: enable_dumpable(): core dumping is enabled now (1)...<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/daemonize.c:583]: set_core_dump(): core dump limits set to 18446744073709551615<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/async_task.c:108]: async_task_init(): start initializing asynk task framework<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/sr_module.c:971]: init_mod(): db_mysql<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: db_mysql [km_db_mysql.c:86]: kam_mysql_mod_init(): MySQL client version is 10.1.30-MariaDB<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><u><span lang=EN-US>Then the jsonrpcs mod-init fails to change the owner/group for the /var/run/kamailio/kamailio_rpc_fifo :<o:p></o:p></span></u></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/sr_module.c:971]: init_mod(): jsonrpcs<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: jsonrpcs [jsonrpcs_mod.c:1087]: mod_init(): preparing to listen on fifo file: /var/run/kamailio/kamailio_rpc_fifo<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: jsonrpcs [jsonrpcs_fifo.c:151]: jsonrpc_init_fifo_file(): testing if fifo file exists ...<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: jsonrpcs [jsonrpcs_fifo.c:72]: jsonrpc_init_fifo_server(): FIFO created @ /var/run/kamailio/kamailio_rpc_fifo<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: jsonrpcs [jsonrpcs_fifo.c:82]: jsonrpc_init_fifo_server(): Failed to change the owner/group for /var/run/kamailio/kamailio_rpc_fifo  to 248.248; Operation not permitted[1]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: CRITICAL: jsonrpcs [jsonrpcs_fifo.c:209]: jsonrpc_init_fifo_file(): failed to init jsonrpc fifo server file stream<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: jsonrpcs [jsonrpcs_fifo.c:539]: jsonrpc_fifo_mod_init(): cannot initialize fifo transport<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: jsonrpcs [jsonrpcs_mod.c:1090]: mod_init(): cannot initialize fifo transport<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: jsonrpcs [jsonrpcs_fifo.c:539]: jsonrpc_fifo_mod_init(): cannot initialize fifo transport<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: jsonrpcs [jsonrpcs_mod.c:1090]: mod_init(): cannot initialize fifo transport<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: <core> [core/sr_module.c:974]: init_mod(): Error while initializing module jsonrpcs (/usr/lib64/kamailio/modules/jsonrpcs.so)<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><u><span lang=EN-US>Then the connection to my MySQL server fails also:<o:p></o:p></span></u></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/sr_module.c:698]: find_mod_export_record(): find_export_record: found <db_bind_api> in module db_mysql [/usr/lib64/kamailio/modules/db_mysql.so]<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [db.c:209]: db_bind_mod(): using db bind api for db_mysql<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [db.c:314]: db_do_init2(): connection 0x7f65e4974868 not found in pool<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: db_mysql [km_my_con.c:98]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@localhost/siprouter<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: <core> [db.c:318]: db_do_init2(): could not add connection to the pool<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: ERROR: htable [ht_db.c:92]: ht_db_open_con(): failed to connect to the database<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: tm [t_funcs.c:86]: tm_shutdown(): DEBUG: tm_shutdown : start<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: tm [t_funcs.c:89]: tm_shutdown(): DEBUG: tm_shutdown : emptying hash table<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: tm [t_funcs.c:91]: tm_shutdown(): DEBUG: tm_shutdown : removing semaphores<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: tm [t_funcs.c:93]: tm_shutdown(): DEBUG: tm_shutdown : destroying tmcb lists<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: tm [t_funcs.c:96]: tm_shutdown(): DEBUG: tm_shutdown : done<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/mem/shm.c:174]: shm_core_lock_destroy(): destroying the shared memory lock<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/mem/shm.c:266]: shm_destroy_manager(): destroying memory manager: q_malloc<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 /usr/sbin/kamailio[20218]: DEBUG: <core> [core/mem/pkg.c:89]: pkg_destroy_manager(): destroying memory manager: q_malloc<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><u><span lang=EN-US>Hereafter I can see that kamailio is looping :<o:p></o:p></span></u></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:09 vm-siprouter74 kamailio: WARNING: <core> [core/cfg.y:3388]: warn_at(): warning in config file /etc/kamailio/kamailio.cfg, line 978, column 6-13: constant value in if(...)<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:546]: print_action(): );<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:448]: print_action(): UNKNOWN(<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:483]: print_action(): type<22><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:442]: print_action(): assign(<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:483]: print_action(): type<21><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:517]: print_action(): , type<22><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:546]: print_action(): );<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:442]: print_action(): assign(<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:483]: print_action(): type<21><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:517]: print_action(): , type<22><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:546]: print_action(): );<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:401]: print_action(): if (<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:483]: print_action(): type<22><o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:485]: print_action(): ) {<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:418]: print_action():  external_module_call(<o:p></o:p></span></i></p><p class=MsoPlainText style='margin-left:35.4pt'><i><span lang=EN-US>Aug  7 10:02:10 vm-siprouter74 kamailio: DEBUG: <core> [core/route_struct.c:467]: print_action(): f_ptr<0x7f34c32babd0><o:p></o:p></span></i></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>I’ve been told that the upgrade from 5.0.1 to 5.0.7 would be simple, but it is not.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>At the moment, I don’t know how to fix the different errors above.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>So if you or somebody else can help me, that would be good.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText>Cordialement.<o:p></o:p></p><p class=MsoPlainText>Patrick GINHOUX <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span style='mso-fareast-language:FR'>-----Message d'origine-----<br>De : sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org">sr-users-bounces@lists.kamailio.org</a>> De la part de Ginhoux, Patrick<br>Envoyé : samedi 4 août 2018 11:46<br>À : Henning Westerholt <<a href="mailto:hw@kamailio.org">hw@kamailio.org</a>>; Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>><br>Objet : Re: [SR-Users] kamcmd htable.reload propertiesHash problem</span><o:p></o:p></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Hi,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>I'm thinking about the difficulty to upgrade my Kamailio server from the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>5.0.1 level to the 5.0.7 level because of dependencies.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>This difficulty comes from because the kamailio-perl-5.0.7-1.el7.x86_64.rpm<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>requires the mod_perl module (and this one no longer exists on a RHEL 7<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>distro).<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>My question then is what has been changed between the 5.0.1 and the 5.0.7<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>level to require the mod_perl module ?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>As my server still run RHEL 7.4, why I don't not encounter the issue with<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>the 5.0.1 ?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Any thoughts on this analysis ?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Cordialement.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Patrick GINHOUX <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Unisys | +33 1 46 69 52 12 | +33 6 60 32 24 74 | <a href="mailto:patrick.ginhoux@unisys.com"><span style='color:windowtext;text-decoration:none'>patrick.ginhoux@unisys.com</span></a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>-----Message d'origine-----<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>De : sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org"><span style='color:windowtext;text-decoration:none'>sr-users-bounces@lists.kamailio.org</span></a>> De la part de Ginhoux,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Patrick<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Envoyé : vendredi 3 août 2018 09:30<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>À : Henning Westerholt <<a href="mailto:hw@kamailio.org"><span style='color:windowtext;text-decoration:none'>hw@kamailio.org</span></a>><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Cc : <a href="mailto:sr-users@lists.kamailio.org"><span style='color:windowtext;text-decoration:none'>sr-users@lists.kamailio.org</span></a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Objet : Re: [SR-Users] kamcmd htable.reload propertiesHash problem<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Unfortunately, I use the perl module in my kamailio.cfg.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>So you're correct, I could install the mod_perl from the EPEL project. This<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>is possible on my test server in my lab.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>At the moment, I had collected manually all rpm packages required for 5.0.1<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>(like Perl or snmp packages), that' was already a huge work.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Now if at each stream there is new dependencies, I would have to solve the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>dependencies for other repo like with the EPEL repo.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>But in a next step, I have to do the same installation on a customer site on<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>preimaged server with the following restrictions :<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>- from this site, I have no access to the internet (That's why, up to new, I<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>only download the packages I need)<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>- the preimaged server are RHEL 7.4 server without no required package<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>removed.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>As said, I configured the EPEL repo on my test server and then try to<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>installed to mod_perl module. I starts ok but fails for other dependencies<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>(see attached).<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>So upgrading from Kamailio 5.0.1 to 5.0.7 is not as simple as I expected.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>I hope I'm clear in my explanation.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Cordialement.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Patrick GINHOUX <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Unisys | +33 1 46 69 52 12 | +33 6 60 32 24 74 | <a href="mailto:patrick.ginhoux@unisys.com"><span style='color:windowtext;text-decoration:none'>patrick.ginhoux@unisys.com</span></a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>-----Message d'origine-----<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>De : Henning Westerholt <<a href="mailto:hw@kamailio.org"><span style='color:windowtext;text-decoration:none'>hw@kamailio.org</span></a>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Envoyé : vendredi 3 août 2018 08:43<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>À : Ginhoux, Patrick <<a href="mailto:patrick.ginhoux@fr.unisys.com"><span style='color:windowtext;text-decoration:none'>patrick.ginhoux@fr.unisys.com</span></a>><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Cc : <a href="mailto:sr-users@lists.kamailio.org"><span style='color:windowtext;text-decoration:none'>sr-users@lists.kamailio.org</span></a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Objet : Re: [SR-Users] kamcmd htable.reload propertiesHash problem<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Am Freitag, 3. August 2018, 07:56:28 CEST schrieb Ginhoux, Patrick:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Instead of installing a new server, I tried to upgrade the one running the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> 5.0.1 level. It has the following packages installed:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-perl-5.0.1-1.1.x86_64<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-5.0.1-1.1.x86_64<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-mysql-5.0.1-1.1.x86_64<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-snmpstats-5.0.1-1.1.x86_64<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> So I have download the 5.0.7 packages into a separate folder:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-rpms_5.0.7<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-5.0.7-1.el7.x86_64.rpm<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-mysql-5.0.7-1.el7.x86_64.rpm<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-perl-5.0.7-1.el7.x86_64.rpm<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-snmpstats-5.0.7-1.el7.x86_64.rpm<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> kamailio-ims-5.0.7-1.el7.x86_64.rpm<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> The update command “rpm -Uvh --force kamailio*” detects a dependency on<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> mod_perl package :<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> warning: kamailio-5.0.7-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>key<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> ID 941fdbdd: NOKEY<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> error: Failed dependencies:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>>         mod_perl is needed by kamailio-perl-5.0.7-1.el7.x86_64<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> I try to find this mod_perl package but it does no longer exist for RedHat<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> 7. We can find multiple articles referencing this change in RHEL.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> It seems there is an alternative way to get this module in a EPEL<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>repository<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> (<a href="https://huntingbears.nl/2013/12/17/no-mod_perl-in-rhel-7-and-centos-7/"><span style='color:windowtext;text-decoration:none'>https://huntingbears.nl/2013/12/17/no-mod_perl-in-rhel-7-and-centos-7/</span></a>).<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> It is to me a huge work to simply update my current Kamailio to 5.0.7.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Does this mod_perl change makes sense to you ?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>> Have you an idea to get rid of this dependency?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Hello Patrick,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>probably a stupid question, but do you actually use the perl module inside <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>your kamailio cfg? If not - I would suggest to just remove the 5.0.1 perl <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>module, and also not install it for 5.0.7. <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>If you need it - the quoted artice states that its actually not difficult to<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>install mod_perl from the EPEL repository. This looks quite ok: "EPEL is the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>high-quality RPM collection for RHEL and CentOS linux, maintened by the<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Fedora <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>project.".<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Best regards,<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>Henning<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US>-- <o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Henning Westerholt<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><a href="https://skalatan.de/blog/"><span style='color:windowtext;text-decoration:none'>https://skalatan.de/blog/</span></a><o:p></o:p></span></p></div></body></html>