VMware Cloud Community
cdy90
Contributor
Contributor

agent don't run

when I run hq-agent.exe,input "hq-agent.exe start"
,
output log :

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x1D4741EE
Function=sigar_proc_state_get+0x1A8
Library=C:\Program Files\agent-2.7.5-EE\pdk\lib\sigar-x86-winnt.dll

Current Java thread:
at org.hyperic.sigar.ProcState.gather(Native Method)
at org.hyperic.sigar.ProcState.fetch(ProcState.java:30)
at org.hyperic.sigar.Sigar.getProcState(Sigar.java:407)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hyperic.sigar.SigarProxyCache.invoke(SigarProxyCache.java:184)
at $Proxy0.getProcState(Unknown Source)
at org.hyperic.sigar.ptql.GENERATED.PTQL5.match(org.hyperic.sigar.ptql.GENERATED.PTQL5.java)
at org.hyperic.sigar.ptql.ProcessFinder.find(ProcessFinder.java:150)
at org.hyperic.sigar.ptql.ProcessFinder.find(ProcessFinder.java:111)
at org.hyperic.sigar.ptql.ProcessFinder.find(ProcessFinder.java:102)
at org.hyperic.hq.plugin.system.VMwareGuestInfo.findGuestd(VMwareGuestInfo.java:51)
at org.hyperic.hq.plugin.system.VMwareGuestInfo.getGuestInfo(VMwareGuestInfo.java:78)
at org.hyperic.hq.plugin.system.SigarPlatformDetector.getPlatformVz(SigarPlatformDetector.java:90)
at org.hyperic.hq.plugin.system.SigarPlatformDetector.getPlatformResource(SigarPlatformDetector.java:255)
at org.hyperic.hq.autoinventory.Scanner.detectPlatform(Scanner.java:118)
at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:154)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

