[ZBX-4430] Windows agent -p and -t options return unable to create mutex error Created: 2011 Dec 09  Updated: 2017 May 30  Resolved: 2012 Jul 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 1.8.8, 1.8.9, 1.9.8 (beta)
Fix Version/s: 2.0.3rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Kodai Terashima Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix 1.8.8, 1.8.9, 1.9.x, Windows XP



 Description   

-p and -t option of windows agent which is included in release tar.gz always return following error.

C:\Program Files\ZABBIX Agent>zabbix_agentd -p
zabbix_agentd [516]: error on mutex creating: [0x00000005] Access is denied.
zabbix_agentd [516]: unable to create mutex for performance counters

C:\Program Files\ZABBIX Agent>zabbix_agentd -t proc.num[]
zabbix_agentd [1840]: error on mutex creating: [0x00000005] Access is denied.
zabbix_agentd [1840]: unable to create mutex for performance counters

Retriving data from the agent via zabbix_get and Zabbix server is ok, only -p and -t options don't work.

C:\Program Files\ZABBIX Agent>zabbix_get.exe -s localhost -k agent.version
1.8.9

C:\Program Files\ZABBIX Agent>zabbix_agentd.exe -t agent.version
zabbix_agentd [1840]: error on mutex creating: [0x00000005] Access is denied.
zabbix_agentd [1840]: unable to create mutex for performance counters



 Comments   
Comment by Oleksii Zagorskyi [ 2011 Dec 10 ]

I faced with this problems too and I can confirm it.
Fast test (WinXP32) shows that last time it worked in the agent version 1.8.2
Starting from 1.8.3 it doesn't work.

Comment by Kodai Terashima [ 2011 Dec 13 ]

Zabbix 1.9.1 has same issue. http://www.zabbix.com/forum/showthread.php?t=19981

I confirmed 1.9.8 also has same issue.

Comment by Alexander Vladishev [ 2012 Jul 13 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-4430

Comment by dimir [ 2012 Jul 23 ]

Successfully tested. Please review my small change in r29094.

<Sasha> CLOSED

Comment by Alexander Vladishev [ 2012 Jul 31 ]

Foxed in pre-2.0.3 r29238 and pre-2.1.0 (beta) r29239.

Generated at Thu Mar 28 22:47:03 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.