Ad Widget

Collapse

help with rhel requirements

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcdougak
    Junior Member
    • Oct 2013
    • 26

    #1

    help with rhel requirements

    Hey all,

    So I was able to get everything in working order real quick on Ubuntu but I'm having some issues on RHEL 6.5

    The following is what I see at servername/zabbix when i try to do the install procedure...

    Current value Required
    PHP version 5.3.14 5.3.0 OK
    PHP option memory_limit 128M 128M OK
    PHP option post_max_size 16M 16M OK
    PHP option upload_max_filesize 2M 2M OK
    PHP option max_execution_time 300 300 OK
    PHP option max_input_time 300 300 OK
    PHP time zone unknown Fail
    PHP databases support off Fail
    PHP bcmath off Fail
    PHP mbstring off Fail
    PHP sockets off Fail
    PHP gd unknown 2.0 Fail
    PHP gd PNG support off Fail
    PHP gd JPEG support off Fail
    PHP gd FreeType support off Fail
    PHP libxml 2.7.7 2.6.15 OK
    PHP xmlwriter on OK
    PHP xmlreader on OK
    PHP ctype on OK
    PHP session on OK
    PHP session auto start off off OK
    PHP gettext off Warning
    I know why the time item is wrong and had that fixed before i wiped out my config to start over, I can get that corrected by myself. However .. the rest is really starting to confuse me.

    My DB is hosted on a server running mysql, all the scripts ran correctly to setup the initial database. So this is what I try and what I get ...

    []# yum install mysql
    Setting up Install Process
    Package mysql-5.1.71-1.el6.x86_64 already installed and latest version
    Nothing to do
    []# yum install php-mysql
    Setting up Install Process
    Package php-mysql-5.3.3-27.el6_5.x86_64 already installed and latest version
    Nothing to do
    []#
    Similar for bcmath ...

    []# yum install php-bcmath
    Setting up Install Process
    Package php-bcmath-5.3.3-27.el6_5.x86_64 already installed and latest version
    Nothing to do
    []#

    Am I looking for the correct versions ? I have the server updated with the latest versions of everything.
    This is with the 2.2 release of zabbix.

    Thanks for your help !
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    A lot of times those type issues are resolved by installing the devel packages also.

    For instance:
    mysql-devel
    libcurl-devel
    etc

    And for my PHP stuff, I installed all of these packages via RPM's:

    $ sudo rpm -i php-5.3.3-14.el6_3.x86_64.rpm
    $ sudo rpm -i php-mysql-5.3.3-14.el6_3.x86_64.rpm
    $ sudo rpm -i php-common-5.3.3-14.el6_3.x86_64.rpm
    $ sudo rpm -i php-bcmath-5.3.3-14.el6_3.x86_64.rpm
    $ sudo rpm -i php-mbstring-5.3.3-14.el6_3.x86_64.rpm
    $ sudo rpm -i php-xml-5.3.3-14.el6_3.x86_64.rpm
    $ sudo rpm -i php-cli-5.3.3-14.el6_3.x86_64.rpm

    (Edit) That was all on my Zabbix version 2.0.9 and RHEL 6.3 (Santiago)
    Last edited by tchjts1; 29-01-2014, 23:00.

    Comment

    • mcdougak
      Junior Member
      • Oct 2013
      • 26

      #3
      getting closer

      After removing all components and reinstallling / updating I've not got the following

      PHP version 5.3.14 5.3.0 OK
      PHP option memory_limit 128M 128M OK
      PHP option post_max_size 16M 16M OK
      PHP option upload_max_filesize 2M 2M OK
      PHP option max_execution_time 300 300 OK
      PHP option max_input_time 300 300 OK
      PHP time zone America/Los_Angeles OK
      PHP databases support off Fail
      PHP bcmath on OK
      PHP mbstring on OK
      PHP sockets off Fail
      PHP gd 2.0.34 2.0 OK
      PHP gd PNG support on OK
      PHP gd JPEG support on OK
      PHP gd FreeType support on OK
      PHP libxml 2.7.7 2.6.15 OK
      PHP xmlwriter on OK
      PHP xmlreader on OK
      PHP ctype off Fail
      PHP session on OK
      PHP session auto start off off OK
      PHP gettext off Warning
      I installed the devel packages as suggested also.

      When I went to install the php rpms listed I received this ...

      []# yum install php-5.3.3-14.el6_3.x86_64
      Setting up Install Process
      Package php-5.3.3-14.el6_3.x86_64 is obsoleted by mod-php-5.3-apache2-zend-server-5.3.14-300.x86_64 which is already installed
      Nothing to do
      []# yum install php-mysql-5.3.3-14.el6_3.x86_64
      Setting up Install Process
      Package matching php-mysql-5.3.3-14.el6_3.x86_64 already installed. Checking for update.
      Nothing to do
      [root@watchdog conf]# yum install php-common-5.3.3-14.el6_3.x86_64
      Setting up Install Process
      Package matching php-common-5.3.3-14.el6_3.x86_64 already installed. Checking for update.
      Nothing to do
      []# yum install php-bcmath-5.3.3-14.el6_3.x86_64
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package php-bcmath.x86_64 0:5.3.3-14.el6_3 will be installed
      --> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-bcmath-5.3.3-14.el6_3.x86_64
      --> Finished Dependency Resolution
      Error: Package: php-bcmath-5.3.3-14.el6_3.x86_64 (public_ol6_latest)
      Requires: php-common = 5.3.3-14.el6_3
      Installed: php-common-5.3.3-27.el6_5.x86_64 (@el6_latest)
      php-common = 5.3.3-27.el6_5
      Available: php-common-5.3.2-6.el6.x86_64 (public_ol6_latest)
      php-common = 5.3.2-6.el6
      Available: php-common-5.3.2-6.el6_0.1.x86_64 (public_ol6_latest)
      php-common = 5.3.2-6.el6_0.1
      Available: php-common-5.3.3-3.el6.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6
      Available: php-common-5.3.3-3.el6_1.3.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_1.3
      Available: php-common-5.3.3-3.el6_2.5.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.5
      Available: php-common-5.3.3-3.el6_2.6.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.6
      Available: php-common-5.3.3-3.el6_2.8.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.8
      Available: php-common-5.3.3-14.el6_3.x86_64 (public_ol6_latest)
      php-common = 5.3.3-14.el6_3
      Available: php-common-5.3.3-22.el6.x86_64 (el6_latest)
      php-common = 5.3.3-22.el6
      Available: php-common-5.3.3-23.el6_4.x86_64 (el6_latest)
      php-common = 5.3.3-23.el6_4
      Available: php-common-5.3.3-26.el6.x86_64 (el6_latest)
      php-common = 5.3.3-26.el6
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest
      []# yum install php-mbstring-5.3.3-14.el6_3.x86_64
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package php-mbstring.x86_64 0:5.3.3-14.el6_3 will be installed
      --> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-mbstring-5.3.3-14.el6_3.x86_64
      --> Finished Dependency Resolution
      Error: Package: php-mbstring-5.3.3-14.el6_3.x86_64 (public_ol6_latest)
      Requires: php-common = 5.3.3-14.el6_3
      Installed: php-common-5.3.3-27.el6_5.x86_64 (@el6_latest)
      php-common = 5.3.3-27.el6_5
      Available: php-common-5.3.2-6.el6.x86_64 (public_ol6_latest)
      php-common = 5.3.2-6.el6
      Available: php-common-5.3.2-6.el6_0.1.x86_64 (public_ol6_latest)
      php-common = 5.3.2-6.el6_0.1
      Available: php-common-5.3.3-3.el6.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6
      Available: php-common-5.3.3-3.el6_1.3.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_1.3
      Available: php-common-5.3.3-3.el6_2.5.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.5
      Available: php-common-5.3.3-3.el6_2.6.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.6
      Available: php-common-5.3.3-3.el6_2.8.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.8
      Available: php-common-5.3.3-14.el6_3.x86_64 (public_ol6_latest)
      php-common = 5.3.3-14.el6_3
      Available: php-common-5.3.3-22.el6.x86_64 (el6_latest)
      php-common = 5.3.3-22.el6
      Available: php-common-5.3.3-23.el6_4.x86_64 (el6_latest)
      php-common = 5.3.3-23.el6_4
      Available: php-common-5.3.3-26.el6.x86_64 (el6_latest)
      php-common = 5.3.3-26.el6
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest
      []# yum install php-xml-5.3.3-14.el6_3.x86_64
      Setting up Install Process
      Package matching php-xml-5.3.3-14.el6_3.x86_64 already installed. Checking for update.
      Nothing to do
      []# yum install php-cli-5.3.3-14.el6_3.x86_64
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package php-cli.x86_64 0:5.3.3-14.el6_3 will be installed
      --> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-cli-5.3.3-14.el6_3.x86_64
      --> Finished Dependency Resolution
      Error: Package: php-cli-5.3.3-14.el6_3.x86_64 (public_ol6_latest)
      Requires: php-common = 5.3.3-14.el6_3
      Installed: php-common-5.3.3-27.el6_5.x86_64 (@el6_latest)
      php-common = 5.3.3-27.el6_5
      Available: php-common-5.3.2-6.el6.x86_64 (public_ol6_latest)
      php-common = 5.3.2-6.el6
      Available: php-common-5.3.2-6.el6_0.1.x86_64 (public_ol6_latest)
      php-common = 5.3.2-6.el6_0.1
      Available: php-common-5.3.3-3.el6.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6
      Available: php-common-5.3.3-3.el6_1.3.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_1.3
      Available: php-common-5.3.3-3.el6_2.5.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.5
      Available: php-common-5.3.3-3.el6_2.6.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.6
      Available: php-common-5.3.3-3.el6_2.8.x86_64 (public_ol6_latest)
      php-common = 5.3.3-3.el6_2.8
      Available: php-common-5.3.3-14.el6_3.x86_64 (public_ol6_latest)
      php-common = 5.3.3-14.el6_3
      Available: php-common-5.3.3-22.el6.x86_64 (el6_latest)
      php-common = 5.3.3-22.el6
      Available: php-common-5.3.3-23.el6_4.x86_64 (el6_latest)
      php-common = 5.3.3-23.el6_4
      Available: php-common-5.3.3-26.el6.x86_64 (el6_latest)
      php-common = 5.3.3-26.el6
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest

      Comment

      • nelsonab
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2006
        • 1233

        #4
        The Zabbix 2.2 packages are currently in the final steps of QA for EPEL. EPEL is going to be the most supportable method of install for RHEL and related systems.
        RHCE, author of zbxapi
        Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
        Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

        Comment

        • mcdougak
          Junior Member
          • Oct 2013
          • 26

          #5
          Originally posted by nelsonab
          The Zabbix 2.2 packages are currently in the final steps of QA for EPEL. EPEL is going to be the most supportable method of install for RHEL and related systems.
          Is there any additional documentation you can point me to?

          I have epel-release-6-8.noarch already installed and updated to the latest version. ( at least i believe i do, here is my repolist. also should i consider removing any of these to make sure i'm getting the correct package?)

          []# yum repolist
          repo id repo name status
          el6_latest Oracle Linux 6Server - x86_64 - latest 12,257
          epel Extra Packages for Enterprise Linux 6 - x86_64 10,397
          public_ol6_UEKR3_latest Unbreakable Enterprise Kernel Release 3 for Oracl 77
          public_ol6_latest Oracle Linux 6Server Latest (x86_64) 24,623
          zabbix Zabbix Official Repository - x86_64 33
          zabbix-non-supported Zabbix Official Repository non-supported - x86_64 13
          zendServer $name 6Server - ZendServer - $builder 166
          zendServerNoarch $name 6Server - ZendServer - $builder 28
          repolist: 47,594

          Thanks,
          KM
          Last edited by mcdougak; 30-01-2014, 22:07.

          Comment

          Working...