[OpenSIPS-Users] problem upgrading to opensips 3.0
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Feb 26 04:20:52 EST 2019
Hi Johan,
Please check this migration document :
http://www.opensips.org/Documentation/Migration-2-4-0-to-3-0-0#toc17
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 02/25/2019 10:08 PM, johan de clercq wrote:
>
> Hello,
>
> When upgrading to opensips 3.0 I run into the following problem:
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Not starting opensips:
> invalid configuration file!
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:tls_mgm:split_param_val: No TLS domain name
>
> 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
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:tls_mgm:split_param_val: No TLS domain name
>
> 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
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:tls_mgm:split_param_val: No TLS domain name
>
> 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
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:tls_mgm:split_param_val: No TLS domain name
>
> 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
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:tls_mgm:split_param_val: No TLS domain name
>
> 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
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:tls_mgm:split_param_val: No TLS domain name
>
> 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
>
> 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
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:core:load_module: failed to load module
>
> 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
>
> Feb 25 21:01:42 ns3012072 opensips[10887]: Feb 25 21:01:42 [10899]
> ERROR:core:main: bad config file (7 errors)
>
> When tls_mgm config is as below and working in opensips2.4:
>
> loadmodule "tls_mgm.so"
>
> modparam("tls_mgm", "certificate",
> "/usr/local/opensips/etc/opensips/tls/rootCA/cacert.pem")
>
> modparam("tls_mgm", "private_key",
> "/usr/local/opensips/etc/opensips/tls/rootCA/private/cakey.pem")
>
> modparam("tls_mgm", "ca_list",
> "/usr/local/opensips/etc/opensips/tls/rootCA/cacert.pem")
>
> modparam("tls_mgm", "require_cert", "0")
>
> modparam("tls_mgm", "verify_cert", "0")
>
> modparam("tls_mgm", "tls_method", "SSLv23")
>
> Same thing for mi_json:
>
> #### HTTPD module
>
> loadmodule "httpd.so"
>
> modparam("httpd", "port", 8888)
>
> #### MI_HTTP module
>
> loadmodule "json.so"
>
> loadmodule "mi_http.so"
>
> loadmodule "mi_json.so"
>
> can you please advice on what my problem is ?
>
> BR,
>
> cid:F3100D46-F00D-4610-87ED-3E91DA790A82
>
> Johan De Clercq, Managing Director
> Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
>
> Tel +3256980990– GSM +32478720104
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190226/041ebfc6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15602 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20190226/041ebfc6/attachment-0001.png>
More information about the Users
mailing list