Ad Widget

Collapse

Upgrade from 2.0.11 to 2.2.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aakaa
    Junior Member
    • Feb 2013
    • 10

    #1

    Upgrade from 2.0.11 to 2.2.1

    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
    PHP Code:
    zabbix_server [25322]: cannot create PID file [/var/run/zabbix/zabbix_server.pid]: [13Permission denied 
    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:
    PHP Code:
     25471:20140303:104724.116 Starting Zabbix ServerZabbix 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 version02020000
     25471
    :20140303:104724.127 database upgrade failed 
    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
  • sckif
    Junior Member
    • Aug 2012
    • 9

    #2
    i Have this problem too!!! how you solved the problem?

    Comment

    • aakaa
      Junior Member
      • Feb 2013
      • 10

      #3
      Hi sckif,
      I don't resolve this problem, nobody want to help me and I have another stuff to do, so I back to my working version.

      Comment

      • f.koch
        Member
        Zabbix Certified Specialist
        • Feb 2010
        • 85

        #4
        can u enable debug logging to see exactly what happens?

        Comment

        • aib
          Senior Member
          • Jan 2014
          • 1615

          #5
          check the article http://blog.zabbix.com/zabbix-2-2-fe...pgrading/1956/

          may be it can help a little bit
          Sincerely yours,
          Aleksey

          Comment

          Working...