SpawW / everyz

Hack for plugin support on Zabbix web interface
http://www.everyz.org
GNU General Public License v3.0
16 stars 5 forks source link

Bug Zabbix 3.4 #96

Closed fbenatti closed 7 years ago

fbenatti commented 7 years ago

I have two error after the installation Zabbix 3.4.1 My definitions:

Zabbix verion: Zabbix 3.4.1 Server: Centos 6

1º error: The flow message: define (‘EVERYZ_VERSION’,’1.1.2′); Configuration file error Incorrect value “MYSQL” for DB type. Possible values ZBX_DB_DB2, ZBX_DB_MYSQL, ZBX_DB_ORACLE, ZBX_DB_POSTGRESQL.

Solution: change /etc/zabbix/web/zabbix.conf.php the $DB[“TYPE”] to ‘ZBX_DB_MYSQL’; 2º error: The flow message: define (‘EVERYZ_VERSION’,’1.1.2′); Database error The frontend does not match Zabbix database. Current database version (mandatory/optional): 3040000/3040000. Required mandatory version: 0. Contact your system administrator.

I can´t resolve this problem, I need reinstall the zabbix-web.

SpawW commented 7 years ago

Hi Fernando, This appear be a incomplete Zabbix Upgrade Process, with this information I cannot see relation with EveryZ.

Your ZABBIX is installed from Source or packages ? After upgrade of ZABBIX you restart zabbix_server process and look at zabbix_server.log for upgrade messages and is Everithing is ok (you found sucess on 100% of DB upgrade? ) After the binary and DB upgrade, you upgrade / access the frontend and works fine ?

Only after done this steps... you can try to install EveryZ.

Only after this

fbenatti commented 7 years ago

Packets Installeds: image

Zabbix is a new database and new installation: image

Zabbix operation before install packets of EveryZ:

image

Install process: image image image

image

image

image image image

The fist error: image

Now, For resolve, I needed reinstall zabbix-web, how you can see, I didn't DB Upgrade, the problem happen after the installation EveryZ.

fbenatti commented 7 years ago

I found the solution, you need do:

image """#cp /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/include/defines.inc.php.old"""

Before installing EveryZ.

Thanks.

SpawW commented 7 years ago

Fbenatti,

Please try to install again ? I reproduce and solve the problem.