Nagiosxi Upgrade failed from 5.10.0 to 5.11.2
Posted: Thu Oct 26, 2023 1:21 am
Hi Team,
We are getting below error while upgrading nagiosxi from 5.10 to 5.11
I have tried troubleshooting provided in your community portal but no luck.
I have followed DB repaire script also no luck
https://assets.nagios.com/downloads/nag ... tabase.pdf
Please help us to resolve this issue.
version.ndo.c: In function ‘ndo_process_ndo_config_line’:
ndo.c:858:35: error: ‘SSL_MODE_REQUIRED’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_REQUIRED;
^
ndo.c:858:35: note: each undeclared identifier is reported only once for each function it appears in
ndo.c:862:35: error: ‘SSL_MODE_DISABLED’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_DISABLED;
^
ndo.c:865:35: error: ‘SSL_MODE_PREFERRED’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_PREFERRED;
^
ndo.c:868:35: error: ‘SSL_MODE_VERIFY_CA’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_VERIFY_CA;
^
ndo.c:871:35: error: ‘SSL_MODE_VERIFY_IDENTITY’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_VERIFY_IDENTITY;
^
ndo.c: In function ‘ndo_connect_database’:
ndo.c:975:36: error: ‘MYSQL_OPT_SSL_MODE’ undeclared (first use in this function)
mysql_options(q_ctx->conn, MYSQL_OPT_SSL_MODE, mysql_opt_ssl_mode);
^
ndo.c:980:36: error: ‘MYSQL_OPT_TLS_CIPHERSUITES’ undeclared (first use in this function)
mysql_options(q_ctx->conn, MYSQL_OPT_TLS_CIPHERSUITES, mysql_opt_tls_ciphersuites);
^
ndo.c:985:36: error: ‘MYSQL_OPT_TLS_VERSION’ undeclared (first use in this function)
mysql_options(q_ctx->conn, MYSQL_OPT_TLS_VERSION, mysql_opt_tls_version);
We are getting below error while upgrading nagiosxi from 5.10 to 5.11
I have tried troubleshooting provided in your community portal but no luck.
I have followed DB repaire script also no luck
https://assets.nagios.com/downloads/nag ... tabase.pdf
Please help us to resolve this issue.
version.ndo.c: In function ‘ndo_process_ndo_config_line’:
ndo.c:858:35: error: ‘SSL_MODE_REQUIRED’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_REQUIRED;
^
ndo.c:858:35: note: each undeclared identifier is reported only once for each function it appears in
ndo.c:862:35: error: ‘SSL_MODE_DISABLED’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_DISABLED;
^
ndo.c:865:35: error: ‘SSL_MODE_PREFERRED’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_PREFERRED;
^
ndo.c:868:35: error: ‘SSL_MODE_VERIFY_CA’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_VERIFY_CA;
^
ndo.c:871:35: error: ‘SSL_MODE_VERIFY_IDENTITY’ undeclared (first use in this function)
*mysql_opt_ssl_mode = SSL_MODE_VERIFY_IDENTITY;
^
ndo.c: In function ‘ndo_connect_database’:
ndo.c:975:36: error: ‘MYSQL_OPT_SSL_MODE’ undeclared (first use in this function)
mysql_options(q_ctx->conn, MYSQL_OPT_SSL_MODE, mysql_opt_ssl_mode);
^
ndo.c:980:36: error: ‘MYSQL_OPT_TLS_CIPHERSUITES’ undeclared (first use in this function)
mysql_options(q_ctx->conn, MYSQL_OPT_TLS_CIPHERSUITES, mysql_opt_tls_ciphersuites);
^
ndo.c:985:36: error: ‘MYSQL_OPT_TLS_VERSION’ undeclared (first use in this function)
mysql_options(q_ctx->conn, MYSQL_OPT_TLS_VERSION, mysql_opt_tls_version);