Ad Widget

Collapse

Help, I Have trouble upgrade 1.9.6 from 1.9.5!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newflame
    Junior Member
    • Sep 2011
    • 2

    #1

    Help, I Have trouble upgrade 1.9.6 from 1.9.5!

    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
    Senior Member
    • Jul 2009
    • 426

    #2
    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.

    Comment

    • newflame
      Junior Member
      • Sep 2011
      • 2

      #3
      Originally posted by zabbix_zen
      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

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        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/...emental/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
        Zabbix 3.0 Network Monitoring book

        Comment

        Working...