Ad Widget

Collapse

Zabbix server is running: No

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adalbertocorrea
    Junior Member
    • Jun 2016
    • 2

    #1

    Zabbix server is running: No

    Olá, instalei o Zabbix 3.0 no Ubuntu 14 ontem, correu tudo bem e até adicionei alguns hosts.
    Hoje adicionei vários outros hosts e, agora, na Dashboard, o parâmetro "Zabbix server is running" está como "No".
    Se eu der o comando "service zabbix-server start" ele volta a rodar e fica "Yes", mas em 1 minuto ele para novamente e fica "No".

    Em "Administration / Queue" dá a seguinte mensagem:
    Connection to Zabbix server "localhost" refused. Possible reasons:
    1. Incorrect server IP/DNS in the "zabbix.conf.php";
    2. Security environment (for example, SELinux) is blocking the connection;
    3. Zabbix server daemon not running;
    4. Firewall is blocking TCP connection.
    Connection refused

    Em relação a essas possíveis razões acredito que está tudo ok, pois até poucas horas atrás estava rodando.
    O que pode ser? O Zabbix tem limite de hosts / itens / trigger?

    Muito obrigado pela atenção! Abraço
  • Jefte
    Senior Member
    • Oct 2015
    • 207

    #2
    POSTA O LOG com o crash

    /var/log/zabbix/zabbix_server.log ??

    Limite de hosts não tem , mas pode ser algum parametro que passou do limite e ouve crash na aplicação , ja tive esse problema com Configuration Cache..

    posta seu log ai pra gente !

    Comment

    • adalbertocorrea
      Junior Member
      • Jun 2016
      • 2

      #3
      Deu certo!

      Olá campeão, sua dica foi ótima, aumentei o cache e o problema foi resolvido.
      Muito obrigado, abraço!

      Comment

      • Ricardo Santiago
        Junior Member
        • Feb 2019
        • 1

        #4
        Olá, eu estou tendo o mesmo problema, alguem poderia me ajudar?
        segue logs coletados.
        Muito obrigado

        Cannot execute script
        Details
        • Connection to Zabbix server "localhost" refused. Possible reasons:
        • 1. Incorrect server IP/DNS in the "zabbix.conf.php";
        • 2. Security environment (for example, SELinux) is blocking the connection;
        • 3. Zabbix server daemon not running;
        • 4. Firewall is blocking TCP connection.
        • Connection refused
        Zabbix server is running No localhost:10051
        root@MON:~# service zabbix-server status
        ● zabbix-server.service - Zabbix Server
        Loaded: loaded (/lib/systemd/system/zabbix-server.service; enabled)
        Active: active (running) since Wed 2019-02-13 09:56:38 -02; 1h 17min ago
        Process: 484 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
        Main PID: 554 (zabbix_server)
        CGroup: /system.slice/zabbix-server.service
        └─554 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf

        Feb 13 09:56:36 MON.focustextil.loc.br systemd[1]: Starting Zabbix Server...
        Feb 13 09:56:38 MON.focustextil.loc.br systemd[1]: Started Zabbix Server.
        Feb 13 10:29:34 MON.focustextil.loc.br systemd[1]: Started Zabbix Server.


        Comment

        • Hernandes Martins
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Apr 2011
          • 900

          #5
          Olá meu caro,

          Dá uma olhada neste material, acredito que vai te ajudar bastante.
          O servidor Zabbix não está rodando: O que Fazer? Tenho visto muitas postagens com dúvidas a respeito dessa mensagem, principalmente...


          Abraços
          __

          Att.
          Hernandes Martins - Zabbix Trainer

          Zabbix Brazil Partner - www.luniobr.com

          Zabbix Brazil Community - www.zabbixbrasil.org

          Blog: hernandesmartins.blogspot.com.br

          Skype: hernandss
          Telegram: @MrHernandes

          Español
          Facebook: facebook.com/groups/zabbixlatam
          Telegram: https://t.me/ZabbixEspañol

          Português
          Facebook: facebook.com/groups/zabbixbrasil/
          Telegram: https://t.me/ZabbixBrasil

          Comment

          • hook69
            Junior Member
            • Jun 2018
            • 9

            #6
            Buenas, yo también tengo el problema de que no me inicia el servicio y me está dando errores como a los compañeros.
            Al entrar en zabbix me dice que el server que no está respondiendo.
            Es un ubuntu 18.04 y un zabbix 4.0

            Os importa si os paso la configuración que tengo y me decís si tengo algo mal?

            sudo service zabbix-server status
            ● zabbix-server.service - Zabbix Server
            Loaded: loaded (/lib/systemd/system/zabbix-server.service; enabled; vendor preset: enabled)
            Active: activating (auto-restart) (Result: exit-code) since Fri 2019-02-22 12:19:31 UTC; 142ms ago
            Process: 8861 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
            Main PID: 8869 (code=exited, status=1/FAILURE)

            feb 22 12:19:31 zabbixservidor systemd[1]: zabbix-server.service: Main process exited, code=exited, status=1/FAILURE
            feb 22 12:19:31 zabbixservidor systemd[1]: zabbix-server.service: Failed with result 'exit-code'.



            tail -20 /var/log/zabbix/zabbix_server.log
            8046:20190222:121324.332 Starting Zabbix Server. Zabbix 4.0.4 (revision 89349).
            8046:20190222:121324.333 ****** Enabled features ******
            8046:20190222:121324.333 SNMP monitoring: YES
            8046:20190222:121324.333 IPMI monitoring: YES
            8046:20190222:121324.333 Web monitoring: YES
            8046:20190222:121324.333 VMware monitoring: YES
            8046:20190222:121324.333 SMTP authentication: YES
            8046:20190222:121324.333 Jabber notifications: YES
            8046:20190222:121324.333 Ez Texting notifications: YES
            8046:20190222:121324.333 ODBC: YES
            8046:20190222:121324.333 SSH2 support: YES
            8046:20190222:121324.333 IPv6 support: YES
            8046:20190222:121324.333 TLS support: YES
            8046:20190222:121324.333 ******************************
            8046:20190222:121324.333 using configuration file: /etc/zabbix/zabbix_server.conf
            8046:20190222:121324.421 current database version (mandatory/optional): 04000000/04000003
            8046:20190222:121324.421 required mandatory version: 04000000
            8046:20190222:121324.489 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051]




            cat /etc/zabbix/web/zabbix.conf.php
            <?php
            // Zabbix GUI configuration file.
            global $DB;

            $DB['TYPE'] = 'POSTGRESQL';
            $DB['SERVER'] = 'localhost';
            $DB['PORT'] = '0';
            $DB['DATABASE'] = 'zabbix';
            $DB['USER'] = 'zabbix';
            $DB['PASSWORD'] = 'mipasswordzabbix';

            // Schema name. Used for IBM DB2 and PostgreSQL.
            $DB['SCHEMA'] = '';

            $ZBX_SERVER = 'localhost';
            $ZBX_SERVER_PORT = '10051';
            $ZBX_SERVER_NAME = 'Zabbix_Server';

            $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;


            sudo nano /etc/zabbix/zabbix_server.conf
            LogFile=/var/log/zabbix/zabbix_server.log
            LogFileSize=0
            PidFile=/var/run/zabbix/zabbix_server.pid
            SocketDir=/var/run/zabbix
            DBHost=localhost
            DBName=zabbix
            DBUser=zabbix
            DBPassword=mipasswordzabbix

            Comment

            • hook69
              Junior Member
              • Jun 2018
              • 9

              #7
              Originally posted by hook69
              Buenas, yo también tengo el problema de que no me inicia el servicio y me está dando errores como a los compañeros.
              Al entrar en zabbix me dice que el server que no está respondiendo.
              Es un ubuntu 18.04 y un zabbix 4.0

              Os importa si os paso la configuración que tengo y me decís si tengo algo mal?

              .............
              ...
              ...
              Ya he dado con la solución del problema.
              Tenía el agente y el server apuntando al mismo puerto, por lo que he cambiado al zabbix server al 10050 y todo ha comenzado a funcionar.
              Espero que a alguien le sea de ayuda.

              Comment

              Working...