[OpenSIPS-Users] problem upgrading to opensips 3.0

johan de clercq johan at democon.be
Mon Feb 25 15:08:02 EST 2019


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, 

 

 



Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990 - GSM +32478720104

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190225/ba987132/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/20190225/ba987132/attachment-0001.png>


More information about the Users mailing list