Falha ao tentar rodar o Zabbix Proxy

1. Falha ao tentar rodar o Zabbix Proxy

Marco Aurélio Lopes Junior
marcolinux20

(usa Ubuntu)

Enviado em 09/11/2021 - 16:08h


Boa tarde,pessoal. Fiz a instalação do Zabbix proxy, com tudo configurado, assim como a instalação e configuração do zabbix agent também e fiz uso do systemctl restart e após, systemctl enable, porém, quando uso o systemctl status, somente o zabbix agent está rodando, o zabbix proxy exibe a seguinte mensagem:


root@marco-linux:/var/lib# systemctl status zabbix-proxy
● zabbix-proxy.service - Zabbix Proxy
Loaded: loaded (/lib/systemd/system/zabbix-proxy.service; enabled; vendor >
Active: activating (start) since Tue 2021-11-09 16:02:39 -03; 2min 44s ago
Process: 9398 ExecStart=/usr/sbin/zabbix_proxy -c $CONFFILE (code=exited, s>
Tasks: 0 (limit: 9277)
Memory: 8.0K
CGroup: /system.slice/zabbix-proxy.service

nov 09 16:02:39 marco-linux systemd[1]: zabbix-proxy.service: Scheduled restart>
nov 09 16:02:39 marco-linux systemd[1]: Stopped Zabbix Proxy.
nov 09 16:02:39 marco-linux systemd[1]: Starting Zabbix Proxy...
nov 09 16:02:39 marco-linux systemd[1]: zabbix-proxy.service: Can't open PID fi>


Sou novo no zabbix,venho aprendendo agora. Alguém saberia dizer o porque disso e me dar uma ajuda? Desde já agradeço





  


2. Re: Falha ao tentar rodar o Zabbix Proxy

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 09/11/2021 - 16:41h


Vê se tem alguma coisa nos logs
journalctl -u zabbix-proxy


3. Re: Falha ao tentar rodar o Zabbix Proxy

Marco Aurélio Lopes Junior
marcolinux20

(usa Ubuntu)

Enviado em 09/11/2021 - 17:05h


leandropscardua escreveu:


Vê se tem alguma coisa nos logs
journalctl -u zabbix-proxy


Exibiu mais de 1000 linhas com o seguinte erro:


-- Logs begin at Tue 2021-09-07 12:51:20 -03, end at Tue 2021-11-09 17:03:55 -03. --
nov 04 08:33:34 marco-linux systemd[1]: Starting Zabbix Proxy...
nov 04 08:33:34 marco-linux systemd[1]: zabbix-proxy.service: Supervising process 8091 which is not our child. We'll most likely not notice when it e>
nov 04 08:33:34 marco-linux systemd[1]: Started Zabbix Proxy.
nov 04 08:33:35 marco-linux systemd[1]: zabbix-proxy.service: Main process exited, code=exited, status=1/FAILURE
nov 04 08:33:35 marco-linux systemd[1]: zabbix-proxy.service: Failed with result 'exit-code'.
nov 04 08:33:45 marco-linux systemd[1]: zabbix-proxy.service: Scheduled restart job, restart counter is at 1.
nov 04 08:33:45 marco-linux systemd[1]: Stopped Zabbix Proxy.
nov 04 08:33:45 marco-linux systemd[1]: Starting Zabbix Proxy...
nov 04 08:33:45 marco-linux systemd[1]: zabbix-proxy.service: Supervising process 8101 which is not our child. We'll most likely not notice when it e>
nov 04 08:33:45 marco-linux systemd[1]: Started Zabbix Proxy.
nov 04 08:33:45 marco-linux systemd[1]: zabbix-proxy.service: Main process exited, code=exited, status=1/FAILURE
nov 04 08:33:45 marco-linux systemd[1]: zabbix-proxy.service: Failed with result 'exit-code'.
nov 04 08:33:55 marco-linux systemd[1]: zabbix-proxy.service: Scheduled restart job, restart counter is at 2.
nov 04 08:33:55 marco-linux systemd[1]: Stopped Zabbix Proxy.
nov 04 08:33:55 marco-linux systemd[1]: Starting Zabbix Proxy...
nov 04 08:33:55 marco-linux systemd[1]: zabbix-proxy.service: Supervising process 8144 which is not our child. We'll most likely not notice when it e>
nov 04 08:33:55 marco-linux systemd[1]: Started Zabbix Proxy.
nov 04 08:33:55 marco-linux systemd[1]: zabbix-proxy.service: Main process exited, code=exited, status=1/FAILURE
nov 04 08:33:55 marco-linux systemd[1]: zabbix-proxy.service: Failed with result 'exit-code'.
nov 04 08:34:05 marco-linux systemd[1]: zabbix-proxy.service: Scheduled restart job, restart counter is at 3.
nov 04 08:34:05 marco-linux systemd[1]: Stopped Zabbix Proxy.
nov 04 08:34:05 marco-linux systemd[1]: Starting Zabbix Proxy...
nov 04 08:34:05 marco-linux systemd[1]: zabbix-proxy.service: Supervising process 8238 which is not our child. We'll most likely not notice when it e>
nov 04 08:34:05 marco-linux systemd[1]: Started Zabbix Proxy.
nov 04 08:34:05 marco-linux systemd[1]: zabbix-proxy.service: Main process exited, code=exited, status=1/FAILURE



Apenas muda o numero do processo


4. Re: Falha ao tentar rodar o Zabbix Proxy

Perfil removido
removido

(usa Nenhuma)

Enviado em 09/11/2021 - 17:31h

Supervising process 8101 which is not our child. 

Já tentou dar um kill e levantar o serviço novamente:

# killall -9 zabbix_proxy
# systemctl start zabbix-proxy.service; tail -50 /var/log/zabbix/zabbix_proxy.log







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts