Ad Widget

Collapse

Problems installing Zabbiх on CentOS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unoc_u34
    Junior Member
    • Jul 2018
    • 1

    #1

    Problems installing Zabbiх on CentOS

    Hi everybody! I install Zabbix on CentOS 7.5.
    There are:
    Apache 2.4.39
    PPP 7.2.8 (PHP, PHP-MySQL)
    MySQL 8.0.12
    When installing, I used the source https://www.zabbix.com/documentation...es/rhel_centus

    During the installation of zabbix-web-muscle I get the following error:
    -> Processing Dependency: php-mysql for package: zabbix-web-mysql-3.4.12-1.el7.noarch
    Package php-mysql-5.4.16-45.el7.x86_64 is obsoleted by php-mysqlnd-7.2.8-1.el7.remi.x86_64 which is already installed
    -> Finished Dependency Resolution
    Error: Package: zabbix-web-mysql-3.4.12-1.el7.noarch (zabbix)
    Requires: php-mysql
    Available: php-mysql-5.4.16-45.el7.x86_64 (base)
    php-mysql = 5.4.16-45.el7
    Available: php-mysqlnd-5.4.16-45.el7.x86_64 (base)
    php-mysql = 5.4.16-45.el7
    Available: php-pecl-mysql-1.0.0-0.17.20160812git230a828.el7.remi.7.2.x86_64 (remi-php72)
    php-mysql = 1: 1.0.0
    Installed: php-mysqlnd-7.2.8-1.el7.remi.x86_64 (@ remi-php72)
    Not found
    Available: php-mysqlnd-7.2.7-1.el7.remi.x86_64 (remi-php72)
    Not found
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles - nudist

    Tell me how to fix this. Thanks in advance
  • Hernandes Martins
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Apr 2011
    • 900

    #2
    Hi Uno

    Folow the steps the documentation for CentOS 7 for instalation zabbix

    Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!


    After

    Install Mariadb server
    yum install mariadb-server

    systemctl enable mariadb-server
    systemctl start mariadb-serve

    After create a database with steps from before e folow the link documentation

    Look the Selinux, if enable or enforcing , change to disable and reboot your system

    Regards





    __

    Att.
    Hernandes Martins - Zabbix Trainer

    Zabbix Brazil Partner - www.luniobr.com

    Zabbix Brazil Community - www.zabbixbrasil.org

    Blog: hernandesmartins.blogspot.com.br

    Skype: hernandss
    Telegram: @MrHernandes

    Español
    Facebook: facebook.com/groups/zabbixlatam
    Telegram: https://t.me/ZabbixEspañol

    Português
    Facebook: facebook.com/groups/zabbixbrasil/
    Telegram: https://t.me/ZabbixBrasil

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      The Zabbix official package for RHEL 7(CentOS 7) is to be built using RHEL 7(CentOS 7) standard package.

      If you are having problems with package dependencies, please choose one of the following.
      - Restore PHP to standard version
      - Ignore package dependencies and install the necessary packages with the rpm command

      As a precaution, PHP 5.4 uses php-mysql, but PHP 7.2 will require php-mysqlnd.

      Comment

      Working...