Ad Widget

Collapse

Zabbix upgrade path question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stav13
    Member
    • Oct 2013
    • 66

    #1

    Zabbix upgrade path question

    Hi,

    I am attempting to upgrade our Zabbix 2.2.1 server but wanted to ask a question first;

    We currently have two servers, one which is the application server and another which is the DB server. I have upgraded Zabbix before when both App & DB were on the same server. This was done by stopping the zabbix server service then downloading the upgrade and running the below after un tar'in the file;

    ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2

    My question is do I then have to run the above on the DB server as well?

    Many Thanks
  • pc99096
    Senior Member
    • Oct 2011
    • 193

    #2
    which version are you upgrading from? if it's older than 2.2, you need to upgrade the db server.

    you will still have to run "make install" on the app server, copy the php directory to your web server.

    Comment

    • stav13
      Member
      • Oct 2013
      • 66

      #3
      Hi,

      Im upgrading from 2.2.1 to 2.2.2

      I have run the ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2

      But getting the error = configure: error: Not found mysqlclient library

      I have tried to then yum install mysql-devel but get the below error;

      [root@sg-srv-zx zabbix-2.2.2]# yum install mysql-devel
      Loaded plugins: fastestmirror, security
      Determining fastest mirrors
      * base: mirror.simwood.com
      * extras: mirror.krystal.co.uk
      * updates: mirrors.ukfast.co.uk
      base | 3.7 kB 00:00
      extras | 3.4 kB 00:00
      updates | 3.4 kB 00:00
      updates/primary_db | 2.0 MB 00:08
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package mysql-devel.x86_64 0:5.1.73-3.el6_5 will be installed
      --> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-devel-5.1.73-3.el6_5.x86_64
      --> Finished Dependency Resolution
      Error: Package: mysql-devel-5.1.73-3.el6_5.x86_64 (updates)
      Requires: mysql = 5.1.73-3.el6_5
      Installed: mysql-5.5.36-1.el6.remi.x86_64 (@remi)
      mysql = 5.5.36-1.el6.remi
      Available: mysql-5.1.71-1.el6.x86_64 (base)
      mysql = 5.1.71-1.el6
      Available: mysql-5.1.73-3.el6_5.x86_64 (updates)
      mysql = 5.1.73-3.el6_5
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest
      [root@sg-srv-zx zabbix-2.2.2]# ^C


      Any ideas?

      Comment

      • pc99096
        Senior Member
        • Oct 2011
        • 193

        #4
        yum install mysql
        ?

        Comment

        • stav13
          Member
          • Oct 2013
          • 66

          #5
          As i was using the REMI repo i did the below;

          yum --enablerepo=remi install mysql-devel

          Now i have upgraded so all good.

          Thanks

          Comment

          • pc99096
            Senior Member
            • Oct 2011
            • 193

            #6
            ./configure doesn't do the upgrade, "make install" does

            and you still have to copy the php files:

            mv /var/www/html/zabbix /var/www/html/zabbix.old
            mkdir /var/www/html/zabbix
            cd frontends/php
            cp -a . /var/www/html/zabbix

            Comment

            • stav13
              Member
              • Oct 2013
              • 66

              #7
              Hi,

              sorry, i did the make install and CP the frontend over .... all working now.

              Comment

              Working...