Reputation: 73
install zabbix at Configure DB connection
error The frontend does not match Zabbix database.
i use mysql
What is the meaning of this?
Upvotes: 6
Views: 48678
Reputation: 53
Sometimes, it helps after the update of packages to reconfigure the Zabbix server again.
dpkg-reconfigure zabbix-server-pgsql
dpkg-reconfigure zabbix-server-mysql
Upvotes: 0
Reputation: 3927
I was upgrading a debian distro from 7 to 8 that had Zabbix installed. When this error appeared, what I did was to install the zabbix-server-mysql
service by typing:
apt-get install zabbix-server-mysql
And that solved the problem.
Upvotes: 0
Reputation: 301
installation error: frontend does not match Zabbix database
drop existing zabbix db
then
shell> mysql -u<username> -p<password>
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> quit;
shell> mysql -u<username> -p<password> zabbix < database/mysql/schema.sql
# stop here if you are creating database for Zabbix proxy
shell> mysql -u<username> -p<password> zabbix < database/mysql/images.sql
shell> mysql -u<username> -p<password> zabbix < database/mysql/data.sql
after that step 3 is ok...
Upvotes: 0
Reputation: 480
In case you have been using Ubuntu 14.04 and trying to do a new install of Zabbix 3.0 then you should first populate the database with the sql file provided in /usr/share/doc/zabbix-server-mysql/create.sql. After that it should work.
Upvotes: 2
Reputation: 2250
This means that the version of the Zabbix database does not match what Zabbix frontend is expecting. For instance, if you are upgrading from Zabbix 2.2 to Zabbix 3.0, then you will get a similar message (together with the current database version and the expected database version) until you upgrade the database (this is done by simply running the new version of Zabbix server).
In this particular case, if you are installing for the first time, then you probably have not imported schema.sql
, images.sql
, and data.sql
files yet. In that case, please consult "Installation from sources" and "Database creation scripts" sections in the online Zabbix documentation.
Upvotes: 6