Hi,
run an update of 5.4 Zabbix installation to 6.2 today and now stuck at the start with following error.
Zabbix server does not start
and the server log shows following error -apparently the DB upgrade script fails?
I have tried setting global variable log_bin_trust_routine_creators to 1 in MySQL to no avail.
Any ideas how to complete database upgrade and get to required DB version??
run an update of 5.4 Zabbix installation to 6.2 today and now stuck at the start with following error.
Code:
Database error[LIST][*]The Zabbix database version does not match current requirements. Your database version: 6010048. Required version: 6010097. Please contact your system administrator.[/LIST]
Code:
Unit zabbix-server.service has begun starting up. Jun 13 15:43:02 appliance zabbix_server[1257]: zabbix_server [1257]: unknown parameter "AllowUnsupportedDBVersion" in> Jun 13 15:43:02 appliance systemd[1]: zabbix-server.service: Control process exited, code=exited status=1 Jun 13 15:43:02 appliance systemd[1]: zabbix-server.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://access.redhat.com/support -- -- The unit zabbix-server.service has entered the 'failed' state with result 'exit-code'. Jun 13 15:43:02 appliance systemd[1]: Failed to start Zabbix Server. -- Subject: Unit zabbix-server.service has failed -- Defined-By: systemd
Code:
1951:20220613:150742.488 Starting Zabbix Server. Zabbix 6.2.0rc1 (revision f82e225b617). 1951:20220613:150742.489 ****** Enabled features ****** 1951:20220613:150742.489 SNMP monitoring: YES 1951:20220613:150742.489 IPMI monitoring: YES 1951:20220613:150742.489 Web monitoring: YES 1951:20220613:150742.489 VMware monitoring: YES 1951:20220613:150742.489 SMTP authentication: YES 1951:20220613:150742.489 ODBC: YES 1951:20220613:150742.489 SSH support: YES 1951:20220613:150742.489 IPv6 support: YES 1951:20220613:150742.489 TLS support: YES 1951:20220613:150742.489 ****************************** 1951:20220613:150742.489 using configuration file: /etc/zabbix/zabbix_server.conf 1951:20220613:150742.518 current database version (mandatory/optional): 06010048/06010048 1951:20220613:150742.518 required mandatory version: 06010097 1951:20220613:150742.518 starting automatic database upgrade 1951:20220613:150742.519 [Z3005] query failed: [1419] You do not have the SUPER privilege and binary logging is enab led (you *might* want to use the less safe log_bin_trust_function_creators variable) [create trigger hosts_insert afte r insert on hosts for each row insert into changelog (object,objectid,operation,clock) values (1,new.hostid,1,unix_timestamp())] 1951:20220613:150742.519 database upgrade failed
Any ideas how to complete database upgrade and get to required DB version??
current latest is 6.0.5
Oh, thanks for clarifying! Learning every day (again)!
Comment