Ad Widget

Collapse

Zabbix Server 3.0 installation failed on AWS- Redhat 7.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CTest
    Junior Member
    • Nov 2016
    • 8

    #1

    Zabbix Server 3.0 installation failed on AWS- Redhat 7.3

    Aws Redhat Instance: Fresh

    I following this guide to install Zabbix Server 3.0.


    When i try to install zabbix server
    Code:
    # yum install zabbix-server-mysql zabbix-web-mysql
    Its fails due to following Error:
    Code:
    Error: Package: zabbix-web-3.0.5-1.el7.noarch (zabbix)
               Requires: php-mbstring
    Error: Package: zabbix-web-3.0.5-1.el7.noarch (zabbix)
               Requires: php-bcmath
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Last edited by CTest; 09-11-2016, 12:34.
  • MightBeAWizard
    Member
    • May 2016
    • 33

    #2
    Zabbix works on LAMP stack, so at least how I installed it was with:

    yum -y install zabbix-server-mysql zabbix-web-mysql mysql mariadb-server httpd php

    good luck

    Comment

    • michael.weber
      Senior Member
      • Nov 2015
      • 121

      #3
      yum install php-mbstring
      yum install php-bcmath
      should install the requirements

      plesae come back with the result

      Comment

      • CTest
        Junior Member
        • Nov 2016
        • 8

        #4
        Originally posted by michael.weber
        should install the requirements

        plesae come back with the result
        Failed.

        Code:
        No package php-mbstring available.
        No package php-bcmath available.
        Error: Nothing to do

        Comment

        • michael.weber
          Senior Member
          • Nov 2015
          • 121

          #5
          i am sorry, i am not used to RedHat.
          You are missing the required package.
          What PHP Version are you using?
          php -v
          yum search php
          did you perform a
          yum update
          bevor the install?

          if you use php5.6 please try something like:
          yum install php56-mbstring php56-bcmath

          Comment

          • CTest
            Junior Member
            • Nov 2016
            • 8

            #6
            Originally posted by michael.weber
            i am sorry, i am not used to RedHat.
            You are missing the required package.
            What PHP Version are you using?


            did you perform a

            bevor the install?

            if you use php5.6 please try something like:

            Php Version:

            PHP 5.4.16 (cli) (built: Aug 5 2016 07:50:38)
            Copyright (c) 1997-2013 The PHP Group
            Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies


            I tried to installed.
            Same error.

            Comment

            • michael.weber
              Senior Member
              • Nov 2015
              • 121

              #7
              you tried:
              yum install php54-mbstring php54-bcmath
              ?
              i have no redhat System available. you "just" Need to check for the packagename for php bcmath and php mbstring

              Comment

              • CTest
                Junior Member
                • Nov 2016
                • 8

                #8
                Originally posted by michael.weber
                you tried:
                yum install php54-mbstring php54-bcmath
                ?
                i have no redhat System available. you "just" Need to check for the packagename for php bcmath and php mbstring
                Yes but same error.
                No pacakges found for php54-mbstring php54-bcmath

                Comment

                • Atsushi
                  Senior Member
                  • Aug 2013
                  • 2028

                  #9
                  You must enable optional repository.
                  Please check list on your environment.

                  Code:
                  # yum repolist all
                  ref.

                  Comment

                  • Atsushi
                    Senior Member
                    • Aug 2013
                    • 2028

                    #10
                    Actually started RHEL 7 on EC2.
                    You can install it by executing the following command to enable optional repository.

                    Code:
                    $ sudo yum-config-manager --enable rhui-REGION-rhel-server-optional
                    Setting up SELinux is necessary for starting Zabbix.
                    Last edited by Atsushi; 10-11-2016, 05:50. Reason: typo

                    Comment

                    • CTest
                      Junior Member
                      • Nov 2016
                      • 8

                      #11
                      Originally posted by Atsushi
                      Actually started RHEL 7 on EC2.
                      You can install it by executing the following command to enable optional repository.

                      Code:
                      $ sudo yum-config-manager --enable rhui-REGION-rhel-server-optional
                      Setting up SELinux is necessary for starting Zabbix.
                      It worked.
                      Thank you.

                      Regarding SELinux, is it possible to disable selinux for zabbix server alone.

                      Comment

                      Working...