[ZBX-15388] Zabbix agent is not stopping -zabbix_agentd [1671]: Is this process already running? Could not lock PID file [/tmp/zabbix_agentd.pid]: [11] Resource temporarily unavailable Created: 2018 Dec 30  Updated: 2019 Jan 11  Resolved: 2019 Jan 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Appliance (L)
Affects Version/s: 2.2.23
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Nagarjuna Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 5 and RHEL 6 machines



 Description   

Unable to stop zabbix agent, below is the error.
We will have to kill and start back zabbix if we want to restart. Any thoughts on this.

zabbix_agentd [1671]: Is this process already running? Could not lock PID file [/tmp/zabbix_agentd.pid]: [11] Resource temporarily unavailable

The PID file exists with PID of start process..



 Comments   
Comment by Nagarjuna [ 2018 Dec 30 ]

Zabbix 2.2.5 (revision 47411) is zabbix agent version

Comment by Vladislavs Sokurenko [ 2018 Dec 30 ]

Please do ps ax | grep zabbix_agentd

Comment by Vladislavs Sokurenko [ 2018 Dec 30 ]

Looks like duplicate of ZBX-15027

Comment by Nagarjuna [ 2018 Dec 30 ]

2703 pts/0 S+ 0:00 grep zabbix_agentd
8571 ? S 0:00 /opt/zabbix/sbin/zabbix_agentd START
8572 ? S 0:02 /opt/zabbix/sbin/zabbix_agentd: collector [idle 1 sec]
8573 ? S 0:47 /opt/zabbix/sbin/zabbix_agentd: listener #1 [waiting for connection]
8574 ? S 0:46 /opt/zabbix/sbin/zabbix_agentd: listener #2 [waiting for connection]
8575 ? S 0:45 /opt/zabbix/sbin/zabbix_agentd: listener #3 [waiting for connection]
8576 ? S 0:04 /opt/zabbix/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
8577 ? S 0:04 /opt/zabbix/sbin/zabbix_agentd: active checks #2 [idle 1 sec]

Comment by Nagarjuna [ 2018 Dec 30 ]

It is not a duplicate one..

Comment by Vladislavs Sokurenko [ 2018 Dec 30 ]

I am sorry but it looks like agent is already running, you can stop it by command such as pkill zabbix_agentd

Comment by Nagarjuna [ 2018 Dec 30 ]

pkill zabbix_agentd is working ....But when I try to stop using service zabbix_agentd stop it says ...Stopping Zabbix Agent but it doesn't stop.

Comment by Edgars Melveris [ 2019 Jan 02 ]

Hello Nagarjuna

How was Zabbix agent installed? From the official repository?

Comment by Arturs Lontons [ 2019 Jan 11 ]

Hi,

I will be closing the issue for now due to lack of activity.

Generated at Wed Jul 02 08:52:31 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.