[ZBX-25342] Zabbix Agent not starting correctly Created: 2024 Oct 02 Updated: 2024 Oct 09 Resolved: 2024 Oct 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Mohammed CHARKI | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
Description |
This is the error, i get for the agent inside the zabbix server: root@zabbixserver:~# sudo systemctl status zabbix-agent × zabbix-agent.service - Agent Zabbix Loaded: loaded (/etc/systemd/system/zabbix-agent.service; enabled; preset:> Active: failed (Result: exit-code) since Tue 2024-10-01 17:13:02 CEST; 18h> Duration: 3ms Process: 382344 ExecStart=/usr/local/bin/zabbix_agentd -c /etc/zabbix/zabbi> Main PID: 382344 (code=exited, status=203/EXEC) CPU: 871us oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Scheduled > oct. 01 17:13:02 zabbixserver systemd[1]: Stopped zabbix-agent.service - A> oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Start requ> oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Failed wit> oct. 01 17:13:02 zabbixserver systemd[1]: Failed to start zabbix-agent.ser> lines 1-13/13 (END)...skipping... × zabbix-agent.service - Agent Zabbix Loaded: loaded (/etc/systemd/system/zabbix-agent.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Tue 2024-10-01 17:13:02 CEST; 18h ago Duration: 3ms Process: 382344 ExecStart=/usr/local/bin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf (code=exited, status=203/EXEC) Main PID: 382344 (code=exited, status=203/EXEC) CPU: 871us oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Scheduled restart job, restart counter is at 5. oct. 01 17:13:02 zabbixserver systemd[1]: Stopped zabbix-agent.service - Agent Zabbix. oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Start request repeated too quickly. oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Failed with result 'exit-code'. oct. 01 17:13:02 zabbixserver systemd[1]: Failed to start zabbix-agent.service - Agent Zabbix. |
Comments |
Comment by Mohammed CHARKI [ 2024 Oct 02 ] |
Hello,
This is the error, i get for the agent inside the zabbix server :
root@zabbixserver:~# sudo systemctl status zabbix-agent × zabbix-agent.service - Agent Zabbix Loaded: loaded (/etc/systemd/system/zabbix-agent.service; enabled; preset:> Active: failed (Result: exit-code) since Tue 2024-10-01 17:13:02 CEST; 18h> Duration: 3ms Process: 382344 ExecStart=/usr/local/bin/zabbix_agentd -c /etc/zabbix/zabbi> Main PID: 382344 (code=exited, status=203/EXEC) CPU: 871us oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Scheduled > oct. 01 17:13:02 zabbixserver systemd[1]: Stopped zabbix-agent.service - A> oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Start requ> oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Failed wit> oct. 01 17:13:02 zabbixserver systemd[1]: Failed to start zabbix-agent.ser> lines 1-13/13 (END)...skipping... × zabbix-agent.service - Agent Zabbix Loaded: loaded (/etc/systemd/system/zabbix-agent.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Tue 2024-10-01 17:13:02 CEST; 18h ago Duration: 3ms Process: 382344 ExecStart=/usr/local/bin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf (code=exited, status=203/EXEC) Main PID: 382344 (code=exited, status=203/EXEC) CPU: 871us oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Scheduled restart job, restart counter is at 5. oct. 01 17:13:02 zabbixserver systemd[1]: Stopped zabbix-agent.service - Agent Zabbix. oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Start request repeated too quickly. oct. 01 17:13:02 zabbixserver systemd[1]: zabbix-agent.service: Failed with result 'exit-code'. oct. 01 17:13:02 zabbixserver systemd[1]: Failed to start zabbix-agent.service - Agent Zabbix.
Kind Regards, |
Comment by Alexey Pustovalov [ 2024 Oct 03 ] |
Please share Zabbix agent log file. |
Comment by Mohammed CHARKI [ 2024 Oct 03 ] |
Hello, Zabbix agent log uploaded.
Content : 900:20240930:091340.799 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ... 900:20240930:091340.809 Zabbix Agent stopped. Zabbix 7.0.0beta1 (revision 9bc845eca94).
Kind Regards, |
Comment by Alexey Pustovalov [ 2024 Oct 03 ] |
Try to execute manually: /usr/local/bin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf -f Also I recommend you update Zabbix agent from 7.0.0beta1 to latest available non-beta. |
Comment by Mohammed CHARKI [ 2024 Oct 03 ] |
Hello,
The Actual version :
root@mabssvppzabbixp01:~# /usr/local/bin/zabbix_agentd -V
zabbix_agentd (daemon) (Zabbix) 7.0.4
Revision f383737f108 24 September 2024, compilation time: Sep 24 2024 11:16:10Copyright (C) 2024 Zabbix SIA
License AGPLv3: GNU Affero General Public License version 3 <https://www.gnu.org/licenses/>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.
The manual execution : root@zabbixsserver:~# /usr/local/bin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf -f Erreur de segmentation Regards,
|
Comment by Alexey Pustovalov [ 2024 Oct 03 ] |
What OS do you use? Looks like you compiled from sources. |
Comment by Mohammed CHARKI [ 2024 Oct 08 ] |
Linux Debian 12. |
Comment by Alexey Pustovalov [ 2024 Oct 08 ] |
is it compiled from sources? If yes, how? |
Comment by Mohammed CHARKI [ 2024 Oct 08 ] |
Hello,
We download it from this :
Regards, |
Comment by Alexey Pustovalov [ 2024 Oct 08 ] |
Please install it from packages: https://www.zabbix.com/jp/download?zabbix=7.0&os_distribution=debian&os_version=12&components=agent&db=&ws= |
Comment by Mohammed CHARKI [ 2024 Oct 08 ] |
Hello,
I'll try this ASAP, thank you.
Kind Regards, |
Comment by Mohammed CHARKI [ 2024 Oct 09 ] |
Hello,
Thank you it works.
Now i need to disable agent, and keep agent2 ?
Kind Regards, |
Comment by dimir [ 2024 Oct 09 ] |
Looks like the issue was because incorrect package was used. Closing Won't fix. It's for you to determine which agent you will use. If you need help please use forum or one of the Telegram channels: https://www.zabbix.com/community |