View Full Version : Help, I Have trouble upgrade 1.9.6 from 1.9.5!
newflame
13-09-2011, 13:35
I want to upgrade 1.9.6 from my 1.9.5.
and i run
# upgrades/dbpatches/2.0/mysql/upgrade
there is some error,can't create some tables;
and run
# service start zabbix_server
there is some error:
zabbix_server [18044]: [file:'selfmon.c',line:341] lock failed: [22] Invalid argument
I think there should be some db patch for 1.9.5......:(
zabbix_zen
13-09-2011, 16:26
Disclaimer: I still haven't installed any Zabbix 1.9.x
but from my previous installs, I'm pretty sure those upgrade scripts are meant to be run as a means to upgrate between Major releases(Eg. 1.6.x -> 1.8.x -> 2.0.x), the error you're getting must be due to some new tables already existing in the DB.
Thus,
to upgrade from 1.9.5 to 1.9.6 you only need to recompile the binaries and replace the /var/www/html/zabbix frontend files.
newflame
14-09-2011, 04:31
to upgrade from 1.9.5 to 1.9.6 you only need to recompile the binaries and replace the /var/www/html/zabbix frontend files.
if only recompile the binaries and replace the /var/www/html/zabbix frontend files.
I get error when start zabbix server:
zabbix_server [30288]: [file:'selfmon.c',line:341] lock failed: [22] Invalid argument
as zabbix_zen noted, those patches are only for going from one major version to another (as in from 1.8 to 2.0).
there are no official patches for minor upgrades - but there's an unofficial approach for mysql at http://www.zabbix.org/svn/zabbixorg/zabbix/upgrade_incremental/README
if you already damaged the db by re-running the patch, you should restore from the backup and proceed as outlined in the readme above