Ad Widget

Collapse

Zabbix server is not running:

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tob
    Junior Member
    Zabbix Certified Specialist
    • Dec 2008
    • 25

    #31
    Hi there,

    Try changing the IP address of the host to 127.0.0.1 ?

    About the error in front-end, try entering this on the command prompt while being root:

    setsebool -P httpd_can_network_connect=true

    Comment

    • dixm
      Junior Member
      • Jul 2013
      • 5

      #32
      Please add to install on Centos docs!

      TOB - setsebool -P httpd_can_network_connect=true

      perfect ! had this before with lamp install and completely forget about it.

      That fixed my front end -> back end issue.

      Cheers!

      Comment

      • grantav
        Junior Member
        • Dec 2013
        • 7

        #33
        Hi Guys

        I have had this issue twice and I have come across 3 possibilities that cause this issue:
        1) selinux - must be disabled or rules must be added
        2) active checks - configure the StartTrappers > 0 in config
        3) In the initial installation process in the wui (web user interface), after you have entered the db details and tested. You cannot leave host as 'localhost'. It must have an IP, or possibly domain name which it can resolve.

        This last reason stumped for 8 hours spread of over two days. By mistake I pressed the installation button under administration and just quickly ran through the setup to get it over with and glossed over the details.

        Hope this helps someone else out there because I was tired reading about selinux and starttrappers...

        G

        Comment

        • sothardw
          Junior Member
          • Jul 2014
          • 2

          #34
          Fixed on first try...

          After reading through this, I found that as soon as I disabled SElinux then I started getting accurate reporting on the service.

          Thank you every!

          Comment

          • ronoc
            Junior Member
            • Nov 2014
            • 2

            #35
            For me

            I fixed this by following the instructions on this site: http://www.sysads.co.uk/2013/11/zabb...running-alert/

            SELinux was the culprit.

            Run
            Code:
            tail -f /var/log/audit/audit.log |grep -i avc
            and check for
            Code:
            type=AVC msg=audit(1383850274.731:32113): avc:  denied  { name_connect } for  pid=2060 comm=”httpd” dest=10051 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:port_t:s0 tclass=tcp_socket

            Comment

            • premlondhe
              Junior Member
              • Dec 2014
              • 1

              #36
              facing same issue

              [here are error logs:

              14539:20141217:192028.787 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
              14539:20141217:192028.787 Database is down. Reconnecting in 10 seconds.
              14539:20141217:192038.788 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
              14539:20141217:192038.788 Database is down. Reconnecting in 10 seconds.
              14539:20141217:192048.788 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
              14539:20141217:192048.788 Database is down. Reconnecting in 10 seconds.
              14539:20141217:192058.789 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
              14539:20141217:192058.789 Database is down. Reconnecting in 10 seconds.
              14539:20141217:192108.789 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
              14539:20141217:192108.789 Database is down. Reconnecting in 10 seconds.

              I have updated and recreated db/dbuser several time. tried with mysql root user credentials in zabbix.conf.php file. but same error. tried restarting zabbix-server

              Comment

              • badener
                Member
                • Sep 2009
                • 42

                #37
                the log looks like the zabbix_server.log so the credentials should go in the zabbix_server.conf

                Comment

                • ronoc
                  Junior Member
                  • Nov 2014
                  • 2

                  #38
                  Originally posted by premlondhe
                  (using password: NO)
                  Does your db account use a password?

                  Comment

                  • badener
                    Member
                    • Sep 2009
                    • 42

                    #39
                    yes it does, in fact i never have db users without password

                    Comment

                    • DanielDCotta
                      Junior Member
                      • Sep 2015
                      • 1

                      #40
                      Sorry to reply to such an old thread.

                      I has the same problem of "Zabbix server is not running: the information displayed may not be current." message is on the dashboard and resolved it by:

                      Going to my Zabbix frontend, going to Configurations > Hosts, and selecting my 'Zabbix Server' and then just clicking 'Enable' under the 'Status' column.

                      Comment

                      • pabliszer
                        Junior Member
                        • Apr 2013
                        • 4

                        #41
                        to set parameters (DBHost,DBName itp) in config zabbix-serwer

                        Comment

                        • mahsa
                          Junior Member
                          • Feb 2016
                          • 4

                          #42
                          whenever you see this pop-up you may have two options as listed below:

                          1)you could disable your SELinux by using this command # vi /usr/sbin/sestatus
                          # This file controls the state of SELinux on the system.
                          # SELINUX= can take one of these three values:
                          # enforcing - SELinux security policy is enforced.
                          # permissive - SELinux prints warnings instead of enforcing.
                          # disabled - No SELinux policy is loaded.
                          SELINUX=disabled
                          # SELINUXTYPE= can take one of these two values:
                          # targeted - Targeted processes are protected,
                          # mls - Multi Level Security protection.
                          SELINUXTYPE=targeted

                          and then run the reboot command to restart the system. After that, restart zabbix-server by using
                          # systemctl restart zabbix-server.service,
                          restart zabbix-agent:
                          # systemctl restart zabbix-agent.service
                          and restart apache:
                          # systemctl restart httpd.service
                          finally this pop-up won't come on your screen and the status of Zabbix server running change into yes.

                          2) If you don't want to disable your SElinux, you have another option, you should set firewall by using
                          # firewall-cmd --add-port=10051/tcp
                          # firewall-cmd --reload
                          then restart your service.

                          Comment

                          • Moorthy938
                            Junior Member
                            • Mar 2016
                            • 9

                            #43
                            Zabbix Server is not Running properly

                            Hi Zabbix Experts..,

                            I have a problem in my zabbix server. which is the server is running but unexpectedly server has stop working. then automatically it retrieves the problem. That means i will start working the server, here my problem is why this is happening like this.

                            I want to know how to clear this problem permanently...

                            Please experts kindly am waiting for your replies...

                            Comment

                            • mahsa
                              Junior Member
                              • Feb 2016
                              • 4

                              #44
                              zabbix-server not running

                              Hi,

                              You may have some options in working with such problems;
                              First, you'd better check the last log for zabbix by running the tail command
                              tail -5 /var/log/zabbix/zabbix-server.log
                              you could see the last changes that may cause the problem in fact.

                              Sometimes, the problem caused by the amount of zabbix-server request for running as is out of bound in your server and one option is killing the all processes related to zabbix-server.
                              you have so many choices for killing the process, for example
                              ps aux | grep zabbix/
                              killall -9 <zabbix-sever pid>
                              then restart zabbix-server
                              systemctl restart zabbix-server

                              Comment

                              • Moorthy938
                                Junior Member
                                • Mar 2016
                                • 9

                                #45
                                zabbix server is not running properly

                                i found somthing valid please determine this screen shot.

                                please tll me why it is showing like this




                                Last edited by Moorthy938; 22-06-2016, 15:44.

                                Comment

                                Working...