Ad Widget

Collapse

Zabbix server upgrade failing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Inc0
    Member
    • Dec 2010
    • 36

    #1

    Zabbix server upgrade failing

    Hello,

    I'm having some problems upgrading zabbix server to latest 2.2 release.

    Here is my enviroment : http://pastebin.com/ZKM3x55f

    When i try to upgrade with yum, i get the following error:
    Loaded plugins: fastestmirror, replace, rhnplugin
    This system is receiving updates from RHN Classic or Red Hat Satellite.
    Loading mirror speeds from cached hostfile
    Setting up Upgrade Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-web.x86_64 0:2.2.8-1.el5 set to be updated
    --> Processing Dependency: php >= 5.3 for package: zabbix-web
    ---> Package zabbix-web-mysql.x86_64 0:2.2.8-1.el5 set to be updated
    --> Finished Dependency Resolution
    zabbix-web-2.2.8-1.el5.x86_64 from zabbix-centos5-x86_64 has depsolving problems
    --> Missing Dependency: php >= 5.3 is needed by package zabbix-web-2.2.8-1.el5.x86_64 (zabbix-centos5-x86_64)
    Error: Missing Dependency: php >= 5.3 is needed by package zabbix-web-2.2.8-1.el5.x86_64 (zabbix-centos5-x86_64)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest

    What's am I doing wrong? If you need other info, let me know.

    Thank you
  • johansen
    Member
    • Oct 2009
    • 38

    #2
    the error message clearly says that you need to have at least php5.3.
    run php -v on the zabbix frontend server to check your version and update to the "latest" release.

    Comment

    • Inc0
      Member
      • Dec 2010
      • 36

      #3
      # php -v
      PHP 5.3.3 (cli) (built: Oct 31 2014 09:52:36)
      Copyright (c) 1997-2010 The PHP Group
      Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Originally posted by Inc0
        # php -v
        PHP 5.3.3 (cli) (built: Oct 31 2014 09:52:36)
        Copyright (c) 1997-2010 The PHP Group
        Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
        So it is another explanation that your php has been not installed from rpm packages.
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        • Inc0
          Member
          • Dec 2010
          • 36

          #5
          Hello,

          i've just remove the php53 package, searched in all system for directories and files containing "php" but i've found nothing:
          # find / -iname "*php*"

          Then i've reinstalled php53 from rpm:
          # yum install php53 php53-bcmath php53-bcmath php53-pdo php53-gd php53-common php53-mbstring php53-xml php53-xml

          And i still get the same error.

          Comment

          Working...