Ad Widget

Collapse

Stuck in RHEL5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixnewbie
    Junior Member
    • Jul 2010
    • 28

    #16
    Originally posted by Bennie
    As stated two posts back:
    http://www.zabbix.com/documentation/...e_requirements

    You NEED apache running to be able to run the interface. Zabbix does not provide a lone daemon for their webinterface.
    Sorry for my mistake.I miss that part
    Now, apache installed.
    I already copy all the files from frontends/php --> /usr/local/apache2/htdocs
    URL : http://localhost:10051/
    RETURN word "OK"

    Which part go wrong?

    Comment

    • Bennie
      Member
      Zabbix Certified Specialist
      • Feb 2010
      • 73

      #17
      do not add a portnumber.

      just http://localhost

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #18
        Originally posted by zabbixnewbie
        . . . . . but i still havent figure out why is the messages come out after i start the agentd.
        Are you talking about this message?

        zabbix_agentd.log
        2902:20100722:151945.054 Zabbix Agent started. Zabbix 1.8.2 (revision 11211).
        2902:20100722:151945.055 Listener failed with error: Cannot bind to port 10050 for server [ANY]. Error [Address already in
        use]. Another daemon already running on this port ?.

        Stop the agent, then do ps -ef | grep zabbix_agent to check that it has stopped. If not stopped, then kill it.

        When you are satisfied that it has stopped, then start the agent. Post any errors from the agent log.
        [btw it is Friday and beer time is only 90 minutes away - in this part of the world anyway ]
        Disclaimer: All of the above is pure speculation.

        Comment

        • zabbixnewbie
          Junior Member
          • Jul 2010
          • 28

          #19
          Originally posted by Bennie
          do not add a portnumber.

          just http://localhost
          Page cannot be displayed
          Just a bit curiosity, does it needs tomcat also?
          Last edited by zabbixnewbie; 23-07-2010, 10:42.

          Comment

          • zabbixnewbie
            Junior Member
            • Jul 2010
            • 28

            #20
            Originally posted by MrKen
            Are you talking about this message?

            zabbix_agentd.log
            2902:20100722:151945.054 Zabbix Agent started. Zabbix 1.8.2 (revision 11211).
            2902:20100722:151945.055 Listener failed with error: Cannot bind to port 10050 for server [ANY]. Error [Address already in
            use]. Another daemon already running on this port ?.

            Stop the agent, then do ps -ef | grep zabbix_agent to check that it has stopped. If not stopped, then kill it.

            When you are satisfied that it has stopped, then start the agent. Post any errors from the agent log.
            [btw it is Friday and beer time is only 90 minutes away - in this part of the world anyway ]
            Ya. currently is only this error below and i think it can be solve after i manage to go into the WEB INTERFACE
            8337:20100723:155813.589 Sending list of active checks to [localhost] failed: host [localhost] not found
            base on this post
            Join the friendly and open Zabbix community on our forums and social media platforms.


            Correct me if i am wrong.

            Comment

            • Bennie
              Member
              Zabbix Certified Specialist
              • Feb 2010
              • 73

              #21
              You need to check if apache is running, you got all needed php modules installed that are listed in the requirements.
              If you got apache running then start looking into the frontend.

              Comment

              • MrKen
                Senior Member
                • Oct 2008
                • 652

                #22
                Originally posted by zabbixnewbie
                Ya. currently is only this error below and i think it can be solve after i manage to go into the WEB INTERFACE
                8337:20100723:155813.589 Sending list of active checks to [localhost] failed: host [localhost] not found
                base on this post
                Join the friendly and open Zabbix community on our forums and social media platforms.


                Correct me if i am wrong.
                That is a good thread to follow!

                Try ps -ef | grep httpd (to see if apache is running)

                http://<IP ADDRESS>/zabbix
                Disclaimer: All of the above is pure speculation.

                Comment

                • tchjts1
                  Senior Member
                  • May 2008
                  • 1605

                  #23
                  using "zabbix" on the end of the URL in my stock 1.8 Zabbix install would return a "page not found" error. Drop "zabbix" from the end of the url so it looks like this:

                  http://<Zabbix Server IP>/

                  Optionally, you could use this:

                  http://<Zabbix Server IP>/dashboard.php

                  Comment

                  • zabbixnewbie
                    Junior Member
                    • Jul 2010
                    • 28

                    #24
                    Originally posted by Bennie
                    You need to check if apache is running, you got all needed php modules installed that are listed in the requirements.
                    If you got apache running then start looking into the frontend.
                    [root@localhost tmp]# rpm -qa |grep php
                    php-bcmath-5.1.6-20.el5
                    php-gd-5.1.6-20.el5
                    php-xml-5.1.6-20.el5
                    php-common-5.1.6-20.el5
                    php-5.1.6-20.el5
                    php-ldap-5.1.6-20.el5
                    php-mbstring-5.1.6-20.el5
                    php-pdo-5.1.6-20.el5
                    php-cli-5.1.6-20.el5

                    Do I miss something else?

                    Comment

                    • zabbixnewbie
                      Junior Member
                      • Jul 2010
                      • 28

                      #25
                      Originally posted by MrKen
                      That is a good thread to follow!

                      Try ps -ef | grep httpd (to see if apache is running)

                      http://<IP ADDRESS>/zabbix
                      [root@localhost tmp]# ps -ef | grep httpd
                      root 26301 1 0 11:30 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL
                      nobody 26302 26301 0 11:30 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL
                      nobody 26303 26301 0 11:30 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL
                      nobody 26304 26301 0 11:30 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL
                      nobody 26305 26301 0 11:30 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL
                      nobody 26306 26301 0 11:30 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL
                      root 26373 26115 0 11:34 pts/1 00:00:00 grep httpd

                      Still page cannot be displayed

                      Comment

                      • zabbixnewbie
                        Junior Member
                        • Jul 2010
                        • 28

                        #26
                        Originally posted by tchjts1
                        using "zabbix" on the end of the URL in my stock 1.8 Zabbix install would return a "page not found" error. Drop "zabbix" from the end of the url so it looks like this:

                        http://<Zabbix Server IP>/

                        Optionally, you could use this:

                        http://<Zabbix Server IP>/dashboard.php
                        Both also return page cannot be displayed
                        If i add the port number behind the URL -> return "OK"

                        Comment

                        • MrKen
                          Senior Member
                          • Oct 2008
                          • 652

                          #27
                          Originally posted by zabbixnewbie
                          [root@localhost tmp]# rpm -qa |grep php
                          php-bcmath-5.1.6-20.el5
                          php-gd-5.1.6-20.el5
                          php-xml-5.1.6-20.el5
                          php-common-5.1.6-20.el5
                          php-5.1.6-20.el5
                          php-ldap-5.1.6-20.el5
                          php-mbstring-5.1.6-20.el5
                          php-pdo-5.1.6-20.el5
                          php-cli-5.1.6-20.el5

                          Do I miss something else?
                          php-mysql-5.1.6-20.el5_2.1
                          Disclaimer: All of the above is pure speculation.

                          Comment

                          • zabbixnewbie
                            Junior Member
                            • Jul 2010
                            • 28

                            #28
                            Originally posted by MrKen
                            php-mysql-5.1.6-20.el5_2.1
                            php-bcmath-5.1.6-20.el5
                            php-gd-5.1.6-20.el5
                            php-xml-5.1.6-20.el5
                            php-mysql-5.1.6-20.el5
                            php-common-5.1.6-20.el5
                            php-5.1.6-20.el5
                            php-ldap-5.1.6-20.el5
                            php-mbstring-5.1.6-20.el5
                            php-pdo-5.1.6-20.el5
                            php-cli-5.1.6-20.el5

                            Seems still cannot access to Web Interface.
                            Any other idea?

                            Comment

                            • MrKen
                              Senior Member
                              • Oct 2008
                              • 652

                              #29
                              Originally posted by zabbixnewbie

                              I already copy all the files from frontends/php --> /usr/local/apache2/htdocs
                              Did you copy to /usr/local/apache2/htdocs

                              or to /usr/local/apache2/htdocs/zabbix

                              ?
                              Disclaimer: All of the above is pure speculation.

                              Comment

                              • zabbixnewbie
                                Junior Member
                                • Jul 2010
                                • 28

                                #30
                                Originally posted by MrKen
                                Did you copy to /usr/local/apache2/htdocs

                                or to /usr/local/apache2/htdocs/zabbix

                                ?
                                I think there should be something wrong with my apache. Because i am copying the whole folder from another machine that already setup with ssl config.
                                Anywhere I can refer to setup my apache?

                                Comment

                                Working...