Dynamic libraries:
0x00400000 - 0x00408000 C:\Program Files\agent-2.7.5-EE\hq-agent.exe
0x77F80000 - 0x77FFC000 C:\WINNT\system32\ntdll.dll
0x77E60000 - 0x77F33000 C:\WINNT\system32\KERNEL32.dll
0x796D0000 - 0x79735000 C:\WINNT\system32\ADVAPI32.dll
0x786F0000 - 0x7875F000 C:\WINNT\system32\RPCRT4.dll
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08139000 C:\Program Files\agent-2.7.5-EE\jre\bin\client\jvm.dll
0x77DF0000 - 0x77E59000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.dll
0x77530000 - 0x77560000 C:\WINNT\system32\WINMM.dll
0x75E00000 - 0x75E1A000 C:\WINNT\system32\IMM32.DLL
0x6C330000 - 0x6C338000 C:\WINNT\system32\LPK.DLL
0x65D20000 - 0x65D74000 C:\WINNT\system32\USP10.dll
0x10000000 - 0x10007000 C:\Program Files\agent-2.7.5-EE\jre\bin\hpi.dll
0x00900000 - 0x0090E000 C:\Program Files\agent-2.7.5-EE\jre\bin\verify.dll
0x00910000 - 0x00929000 C:\Program Files\agent-2.7.5-EE\jre\bin\java.dll
0x00930000 - 0x0093D000 C:\Program Files\agent-2.7.5-EE\jre\bin\zip.dll
0x7CA00000 - 0x7CA23000 C:\WINNT\system32\rsaenh.dll
0x7CF00000 - 0x7CFEF000 C:\WINNT\system32\ole32.dll
0x794D0000 - 0x79534000 C:\WINNT\system32\USERENV.dll
0x79C40000 - 0x79CCC000 C:\WINNT\system32\CRYPT32.dll
0x773F0000 - 0x77401000 C:\WINNT\system32\MSASN1.dll
0x7CEA0000 - 0x7CEF0000 C:\WINNT\system32\netapi32.dll
0x797B0000 - 0x797BF000 C:\WINNT\system32\Secur32.dll
0x77BD0000 - 0x77BE1000 C:\WINNT\system32\NTDSAPI.dll
0x77960000 - 0x77984000 C:\WINNT\system32\DNSAPI.DLL
0x74FD0000 - 0x74FDA000 C:\WINNT\system32\WSOCK32.dll
0x74FB0000 - 0x74FC4000 C:\WINNT\system32\WS2_32.DLL
0x74FA0000 - 0x74FA8000 C:\WINNT\system32\WS2HELP.DLL
0x77930000 - 0x7795B000 C:\WINNT\system32\WLDAP32.DLL
0x75150000 - 0x75156000 C:\WINNT\system32\NETRAP.dll
0x750E0000 - 0x750F0000 C:\WINNT\system32\SAMLIB.dll
0x1C920000 - 0x1C92F000 C:\Program Files\agent-2.7.5-EE\jre\bin\net.dll
0x77800000 - 0x7780C000 C:\WINNT\System32\rnr20.dll
0x77300000 - 0x77313000 C:\WINNT\system32\iphlpapi.dll
0x774E0000 - 0x774E5000 C:\WINNT\system32\ICMP.dll
0x772E0000 - 0x772F7000 C:\WINNT\system32\MPRAPI.dll
0x77990000 - 0x77A2B000 C:\WINNT\system32\OLEAUT32.DLL
0x77370000 - 0x7739F000 C:\WINNT\system32\ACTIVEDS.DLL
0x77340000 - 0x77363000 C:\WINNT\system32\ADSLDPC.DLL
0x777F0000 - 0x777FE000 C:\WINNT\system32\RTUTILS.DLL
0x6D990000 - 0x6DA3C000 C:\WINNT\system32\SETUPAPI.DLL
0x774A0000 - 0x774D4000 C:\WINNT\system32\RASAPI32.dll
0x77480000 - 0x77491000 C:\WINNT\system32\rasman.dll
0x774F0000 - 0x77512000 C:\WINNT\system32\TAPI32.dll
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x70BD0000 - 0x70C35000 C:\WINNT\system32\SHLWAPI.DLL
0x77320000 - 0x77339000 C:\WINNT\system32\DHCPCSVC.DLL
0x777A0000 - 0x777A8000 C:\WINNT\System32\winrnr.dll
0x777B0000 - 0x777B5000 C:\WINNT\system32\rasadhlp.dll
0x74F50000 - 0x74F6E000 C:\WINNT\system32\msafd.dll
0x74F90000 - 0x74F97000 C:\WINNT\System32\wshtcpip.dll
0x1D470000 - 0x1D499000 C:\Program Files\agent-2.7.5-EE\pdk\lib\sigar-x86-winnt.dll
0x78F90000 - 0x791D6000 C:\WINNT\system32\SHELL32.dll
0x68AC0000 - 0x68AE7000 C:\WINNT\system32\pdh.dll
0x76AF0000 - 0x76B2E000 C:\WINNT\system32\comdlg32.dll
0x687E0000 - 0x687EB000 C:\WINNT\system32\psapi.dll
0x77900000 - 0x77923000 C:\WINNT\system32\imagehlp.dll
0x72960000 - 0x7298D000 C:\WINNT\system32\DBGHELP.dll

Heap at VM Abort:
Heap
def new generation total 576K, used 439K [0x10010000, 0x100b0000, 0x109e0000)
eden space 512K, 83% used [0x10010000, 0x1007a4a8, 0x10090000)
from space 64K, 21% used [0x100a0000, 0x100a3838, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 3348K, used 3280K [0x109e0000, 0x10d25000, 0x18010000)
the space 3348K, 97% used [0x109e0000, 0x10d141c8, 0x10d14200, 0x10d25000)
compacting perm gen total 7424K, used 7236K [0x18010000, 0x18750000, 0x1c010000)
the space 7424K, 97% used [0x18010000, 0x18721218, 0x18721400, 0x18750000)

Local Time = Thu Nov 23 14:59:26 2006
Elapsed Time = 29
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 interpreted mode)
#
0 Kudos
1 Reply
john_hyperic
Hot Shot
Hot Shot

This is the same problem as your server thread
http://forums.hyperic.org/jiveforums/thread.jspa?threadID=801
Once we solve one, they will both work.
0 Kudos