Hello,
Im using zabbix appliance on centos 8 from 5.4.
Today i launched update from 6.0.10 to 6.0.11 and zabbix_server cant start.
Errors:
So i used set global log_bin_trust_function_creators = 1; in mysql.
β
βAny hints whats going on?
Im using zabbix appliance on centos 8 from 5.4.
Today i launched update from 6.0.10 to 6.0.11 and zabbix_server cant start.
Errors:
Code:
1583964:20221130:060100.929 Zabbix Server stopped. Zabbix 6.0.10 (revision e35d7dceead). 3407926:20221130:060100.942 Starting Zabbix Server. Zabbix 6.0.11 (revision 17788cd2098). 3407926:20221130:060100.942 ****** Enabled features ****** 3407926:20221130:060100.942 SNMP monitoring: YES 3407926:20221130:060100.942 IPMI monitoring: YES 3407926:20221130:060100.942 Web monitoring: YES 3407926:20221130:060100.942 VMware monitoring: YES 3407926:20221130:060100.942 SMTP authentication: YES 3407926:20221130:060100.942 ODBC: YES 3407926:20221130:060100.942 SSH support: YES 3407926:20221130:060100.942 IPv6 support: YES 3407926:20221130:060100.942 TLS support: YES 3407926:20221130:060100.942 ****************************** 3407926:20221130:060100.942 using configuration file: /etc/zabbix/zabbix_server.conf 3407926:20221130:060100.952 current database version (mandatory/optional): 06000000/06000007 3407926:20221130:060100.952 required mandatory version: 06000000 3407926:20221130:060100.952 optional patches were found 3407926:20221130:060100.952 starting automatic database upgrade 3407926:20221130:060101.148 completed 10% of database upgrade 3407926:20221130:060101.237 completed 20% of database upgrade 3407926:20221130:060101.248 completed 30% of database upgrade 3407926:20221130:060101.250 [Z3005] query failed: [1419] You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) [create trigger hosts_name_upper_insert before insert on hosts for each row set new.name_upper=upper(new.name)] 3407926:20221130:060101.250 database upgrade failed 3407926:20221130:060101.256 database could be upgraded to use primary keys in history tables
So i used set global log_bin_trust_function_creators = 1; in mysql.
Code:
From now im reciving: 3408967:20221130:063849.331 Starting Zabbix Server. Zabbix 6.0.11 (revision 17788cd2098). 3408967:20221130:063849.331 ****** Enabled features ****** 3408967:20221130:063849.331 SNMP monitoring: YES 3408967:20221130:063849.331 IPMI monitoring: YES 3408967:20221130:063849.331 Web monitoring: YES 3408967:20221130:063849.331 VMware monitoring: YES 3408967:20221130:063849.331 SMTP authentication: YES 3408967:20221130:063849.331 ODBC: YES 3408967:20221130:063849.331 SSH support: YES 3408967:20221130:063849.331 IPv6 support: YES 3408967:20221130:063849.331 TLS support: YES 3408967:20221130:063849.331 ****************************** 3408967:20221130:063849.331 using configuration file: /etc/zabbix/zabbix_server.conf 3408967:20221130:063849.343 current database version (mandatory/optional): 06000000/06000010 3408967:20221130:063849.343 required mandatory version: 06000000 3408967:20221130:063849.343 optional patches were found 3408967:20221130:063849.343 starting automatic database upgrade 3408967:20221130:063849.345 [Z3005] query failed: [1142] TRIGGER command denied to user 'zabbix_srv'@'localhost' for table 'hosts' [create trigger hosts_name_upper_insert before insert on hosts for each row set new.name_upper=upper(new.name)] 3408967:20221130:063849.345 database upgrade failed 3408967:20221130:063849.351 database could be upgraded to use primary keys in history tables
βAny hints whats going on?
Comment