<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Johan,<br>
<br>
Please check this migration document :<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0#toc17">http://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0#toc17</a><br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 02/25/2019 10:08 PM, johan de clercq
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:008201d4cd45$d05f96f0$711ec4d0$@democon.be">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@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:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal">Hello, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When upgrading to opensips 3.0 I run into
the following problem: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Not starting opensips: invalid configuration file!<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:tls_mgm:split_param_val: No TLS
domain name<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] CRITICAL:core:yyerror: parse error in
config file /usr/local/opensips/etc/opensips/opensips.cfg,
line 22, column 20-21: Parameter <certificate> not found
in module <tls_mgm> - can't set<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:tls_mgm:split_param_val: No TLS
domain name<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] CRITICAL:core:yyerror: parse error in
config file /usr/local/opensips/etc/opensips/opensips.cfg,
line 23, column 20-21: Parameter <private_key> not found
in module <tls_mgm> - can't set<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:tls_mgm:split_param_val: No TLS
domain name<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] CRITICAL:core:yyerror: parse error in
config file /usr/local/opensips/etc/opensips/opensips.cfg,
line 24, column 20-21: Parameter <ca_list> not found in
module <tls_mgm> - can't set<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:tls_mgm:split_param_val: No TLS
domain name<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] CRITICAL:core:yyerror: parse error in
config file /usr/local/opensips/etc/opensips/opensips.cfg,
line 25, column 20-21: Parameter <require_cert> not
found in module <tls_mgm> - can't set<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:tls_mgm:split_param_val: No TLS
domain name<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] CRITICAL:core:yyerror: parse error in
config file /usr/local/opensips/etc/opensips/opensips.cfg,
line 26, column 20-21: Parameter <verify_cert> not found
in module <tls_mgm> - can't set<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:tls_mgm:split_param_val: No TLS
domain name<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] CRITICAL:core:yyerror: parse error in
config file /usr/local/opensips/etc/opensips/opensips.cfg,
line 27, column 20-21: Parameter <tls_method> not found
in module <tls_mgm> - can't set<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:core:sr_load_module: could not
open module
</usr/local/opensips/lib64/opensips/modules/mi_json.so>:
/usr/local/opensips/lib64/opensips/modules/mi_json.so:
undefined symbol: crt_flush_fnct<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:core:load_module: failed to load
module<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] CRITICAL:core:yyerror: parse error in
config file /usr/local/opensips/etc/opensips/opensips.cfg,
line 153, column 13-14: failed to load module mi_json.so<o:p></o:p></p>
<p class="MsoNormal">Feb 25 21:01:42 ns3012072 opensips[10887]:
Feb 25 21:01:42 [10899] ERROR:core:main: bad config file (7
errors)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When tls_mgm config is as below and working
in opensips2.4:<o:p></o:p></p>
<p class="MsoNormal">loadmodule "tls_mgm.so"<o:p></o:p></p>
<p class="MsoNormal">modparam("tls_mgm", "certificate",
"/usr/local/opensips/etc/opensips/tls/rootCA/cacert.pem")
<o:p></o:p></p>
<p class="MsoNormal">modparam("tls_mgm", "private_key",
"/usr/local/opensips/etc/opensips/tls/rootCA/private/cakey.pem")
<o:p></o:p></p>
<p class="MsoNormal">modparam("tls_mgm", "ca_list",
"/usr/local/opensips/etc/opensips/tls/rootCA/cacert.pem") <o:p></o:p></p>
<p class="MsoNormal">modparam("tls_mgm", "require_cert", "0")<o:p></o:p></p>
<p class="MsoNormal">modparam("tls_mgm", "verify_cert", "0")<o:p></o:p></p>
<p class="MsoNormal">modparam("tls_mgm", "tls_method", "SSLv23")<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Same thing for mi_json:<o:p></o:p></p>
<p class="MsoNormal">#### HTTPD module <o:p></o:p></p>
<p class="MsoNormal">loadmodule "httpd.so" <o:p></o:p></p>
<p class="MsoNormal"><span lang="FR">modparam("httpd", "port",
8888) <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR">#### MI_HTTP module <o:p></o:p></span></p>
<p class="MsoNormal">loadmodule "json.so" <o:p></o:p></p>
<p class="MsoNormal">loadmodule "mi_http.so" <o:p></o:p></p>
<p class="MsoNormal">loadmodule "mi_json.so"<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">can you please advice on what my problem is
? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">BR, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img style="width:2.6583in;height:1.2625in"
id="_x0034_85395db-595c-48b6-9dfb-1ae976a74568"
src="cid:part1.4EE1FD30.4EBFE388@opensips.org"
alt="cid:F3100D46-F00D-4610-87ED-3E91DA790A82" class=""
height="121" width="255"><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif">Johan
De Clercq, Managing Director<span style="color:black"><br>
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke</span></span><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif;color:black">Tel
+3256980990</span><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif">
– GSM +32478720104</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>