Ad Widget

Collapse

Zabbix from packages... page not found error -400

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nalemu
    Junior Member
    • Dec 2017
    • 12

    #1

    Zabbix from packages... page not found error -400

    All,

    This is really a challenge or something unknown, not sure.

    I have installed Zabbix 3.4 from packages as documented here.



    However, I keep getting this page not found error. I have zabbix front end installed, httpd configured. I set the fronted parameters from /etc/php.ini for PHP. Not sure what the issue is.

    Any idea?
    Thanks in advance for all suggestion.

    NA
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please tell me the distribution and version of OS you are using.

    If you are using RHEL 6 or CentOS 6, it is a deprecated environment as written in the manual.
    It is necessary to prepare a new version of PHP environment and manually arrange the files.

    Manual:

    Comment

    • nalemu
      Junior Member
      • Dec 2017
      • 12

      #3
      Zappix 3.4 on RHEL 6

      Thanks for your response. It is RHEL 6 and configured the the depreciated as per document.
      Let me know if you see anything here plesae:
      zabbix 31716 1 0 16:42 ? 00:00:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
      zabbix 31717 31716 0 16:42 ? 00:00:00 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
      zabbix 31718 31716 0 16:42 ? 00:00:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
      zabbix 31719 31716 0 16:42 ? 00:00:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
      zabbix 31720 31716 0 16:42 ? 00:00:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
      zabbix 31721 31716 0 16:42 ? 00:00:00 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
      zabbix 31801 1 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
      zabbix 31805 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: configuration syncer [synced configuration in 0.005410 sec, idle 60 sec]
      zabbix 31806 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: alerter #1 started
      zabbix 31807 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: alerter #2 started
      zabbix 31808 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: alerter #3 started
      zabbix 31809 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: housekeeper [startup idle for 30 minutes]
      zabbix 31810 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: timer #1 [processed 0 triggers, 0 events in 0.000010 sec, 0 maintenances in 0.000582 sec, idle 30 sec]
      zabbix 31811 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: http poller #1 [got 0 values in 0.000319 sec, idle 5 sec]
      zabbix 31812 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: discoverer #1 [processed 0 rules in 0.000359 sec, idle 60 sec]
      zabbix 31813 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #1 [synced 0 items in 0.000002 sec, idle 1 sec]
      zabbix 31814 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #2 [synced 0 items in 0.000001 sec, idle 1 sec]
      zabbix 31815 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #3 [synced 0 items in 0.000001 sec, idle 1 sec]
      zabbix 31816 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: history syncer #4 [synced 0 items in 0.000001 sec, idle 1 sec]
      zabbix 31817 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000389 sec, idle 3 sec]
      zabbix 31818 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: proxy poller #1 [exchanged data with 0 proxies in 0.000002 sec, idle 5 sec]
      zabbix 31819 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: self-monitoring [processed data in 0.000005 sec, idle 1 sec]
      zabbix 31820 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: task manager [processed 0 task(s) in 0.000253 sec, idle 5 sec]
      zabbix 31821 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: poller #1 [got 0 values in 0.000004 sec, idle 5 sec]
      zabbix 31830 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: poller #2 [got 0 values in 0.000002 sec, idle 5 sec]
      zabbix 31831 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000002 sec, idle 5 sec]
      zabbix 31832 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: poller #4 [got 0 values in 0.000002 sec, idle 5 sec]
      zabbix 31833 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: poller #5 [got 0 values in 0.000003 sec, idle 5 sec]
      zabbix 31834 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: unreachable poller #1 [got 0 values in 0.000002 sec, idle 5 sec]
      zabbix 31835 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: trapper #1 [processed data in 0.000000 sec, waiting for connection]
      zabbix 31836 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: trapper #2 [processed data in 0.000000 sec, waiting for connection]
      zabbix 31837 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: trapper #3 [processed data in 0.000000 sec, waiting for connection]
      zabbix 31838 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: trapper #4 [processed data in 0.000000 sec, waiting for connection]
      zabbix 31839 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: trapper #5 [processed data in 0.000000 sec, waiting for connection]
      zabbix 31840 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: icmp pinger #1 [got 0 values in 0.000003 sec, idle 5 sec]
      zabbix 31841 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: alert manager #1 [sent 0, failed 0 alerts, idle 5.007071 sec during 5.007073 sec]
      zabbix 31842 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: preprocessing manager #1 [queued 0, processed 0 values, idle 5.001014 sec during 5.001017 sec]
      zabbix 31843 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: preprocessing worker #1 started
      zabbix 31849 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: preprocessing worker #2 started
      zabbix 31850 31801 0 16:43 ? 00:00:00 /usr/sbin/zabbix_server: preprocessing worker #3 started
      root 31922 27224 0 16:50 pts/0 00:00:00 grep zabbix

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        The Web frontend is accessed via the Web server.

        Do you have an environment of PHP 5.4 or later?
        Is the Web server(ex. httpd) running?

        Comment

        • nalemu
          Junior Member
          • Dec 2017
          • 12

          #5
          Yes I have I think.

          php -v
          PHP 5.4.40 (cli) (built: Jul 22 2016 07:31:37)
          Copyright (c) 1997-2014 The PHP Group
          Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

          But still I get issues like these on the fronted configuration.

          At least one of MySQL, PostgreSQL, Oracle or IBM DB2 should be supported.
          PHP bcmath extension missing (PHP configuration parameter --enable-bcmath).
          PHP mbstring extension missing (PHP configuration parameter --enable-mbstring).
          PHP gd extension missing (PHP configuration parameter --with-gd).
          PHP gd PNG image support missing.
          PHP gd JPEG image support missing.
          PHP gd FreeType support missing.

          Current

          Comment

          • allexpetrov
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • May 2017
            • 361

            #6
            Can you perform
            Code:
            curl 127.0.0.1/zabbix/
            from the Web Server? Does your Apache server(Web Server) was installed as a dependency for zabbix-web or you already had this one?

            Regards,
            Alex!

            Comment

            • nalemu
              Junior Member
              • Dec 2017
              • 12

              #7
              Thanks for your response Alex.

              I haven't done this curl 127.0.0.1/zabbix/

              BTW, I solved some of the errors, those were related to missing RPM for depreciated Zabbix on RHEL 6 install. I'm still having issue with gd, bellow though.

              PHP gd extension missing (PHP configuration parameter --with-gd).
              PHP gd PNG image support missing.
              PHP gd JPEG image support missing.
              PHP gd FreeType support missing.


              Thanks,

              nalemu
              Last edited by nalemu; 05-01-2018, 16:02. Reason: want to enclude content

              Comment

              • nalemu
                Junior Member
                • Dec 2017
                • 12

                #8
                Looking what it is doing on the front end, there is something PHP is looking for even though I have provided with needed RPMs
                PHP gd unknown 2.0 Fail
                I need this to be resolved... on RHEL 6 install.

                rpm -qa | grep gd
                php54-php-gd-5.4.45-13.el6.remi.x86_64
                php-gd-5.4.45-13.el6.remi.x86_64
                eggdbus-0.6-3.el6.x86_64
                gdbm-devel-1.8.0-39.el6.x86_64
                gdisk-0.8.10-1.el6.x86_64
                gdbm-1.8.0-39.el6.x86_64
                gdk-pixbuf2-2.24.1-6.el6_7.x86_64

                Comment

                • allexpetrov
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • May 2017
                  • 361

                  #9
                  Have you restarted the httpd after the installing the gd? Show the screenshot of the error, please.

                  Regards,
                  Alex!

                  Comment

                  • nalemu
                    Junior Member
                    • Dec 2017
                    • 12

                    #10
                    screeshot

                    see if you can see the file attached.

                    Comment

                    • nalemu
                      Junior Member
                      • Dec 2017
                      • 12

                      #11
                      Attached again as PNG.

                      I restart httpd all the time, after update.

                      Thanks Alex for looking at this.
                      Attached Files

                      Comment

                      • nalemu
                        Junior Member
                        • Dec 2017
                        • 12

                        #12
                        screenshot

                        I'm not seeing the screenshot on my response email.
                        Let me try with this.
                        Attached Files

                        Comment

                        • Atsushi
                          Senior Member
                          • Aug 2013
                          • 2028

                          #13
                          Even if the package is installed, it may not be configured properly to call it.
                          Please check the setting to load PHP extension module.

                          If you do not know how to confirm, please tell me more about how you built up the environment of PHP 5.4.

                          Is not it better to use RHEL 7?

                          Comment

                          • nalemu
                            Junior Member
                            • Dec 2017
                            • 12

                            #14
                            Interestingly I made it work. I have Zabbix 3.4 on RHEL 6.
                            The secret for this to work is to have all the php54 modules on the host. If you have an RPM from php53, the frontend never work.

                            Run this on your clean RHEL 6 and say good bye to frontend issues:

                            yum install php54 php54-php php54-php-gd php54-php-mbstring php54-php-bcmath

                            Thanks,

                            Nigatu

                            Comment

                            Working...