Hi,
I wanted today to upgrade my zabbix version from version Zabbix 2.0.11 (revision 42526) to Zabbix 2.2.1 (revision 40808). I remove old version programs with yum (this is centos 6.5), next install new packages, i overwrite config files from my old version. I started service zabbix-server, first I had problem
but i hashed in config file pid line. Restart service and service run with "OK" status. I opened zabbix website and there was error with database, i checked log and there is:
I find in upgrade procedure that "Zabbix server will automatically upgrade the database only from Zabbix 2.0.x to 2.2." But this doesn't work, what can I do? Maybe there is some sql procedure to upgrade database manually in mysql? I couldn't find any useful stuff to resolve me problem, in another posts database upgrade process started and stop in the middle, here it doesn't start at all.
System: CentOS release 6.5 (Final)
Kernel:Linux 2.6.32-431.3.1.el6.i686 #1 SMP Fri Jan 3 18:53:30 UTC 2014 i686 i686 i386 GNU/Linux
Mysql ver: mysql-server-5.1.73-3.el6_5.i686
I wanted today to upgrade my zabbix version from version Zabbix 2.0.11 (revision 42526) to Zabbix 2.2.1 (revision 40808). I remove old version programs with yum (this is centos 6.5), next install new packages, i overwrite config files from my old version. I started service zabbix-server, first I had problem
PHP Code:
zabbix_server [25322]: cannot create PID file [/var/run/zabbix/zabbix_server.pid]: [13] Permission denied
PHP Code:
25471:20140303:104724.116 Starting Zabbix Server. Zabbix 2.2.1 (revision 40808).
25471:20140303:104724.117 ****** Enabled features ******
25471:20140303:104724.118 SNMP monitoring: YES
25471:20140303:104724.118 IPMI monitoring: YES
25471:20140303:104724.118 WEB monitoring: YES
25471:20140303:104724.118 VMware monitoring: YES
25471:20140303:104724.118 Jabber notifications: YES
25471:20140303:104724.118 Ez Texting notifications: YES
25471:20140303:104724.118 ODBC: YES
25471:20140303:104724.118 SSH2 support: YES
25471:20140303:104724.118 IPv6 support: YES
25471:20140303:104724.118 ******************************
25471:20140303:104724.118 using configuration file: /etc/zabbix_server.conf
25471:20140303:104724.126 current database version (mandatory/optional): 02010021/02010021
25471:20140303:104724.126 required mandatory version: 02020000
25471:20140303:104724.127 database upgrade failed
System: CentOS release 6.5 (Final)
Kernel:Linux 2.6.32-431.3.1.el6.i686 #1 SMP Fri Jan 3 18:53:30 UTC 2014 i686 i686 i386 GNU/Linux
Mysql ver: mysql-server-5.1.73-3.el6_5.i686
Comment