<div dir="ltr"><div>Hello Patrick</div>Please review packaging PR <a href="https://github.com/kamailio/kamailio/pull/1615">https://github.com/kamailio/kamailio/pull/1615</a><br><br><div class="gmail_quote"><div dir="ltr">вт, 7 авг. 2018 г. в 9:52, Ginhoux, Patrick <<a href="mailto:patrick.ginhoux@fr.unisys.com">patrick.ginhoux@fr.unisys.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="#0563C1" vlink="#954F72"><div class="m_2601762432240647178WordSection1"><p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Following a problem with the kamcmd htable.reload with Kamailio 5.0.1 (see related thread for this), I have upgraded to the 5.0.7 level (with some difficulties due to my specific environment).<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">My server runs the RHEL 7.4 distribution.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Now the upgrade is complete, I notice that that are changes not really documented:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><u></u><span lang="EN-US"><span>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><u></u><span lang="EN-US">The kamailio-perl-5.0.7-1.el7.x86_64.rpm requires to install the mod_perl module that doesn’t exist anymore in RHEL 7. It needs to be installed from the EPEL repository<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US"> <u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><u></u><span lang="EN-US"><span>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><u></u><span lang="EN-US">The init script for kamailio has been changed from the old method to the fully compliant method for system unit for RHEL 7 for example:<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US"><u></u> <u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US">With the 5.0.1 level we have the “/etc/rc.d/init.d/kamailio”<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US">With the 5.0.7 level we have now the “/usr/lib/systemd/system/kamailio.service”<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">So my questions/comments are :<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><u></u><span lang="EN-US"><span>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><u></u><span lang="EN-US">Why the mod_perl module is required between 5.0.1 and 5.0.7  (question posted in the attached message) ?<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US"> <u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><u></u><span lang="EN-US"><span>-<span style="font:7.0pt "Times New Roman"">          </span></span></span><u></u><span lang="EN-US">In the previous kamailo init script, I added a condition to start MySQL before kamailio by adding this entry in the script : </span><span lang="EN-US" style="font-family:Consolas"># Required-Start: $syslog $network $mysqld</span><span lang="EN-US"><u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US">The new script contains the After command :<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph" style="margin-left:70.8pt"><span lang="EN-US">[Unit]<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph" style="margin-left:70.8pt"><span lang="EN-US">Description=Kamailio (OpenSER) - the Open Source SIP Server<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph" style="margin-left:70.8pt"><span lang="EN-US">After=network.target<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US"><u></u> <u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US">Should I change the After line with this : After=network.target mysql.target to have the same condition?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">In all the cases, some documentation must be changed to provide more details.<u></u><u></u></span></p><p class="m_2601762432240647178MsoListParagraph"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks in advance for the answers.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div style="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"><span lang="FR-BE" style="color:#444444">Cordialement.<u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:3.0pt;border:none;padding:0cm"><b><span lang="FR-BE" style="color:#444444">Patrick GINHOUX</span></b><span lang="EN-US" style="font-size:7.5pt;color:#999999"><u></u><u></u></span></p></div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>