Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all 52618 articles
Browse latest View live

windows 64bit sigar.ProcMem.gather emit ACCESS VIOLATION crash

$
0
0

Hi.

 

I using sigar 1.6.4 for windows server 2012 64bit machine monitoring.

Some machines's monitoring daemon downed with hs_err_pid file.

I googled but didn't find answer for this issue

 

I attached hs_err_pid file.

 

Thank you.

 

===========================

 

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffbfc19faff, pid=2777304, tid=2782608

#

# JRE version: Java(TM) SE Runtime Environment (7.0_71-b14) (build 1.7.0_71-b14)

# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.71-b01 mixed mode windows-amd64 compressed oops)

# Problematic frame:

# C  [ntdll.dll+0x2faff]

#

# Core dump written. Default location: C:\mon-agent\bin\hs_err_pid2777304.mdmp

#

# If you would like to submit a bug report, please visit:

#   http://bugreport.sun.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

 

---------------  T H R E A D  ---------------

 

Current thread (0x0000000021f68800):  JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_in_native, id=2782608, stack(0x0000000024430000,0x0000000024530000)]

 

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff

 

Registers:

RAX=0x0000000000004401, RBX=0x0000000023720000, RCX=0x0000000000000600, RDX=0x0000000000000000

RSP=0x000000002452e560, RBP=0x0000000000000000, RSI=0x0000000023721d00, RDI=0x0000000000000000

R8 =0x0046005200450040, R9 =0x000000000004a010, R10=0x00007ffbfc1738b0, R11=0x0000000000000297

R12=0x0000000023720150, R13=0x0000000000000002, R14=0x0046005200450050, R15=0x0000000000004a01

RIP=0x00007ffbfc19faff, EFLAGS=0x0000000000010287

 

Top of Stack: (sp=0x000000002452e560)

0x000000002452e560:   0000000000000012 000000002452e5d9

0x000000002452e570:   0000000000000000 0000000000000000

0x000000002452e580:   0000000000001001 0000000000000000

0x000000002452e590:   0000000000000001 0000000000000000

0x000000002452e5a0:   0000000001103ef0 0000000000000001

0x000000002452e5b0:   0000000000000000 0000000000000001

0x000000002452e5c0:   0000000000000000 00007ffbf90191b8

0x000000002452e5d0:   0000000000000000 0000000000000000

0x000000002452e5e0:   0000000000000000 0000000000000000

0x000000002452e5f0:   0000000000000001 0000000000000000

0x000000002452e600:   000000000000000a 0000000000000010

0x000000002452e610:   00000000000003ff 00007ffbfc19d816

0x000000002452e620:   0000000000000000 0000000000000400

0x000000002452e630:   00000000011659e0 00007ffbfc1a9cc2

0x000000002452e640:   0000000060006202 0000000000000003

0x000000002452e650:   0000000002000002 0000000000000000

 

Instructions: (pc=0x00007ffbfc19faff)

0x00007ffbfc19fadf:   f1 e9 75 f5 ff ff 39 7e 0c 0f 85 f5 0d 00 00 48

0x00007ffbfc19faef:   8b 46 30 4e 8b 34 f0 4d 3b e6 74 5f 4d 8d 46 f0

0x00007ffbfc19faff:   41 8b 40 08 89 84 24 08 01 00 00 39 7b 7c 74 2b

0x00007ffbfc19fb0f:   8b 8b 88 00 00 00 33 c8 89 8c 24 08 01 00 00 0f

 

 

Register to memory mapping:

 

RAX=0x0000000000004401 is an unknown value

RBX=0x0000000023720000 is an unknown value

RCX=0x0000000000000600 is an unknown value

RDX=0x0000000000000000 is an unknown value

RSP=0x000000002452e560 is pointing into the stack for thread: 0x0000000021f68800

RBP=0x0000000000000000 is an unknown value

RSI=0x0000000023721d00 is an unknown value

RDI=0x0000000000000000 is an unknown value

R8 =0x0046005200450040 is an unknown value

R9 =0x000000000004a010 is an unknown value

R10=0x00007ffbfc1738b0 is an unknown value

R11=0x0000000000000297 is an unknown value

R12=0x0000000023720150 is an unknown value

R13=0x0000000000000002 is an unknown value

R14=0x0046005200450050 is an unknown value

R15=0x0000000000004a01 is an unknown value

 

 

Stack: [0x0000000024430000,0x0000000024530000],  sp=0x000000002452e560,  free space=1017k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

C  [ntdll.dll+0x2faff]

 

[error occurred during error reporting (printing native stack), id 0xc0000005]

 

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

j  org.hyperic.sigar.ProcMem.gather(Lorg/hyperic/sigar/Sigar;J)V+0

j  org.hyperic.sigar.ProcMem.fetch(Lorg/hyperic/sigar/Sigar;J)Lorg/hyperic/sigar/ProcMem;+11

j  org.hyperic.sigar.Sigar.getProcMem(J)Lorg/hyperic/sigar/ProcMem;+2

j  com.test.agent.job.ProcessUsageJob.execute(Lorg/quartz/JobExecutionContext;)V+469

j  org.quartz.core.JobRunShell.run()V+285

j  org.quartz.simpl.SimpleThreadPool$WorkerThread.run()V+56

v  ~StubRoutines::call_stub

 

---------------  P R O C E S S  ---------------

 

Java Threads: ( => current thread )

  0x0000000022881800 JavaThread "CuratorFramework-0" daemon [_thread_blocked, id=2696832, stack(0x0000000025130000,0x0000000025230000)]

  0x0000000022883000 JavaThread "main-EventThread" daemon [_thread_blocked, id=2696476, stack(0x0000000025030000,0x0000000025130000)]

  0x000000002268c000 JavaThread "main-SendThread(172.18.211.131:2181)" daemon [_thread_in_native, id=2791468, stack(0x0000000024f30000,0x0000000025030000)]

  0x000000002268b800 JavaThread "ConnectionStateManager-0" daemon [_thread_blocked, id=2573588, stack(0x0000000024e30000,0x0000000024f30000)]

  0x000000002268e800 JavaThread "Timer-0" daemon [_thread_blocked, id=2311420, stack(0x0000000024c30000,0x0000000024d30000)]

  0x000000002268d800 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=2756960, stack(0x0000000024b30000,0x0000000024c30000)]

  0x000000002268d000 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_in_native, id=2348964, stack(0x0000000024a30000,0x0000000024b30000)]

  0x0000000022687800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_in_native, id=2583420, stack(0x0000000024930000,0x0000000024a30000)]

  0x000000002268a000 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_in_native, id=2758344, stack(0x0000000024830000,0x0000000024930000)]

  0x0000000022689000 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_in_native, id=2750660, stack(0x0000000024730000,0x0000000024830000)]

  0x000000002268a800 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_in_native, id=2613688, stack(0x0000000024630000,0x0000000024730000)]

  0x0000000022688800 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_in_native, id=2626872, stack(0x0000000024530000,0x0000000024630000)]

=>0x0000000021f68800 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_in_native, id=2782608, stack(0x0000000024430000,0x0000000024530000)]

  0x0000000022896000 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_in_native, id=2218168, stack(0x0000000024330000,0x0000000024430000)]

  0x0000000021c2c000 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_in_native, id=2794220, stack(0x0000000024230000,0x0000000024330000)]

  0x000000002208c000 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_in_native, id=2785456, stack(0x0000000024130000,0x0000000024230000)]

  0x0000000021cad000 JavaThread "sendThread" daemon [_thread_blocked, id=2695784, stack(0x0000000024030000,0x0000000024130000)]

  0x0000000022606800 JavaThread "connChkThread" daemon [_thread_blocked, id=2754232, stack(0x0000000023f30000,0x0000000024030000)]

  0x000000002207c000 JavaThread "pool-2-thread-1" [_thread_blocked, id=2773004, stack(0x0000000023e30000,0x0000000023f30000)]

  0x0000000022656800 JavaThread "Thread-1 (HornetQ-client-global-threads-138275215)" daemon [_thread_blocked, id=2125012, stack(0x0000000023c30000,0x0000000023d30000)]

  0x0000000021be2800 JavaThread "Thread-1 (HornetQ-client-global-scheduled-threads-1161738)" daemon [_thread_blocked, id=2742324, stack(0x0000000023b30000,0x0000000023c30000)]

  0x00000000227ba800 JavaThread "Thread-0 (HornetQ-client-global-scheduled-threads-1161738)" daemon [_thread_blocked, id=2747676, stack(0x0000000023a30000,0x0000000023b30000)]

  0x00000000221da000 JavaThread "Old I/O client worker ([id: 0x1d3d550b, /172.18.211.143:50194 => /172.18.211.130:5446])" daemon [_thread_in_native, id=2752028, stack(0x0000000023930000,0x0000000023a30000)]

  0x0000000021d31000 JavaThread "JUnique/Server/mon.AGENT" daemon [_thread_in_native, id=2793004, stack(0x0000000023550000,0x0000000023650000)]

  0x000000001dcfc800 JavaThread "Service Thread" daemon [_thread_blocked, id=2614408, stack(0x0000000021830000,0x0000000021930000)]

  0x000000001dcf6800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=2694616, stack(0x0000000021730000,0x0000000021830000)]

  0x000000001dcec000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2109996, stack(0x0000000021630000,0x0000000021730000)]

  0x000000001dce7800 JavaThread "Attach Listener" daemon [_thread_blocked, id=2739892, stack(0x0000000021530000,0x0000000021630000)]

  0x000000001dce6800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2709908, stack(0x0000000021430000,0x0000000021530000)]

  0x000000001dc97800 JavaThread "Finalizer" daemon [_thread_blocked, id=2316964, stack(0x0000000021330000,0x0000000021430000)]

  0x000000001af7e800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2794076, stack(0x0000000021230000,0x0000000021330000)]

  0x00000000030de000 JavaThread "main" [_thread_blocked, id=2728904, stack(0x00000000030e0000,0x00000000031e0000)]

 

Other Threads:

  0x000000001af7a800 VMThread [stack: 0x0000000021130000,0x0000000021230000] [id=2691788]

  0x000000001dd18800 WatcherThread [stack: 0x0000000021930000,0x0000000021a30000] [id=2691544]

 

VM state:not at safepoint (normal execution)

 

VM Mutex/Monitor currently owned by a thread: None

 

Heap

PSYoungGen      total 153088K, used 126359K [0x0000000755a00000, 0x0000000760480000, 0x0000000800000000)

  eden space 131584K, 96% used [0x0000000755a00000,0x000000075d565d10,0x000000075da80000)

  from space 21504K, 0% used [0x000000075ef80000,0x000000075ef80000,0x0000000760480000)

  to   space 21504K, 0% used [0x000000075da80000,0x000000075da80000,0x000000075ef80000)

ParOldGen       total 348672K, used 0K [0x0000000600e00000, 0x0000000616280000, 0x0000000755a00000)

  object space 348672K, 0% used [0x0000000600e00000,0x0000000600e00000,0x0000000616280000)

PSPermGen       total 21504K, used 15410K [0x00000005fbc00000, 0x00000005fd100000, 0x0000000600e00000)

  object space 21504K, 71% used [0x00000005fbc00000,0x00000005fcb0cba0,0x00000005fd100000)

 

Card table byte_map: [0x00000000063a0000,0x00000000073d0000] byte_map_base: 0x00000000033c2000

 

Polling page: 0x0000000001210000

 

Code Cache  [0x00000000032e0000, 0x0000000003550000, 0x00000000062e0000)

total_blobs=456 nmethods=104 adapters=304 free_code_cache=48431Kb largest_free_block=49572352

 

Compilation events (10 events):

Event: 4.409 Thread 0x000000001dcec000   99             java.lang.Character::toUpperCase (6 bytes)

Event: 4.409 Thread 0x000000001dcf6800  100             java.lang.Character::toUpperCase (9 bytes)

Event: 4.411 Thread 0x000000001dcec000 nmethod 99 0x000000000338d1d0 code [0x000000000338d300, 0x000000000338d3b8]

Event: 4.411 Thread 0x000000001dcf6800 nmethod 100 0x000000000338cd90 code [0x000000000338cee0, 0x000000000338d018]

Event: 4.447 Thread 0x000000001dcec000  101 % !         java.net.URL::<init> @ 147 (543 bytes)

Event: 4.519 Thread 0x000000001dcec000 nmethod 101% 0x0000000003392090 code [0x0000000003392360, 0x00000000033936c0]

Event: 4.571 Thread 0x000000001dcf6800  102   !         java.net.URL::<init> (543 bytes)

Event: 4.665 Thread 0x000000001dcf6800 nmethod 102 0x00000000033949d0 code [0x0000000003394ca0, 0x0000000003396500]

Event: 5.257 Thread 0x000000001dcec000  103             java.util.concurrent.ConcurrentHashMap$Segment::rehash (262 bytes)

Event: 5.271 Thread 0x000000001dcec000 nmethod 103 0x000000000338f9d0 code [0x000000000338fb40, 0x0000000003390078]

 

GC Heap History (0 events):

No events

 

Deoptimization events (6 events):

Event: 2.958 Thread 0x00000000030de000 Uncommon trap: reason=unreached action=reinterpret pc=0x0000000003374794 method=java.net.URL.<init>(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V @ 228

Event: 2.960 Thread 0x00000000030de000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003347f34 method=java.util.Properties$LineReader.readLine()I @ 62

Event: 2.961 Thread 0x00000000030de000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003347f34 method=java.util.Properties$LineReader.readLine()I @ 62

Event: 4.129 Thread 0x00000000030de000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003347f34 method=java.util.Properties$LineReader.readLine()I @ 62

Event: 4.129 Thread 0x00000000030de000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000003347f34 method=java.util.Properties$LineReader.readLine()I @ 62

Event: 5.292 Thread 0x000000002268e800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000003395f0c method=java.net.URL.<init>(Ljava/net/URL;Ljava/lang/String;Ljava/net/URLStreamHandler;)V @ 504

 

Internal exceptions (10 events):

Event: 8.524 Thread 0x0000000021cad000 Threw 0x000000075ac4f720 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.529 Thread 0x0000000021cad000 Threw 0x000000075ac64020 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.530 Thread 0x0000000021cad000 Threw 0x000000075ac686e0 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.531 Thread 0x0000000021cad000 Threw 0x000000075ac6e3b8 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.531 Thread 0x0000000021cad000 Threw 0x000000075ac72d80 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.532 Thread 0x0000000021cad000 Threw 0x000000075ac77778 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.534 Thread 0x0000000021cad000 Threw 0x000000075ac7bf98 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.537 Thread 0x0000000021cad000 Threw 0x000000075ac879d0 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 8.541 Thread 0x0000000021cad000 Threw 0x000000075ac941e8 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

Event: 14.354 Thread 0x0000000022896000 Threw 0x000000075afe1000 at C:\re\jdk7u71\1605\hotspot\src\share\vm\prims\jvm.cpp:1281

 

Events (10 events):

Event: 8.549 Executing VM operation: RevokeBias

Event: 8.550 Executing VM operation: RevokeBias done

Event: 14.353 loading class 0x000000002260d120

Event: 14.353 loading class 0x000000002260d120 done

Event: 14.357 loading class 0x0000000021d88180

Event: 14.358 loading class 0x0000000021d88180 done

Event: 14.359 Executing VM operation: RevokeBias

Event: 14.359 Executing VM operation: RevokeBias done

Event: 14.688 Executing VM operation: RevokeBias

Event: 14.688 Executing VM operation: RevokeBias done

 

 

Dynamic libraries:

0x00007ff6e03c0000 - 0x00007ff6e03f3000     C:\Windows\system32\java.exe

0x00007ffbfc170000 - 0x00007ffbfc316000     C:\Windows\SYSTEM32\ntdll.dll

0x00007ffbf9d90000 - 0x00007ffbf9eca000     C:\Windows\system32\KERNEL32.DLL

0x00007ffbf95c0000 - 0x00007ffbf96cf000     C:\Windows\system32\KERNELBASE.dll

0x00007ffbf8180000 - 0x00007ffbf8208000     C:\Windows\system32\apphelp.dll

0x00007ffbe50e0000 - 0x00007ffbe512f000     C:\Windows\AppPatch\AppPatch64\AcGenral.DLL

0x00007ffbfa4d0000 - 0x00007ffbfa577000     C:\Windows\system32\msvcrt.dll

0x00007ffbf92d0000 - 0x00007ffbf92fb000     C:\Windows\system32\SspiCli.dll

0x00007ffbf9d30000 - 0x00007ffbf9d81000     C:\Windows\system32\SHLWAPI.dll

0x00007ffbf9a60000 - 0x00007ffbf9bd1000     C:\Windows\system32\USER32.dll

0x00007ffbfba70000 - 0x00007ffbfbbe8000     C:\Windows\system32\ole32.dll

0x00007ffbfa5a0000 - 0x00007ffbfb9af000     C:\Windows\system32\SHELL32.dll

0x00007ffbf8b00000 - 0x00007ffbf8b1e000     C:\Windows\system32\USERENV.dll

0x00007ffbfb9b0000 - 0x00007ffbfba55000     C:\Windows\system32\ADVAPI32.dll

0x00007ffbf26d0000 - 0x00007ffbf26eb000     C:\Windows\system32\MPR.dll

0x00007ffbfc030000 - 0x00007ffbfc167000     C:\Windows\system32\RPCRT4.dll

0x00007ffbf9a00000 - 0x00007ffbf9a57000     C:\Windows\SYSTEM32\sechost.dll

0x00007ffbfbbf0000 - 0x00007ffbfbdc6000     C:\Windows\SYSTEM32\combase.dll

0x00007ffbf9be0000 - 0x00007ffbf9d24000     C:\Windows\system32\GDI32.dll

0x00007ffbf94f0000 - 0x00007ffbf9504000     C:\Windows\system32\profapi.dll

0x00007ffbf80c0000 - 0x00007ffbf815f000     C:\Windows\system32\SHCORE.dll

0x00007ffbf9ed0000 - 0x00007ffbf9f04000     C:\Windows\system32\IMM32.DLL

0x00007ffbfbdd0000 - 0x00007ffbfbf09000     C:\Windows\system32\MSCTF.dll

0x00007ffbf6fc0000 - 0x00007ffbf721a000     C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_6242a4b3ecbb55a1\COMCTL32.dll

0x000000005fc10000 - 0x000000005fce2000     C:\Program Files\Java\jre7\bin\msvcr100.dll

0x000000005f430000 - 0x000000005fc03000     C:\Program Files\Java\jre7\bin\server\jvm.dll

0x00007ffbf3940000 - 0x00007ffbf3949000     C:\Windows\system32\WSOCK32.dll

0x00007ffbf6af0000 - 0x00007ffbf6b0f000     C:\Windows\system32\WINMM.dll

0x00007ffbfba60000 - 0x00007ffbfba67000     C:\Windows\system32\PSAPI.DLL

0x00007ffbfa160000 - 0x00007ffbfa1b8000     C:\Windows\system32\WS2_32.dll

0x00007ffbf77b0000 - 0x00007ffbf77da000     C:\Windows\system32\WINMMBASE.dll

0x00007ffbfa1d0000 - 0x00007ffbfa1d9000     C:\Windows\system32\NSI.dll

0x00007ffbf97d0000 - 0x00007ffbf981a000     C:\Windows\SYSTEM32\cfgmgr32.dll

0x00007ffbf83e0000 - 0x00007ffbf8406000     C:\Windows\system32\DEVOBJ.dll

0x0000000061d20000 - 0x0000000061d2f000     C:\Program Files\Java\jre7\bin\verify.dll

0x000000005f400000 - 0x000000005f428000     C:\Program Files\Java\jre7\bin\java.dll

0x000000005f3e0000 - 0x000000005f3f5000     C:\Program Files\Java\jre7\bin\zip.dll

0x000000005f3c0000 - 0x000000005f3d9000     C:\Program Files\Java\jre7\bin\net.dll

0x00007ffbf8d50000 - 0x00007ffbf8da8000     C:\Windows\system32\mswsock.dll

0x00007ffbf20c0000 - 0x00007ffbf20d4000     C:\Windows\system32\napinsp.dll

0x00007ffbf5150000 - 0x00007ffbf5169000     C:\Windows\system32\NLAapi.dll

0x00007ffbf8b60000 - 0x00007ffbf8c03000     C:\Windows\system32\DNSAPI.dll

0x00007ffbf2010000 - 0x00007ffbf201c000     C:\Windows\System32\winrnr.dll

0x00007ffbf3e40000 - 0x00007ffbf3e49000     C:\Windows\System32\rasadhlp.dll

0x00007ffbf4f70000 - 0x00007ffbf4f99000     C:\Windows\system32\IPHLPAPI.DLL

0x00007ffbf4f50000 - 0x00007ffbf4f5a000     C:\Windows\system32\WINNSI.DLL

0x00007ffbf4ba0000 - 0x00007ffbf4c08000     C:\Windows\System32\fwpuclnt.dll

0x000000005f3a0000 - 0x000000005f3b1000     C:\Program Files\Java\jre7\bin\nio.dll

0x0000000002c50000 - 0x0000000002cc0000     C:\mon-agent\sigar-bin\lib\sigar-amd64-winnt.dll

0x00007ffbf14a0000 - 0x00007ffbf14ed000     C:\Windows\system32\pdh.dll

0x00007ffbf7e70000 - 0x00007ffbf7e7a000     C:\Windows\system32\VERSION.dll

0x00007ffbf5170000 - 0x00007ffbf5185000     C:\Windows\system32\NETAPI32.dll

0x00007ffbfbf70000 - 0x00007ffbfc027000     C:\Windows\system32\OLEAUT32.dll

0x00007ffbf5120000 - 0x00007ffbf512c000     C:\Windows\system32\netutils.dll

0x00007ffbf8f30000 - 0x00007ffbf8f55000     C:\Windows\system32\srvcli.dll

0x00007ffbf5010000 - 0x00007ffbf5026000     C:\Windows\system32\wkscli.dll

0x00007ffbf4c80000 - 0x00007ffbf4c94000     C:\Windows\system32\dhcpcsvc6.DLL

0x00007ffbf4c60000 - 0x00007ffbf4c79000     C:\Windows\system32\dhcpcsvc.DLL

0x00007ffbf8db0000 - 0x00007ffbf8dce000     C:\Windows\system32\CRYPTSP.dll

0x00007ffbf8a10000 - 0x00007ffbf8a45000     C:\Windows\system32\rsaenh.dll

0x00007ffbf9060000 - 0x00007ffbf9086000     C:\Windows\system32\bcrypt.dll

0x00007ffbf9300000 - 0x00007ffbf9360000     C:\Windows\system32\bcryptprimitives.dll

0x00007ffbf9360000 - 0x00007ffbf936a000     C:\Windows\system32\CRYPTBASE.dll

0x00007ffbf4b20000 - 0x00007ffbf4b2e000     C:\Windows\System32\perfdisk.dll

0x00007ffbf4d20000 - 0x00007ffbf4d2e000     C:\Windows\System32\WMICLNT.dll

0x00007ffbf82b0000 - 0x00007ffbf83d1000     C:\Windows\system32\uxtheme.dll

0x00007ffbf7980000 - 0x00007ffbf79a0000     C:\Windows\system32\dwmapi.dll

0x00007ffbd45b0000 - 0x00007ffbd45bf000     C:\Windows\System32\perfproc.dll

0x00007ffbec380000 - 0x00007ffbec38d000     C:\Windows\System32\perfos.dll

0x000000005fcf0000 - 0x000000005fd02000     C:\Windows\system32\snacnp.dll

0x00007ffbf26c0000 - 0x00007ffbf26cb000     C:\Windows\System32\drprov.dll

0x00007ffbf9410000 - 0x00007ffbf9467000     C:\Windows\System32\WINSTA.dll

0x00007ffbf26a0000 - 0x00007ffbf26b5000     C:\Windows\System32\ntlanman.dll

0x00007ffbf1600000 - 0x00007ffbf161c000     C:\Windows\System32\nfsnp.dll

0x00007ffbf1b40000 - 0x00007ffbf1b50000     C:\Windows\system32\cscapi.dll

0x00007ffbe0b70000 - 0x00007ffbe0cf8000     C:\Windows\system32\DBGHELP.DLL

 

VM Arguments:

jvm_args: -Dapp.name=mon-monitor-agent -Dapp.repo=C:\mon-agent\bin\\..\repo -Dapp.home=C:\mon-agent\bin\\.. -Dapp.conf=C:\mon-agent\bin\\..\config -Dbasedir=C:\mon-agent\bin\\..

java_command: com.test.agent.Main

Launcher Type: SUN_STANDARD

 

Environment Variables:

JAVA_HOME=C:\Program Files\Java

CLASSPATH=.;"C:\mon-agent\bin\\..\sigar-bin\lib\*;C:\mon-agent\bin\\..\sigar-bin\include\";"C:\mon-agent\bin\\..\lib\*";"C:\mon-agent\bin\\..\config\";

PATH=C:\Program Files (x86)\Windows Resource Kits\Tools\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.0\libnvvp;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Dell\SysMgt\oma\bin;C:\Program Files\Dell\SysMgt\shared\bin;C:\Program Files\Dell\SysMgt\idrac

USERNAME=poowoohj

OS=Windows_NT

PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 62 Stepping 4, GenuineIntel

 

 

 

---------------  S Y S T E M  ---------------

 

OS: Windows Server 2012 R2 , 64 bit Build 9600

 

CPU:total 40 (10 cores per cpu, 2 threads per core) family 6 model 62 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, erms, ht, tsc, tscinvbit

 

Memory: 4k page, physical 33489044k(22128888k free), swap 62977668k(32396200k free)

 

vm_info: Java HotSpot(TM) 64-Bit Server VM (24.71-b01) for windows-amd64 JRE (1.7.0_71-b14), built on Sep 26 2014 16:16:12 by "java_re" with unknown MS VC++:1600

 

time: Wed Jan 28 14:44:59 2015

elapsed time: 19 seconds


unable to discover Jboss 6.0 in Hyperic 4.6

$
0
0

Hi,

I am unable to discover Jboss in Hyperic 4.6 server which is running on windows.

Exception is shown below. Can someone help me out ?

 

2015-02-25 15:09:46,549 ERROR [Thread-3] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: JBoss 6.0: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

org.hyperic.hq.product.PluginException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

  at org.hyperic.hq.plugin.jboss.JBossDetector.discoverServiceTypes(JBossDetector.java:355)

  at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:209)

  at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)

  at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)

  at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)

  at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)

  at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

  at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

  at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

  at javax.naming.InitialContext.init(Unknown Source)

  at javax.naming.InitialContext.<init>(Unknown Source)

  at org.hyperic.hq.plugin.jboss.JBossUtil.getMBeanServerConnection(JBossUtil.java:138)

  at org.hyperic.hq.plugin.jboss.JBossDetector.discoverServiceTypes(JBossDetector.java:353)

  ... 6 more

Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

  at java.net.URLClassLoader$1.run(Unknown Source)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(Unknown Source)

  at java.lang.ClassLoader.loadClass(Unknown Source)

  at java.lang.ClassLoader.loadClass(Unknown Source)

  at java.lang.ClassLoader.loadClassInternal(Unknown Source)

  at java.lang.Class.forName0(Native Method)

  at java.lang.Class.forName(Unknown Source)

  at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)

  ... 12 more

Auto discover not working

$
0
0

Hello,

 

I installed the Hyperic 5.8.4 vApp using the ovf file and it seems that it not working i see the following in the dashboard:-

 

Auto-Discovery

There are no auto-discovered resources and HQ inventory is empty.

Please install and startup some HQ agents to get started with HQ.

Hyperic Agent Startup Error

$
0
0

Hi,

 

I'm getting an error "Bundle agent-64-x86-linux-5.8.4 does not exist! " while restarting HQ agent though this bundle is present in <Agent_Home>/Bundles directory.

How to overcome this

 

Thanks in Advance

Session PGA Memory Metric for Oracle

$
0
0
Hi-

We are running the 2.7 Agent on several Oracle servers (some 8i, most 9i), and are interested in understanding more about how the agent is calculating the memory statistics. For example, there is a metric defined Session PGA Memory, which is reporting a value of 85.73MB. I can't seem to reconcile this number against either v$sysstat:

select name, value/1048576 MB
from v$sysstat
where statistic#=20

NAME                                                                     MB
----------------------------------------------------------------              ----------
session pga memory                                               1597.49049

or v$sesstat:

select sn.name, sum(s.value)/1048576 MB
from v$statname sn, v$sesstat s
where sn.statistic#=s.statistic#
and s.statistic#=20
group by sn.name

NAME                                                                     MB
----------------------------------------------------------------              ----------
session pga memory                                               13.5357056

Is the Hyperic agent calculating this metric from some other Oracle view?

On a more general note, is there documentation that provides some detail description on from which Oracle tables/views it is getting its metrics?

Thanks...

Nathaniel

Log file errors on newbie installation?

$
0
0
newbie question: I am having problems getting Hyperic HQ to show me any meaningful metrics, any help would be greatly appreciated.

I have installed Hyperic HQ 2.7.3 on a Suse 9.3 linux server and have also installed the agent on this server to primarily monitor JBoss and the server as a whole.  Additionally I have installed an agent on a Redhat ES4 server to monitor PostgreSQL, MySQL and the server.  Hyperic is using a PostgresSQL (7.4.13) database running on the Redhat ES4 server.  The server and agent processes are all running and I have sucessfully added the auto-discovered resources from both servers using the Dashboard.

However, Availability is red (0%) for everything that I try to look at, although it says that statistics are being updated.

Looking in the log files for the agent on both servers I repeatedly see the log entry similar to:
2006-08-14 08:43:56,697 ERROR [SenderThread] Error sending measurements: Unable to invoke 'measurementSendReport':  Permission denied

Another error that I repeatedly see in the agent log (of the server with PostgreSQL installed) is:
2006-08-14 09:57:51,608 ERROR [PostgreSQLServerDetector] Unable to find 'postmaster (PostgreSQL)' in: /usr/bin/postmaster

The file /usr/bin/postmaster does exist, it is a symbolic link to /usr/bin/postgres, and it is executable by the Hyperic user.

Looking in the server.log file for the Hyperic server I can see that there have been other problems since I installed the server:
2006-08-10 13:25:10,125 ERROR [org.hyperic.hq.measurement.server.session.DataManagerEJBImpl] addData() SQL Error: ERROR:  function add_data(integer, bigint, integer) does not exist Code: 0

Followed by repeated instances of:
2006-08-14 09:10:52,525 ERROR [org.hyperic.hq.measurement.server.session.DataManagerEJBImpl] addData() SQL Error: ERROR:  current transaction is aborted, commands ignored until end of transaction block Code: 0

Please let me know if there is any further information that I should provide to help diagnose the problem.

Kind regards,
Karl

Agent permissions problem

$
0
0
I installed a server and agent on the same host, then shut down the agent and restarted the server a number of times (I have another agent running on another host).  I just tried to restart the agent, but get the following in the agent.log:

2006-08-22 10:57:59,975 WARN  [ConfigPopulateThread] Unable to get entities for agent: Unable to invoke 'measurementGetConfigs':  Permission denied
2006-08-22 10:57:59,975 WARN  [ConfigPopulateThread] Sleeping for 10 seconds to fetch entities
2006-08-22 10:58:01,613 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 15 secs before retrying.  Error: Unable to invoke 'aiSendReport':  Permission denied
2006-08-22 10:58:16,633 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 22 secs before retrying.  Error: Unable to invoke 'aiSendReport':  Permission denied

Needless to say, the server is not discovering any resources from this agent.

I checked all the subdirectories under the hyperic home directory, and all files are owned by hyperic:hyperic.  The agent and server are both running as hyperic.

From all appearances, the agent is listening on port 7443 (the TCP port is open, I tried it).  When I try to add a platform for the agent running on the same host as the server, the drop-down menu for "Agent Connection" only lets me specify port 2144, which is clearly wrong.  I get the following in the server log at that point:

2006-08-22 11:12:36,071 INFO  [org.hyperic.hq.autoinventory.server.session.AIScheduleManagerEJBImpl] Scheduling job for immediate execution: JobDetail 'autoinventory.aiScan-10052-1-config-15905173-1156270356071':  jobClass: 'org.hyperic.hq.autoinventory.server.session.AIScanJob isStateful: false isVolatile: true isDurable: false requestsRecovers: false
2006-08-22 11:12:36,115 INFO  [org.hyperic.hq.autoinventory.agent.client.AICommandsClient] AICommandsClient.startScan for 10.1.0.123:2144
2006-08-22 11:12:36,268 ERROR [org.hyperic.hq.autoinventory.server.session.AIJob] Unable to execute command: Agent error: Unauthorized
2006-08-22 11:12:36,273 ERROR [org.hyperic.hq.autoinventory.server.session.AIScanJob] Agent error: Unauthorized
org.hyperic.hq.autoinventory.AutoinventoryException: Agent error: Unauthorized
     at org.hyperic.hq.autoinventory.server.session.AIJob.doAgentScan(AIJob.java:151)
     at org.hyperic.hq.autoinventory.server.session.AIScanJob.execute(AIScanJob.java:81)
     at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

The server also can't autodiscover the client, apparently.  I get these messages in the server log at regular intervals:

2006-08-22 11:18:20,225 WARN  [org.hyperic.hq.bizapp.server.session.LatherDispatcher] Unauthorized agent from 10.1.0.123 denied

I'm a bit at a loss here.  Any idea what I'm doing wrong?

Thanks.

David

Displaying JDBC Metrics for Weblogic

$
0
0
This is not only regarding JDBC, but also some other metrics as well.

I'm trying to get JDBC Connection Pool activity to show up in my views.  I've turned them all on/set the indicators to yes.  I just can't seem to figure out where they will show up.  I have the default JTA and SWAP info, but nothing for JDBC.  I feel like I'm just missing something small, as if I need to add them to my views...

The documentation hasn't said much about configuring this...any ideas?

aiSender error Agent 3.0.4

$
0
0
In all my my 3.0.4 agents I get this error alot.

should I be worried about it?

2007-05-22 18:31:56,282 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 22 se
cs before retrying.  Error: Unable to invoke 'aiSendReport':  Permission denied

thanks,

Deeboh

Location of Old HQ Versions?

$
0
0
Where can I find archived HQ versions? I'm trying to determine at exactly which rev. HQ fails to run on our problematic Windows 2003 Server.

configuring Tomcat 4.1.34 Server monitoring

$
0
0
Hi,

Some of our systems use Tomcat 4.1.34

When I follow the instructions to enable the JMX filter in the tomcat configuration, tomcat keeps giving syntax errors in web.xml:

- Parse Error at line 926 column 11: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".

I added the following lines at the end of the <web-app> element (after <mime-mapping>):

  <filter>
    <filter-name>JMXFilter</filter-name>
    <filter-class>org.hyperic.hq.product.servlet.filter.JMXFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>JMXFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

  <listener>
    <listener-class>org.hyperic.hq.product.servlet.filter.JMXSessionListener</listener-class>
  </listener>

  <servlet>
    <servlet-name>JMXWebappMetricServlet</servlet-name>
    <servlet-class>org.hyperic.hq.product.servlet.filter.JMXFilterInitServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

Does anybody have an idea what I'm doing wrong?
Has anybody been able to successfully monitor tomcat 4.1 installations?

Thanks in advance...

Ricardo.

Agent 4.0.2 "Unable to locate any of the following binaries" on Linux

$
0
0
Hello,

I have two servers that I am trying to monitor with Hyperic. I had the 3.2.x agent on them working just fine. However, when I try to run the 4.0.2 agent, I get an error message, every time I try running hq-agent.sh.  Any ideas why?

bin # ./hq-agent.sh start
Unable to locate any of the following binaries:
  /root/hyperic-hq-agent-4.0.2/wrapper/sbin/../../wrapper/sbin/wrapper-linux-intel(r)xeon(tm)cpu2.40ghz-32
  /root/hyperic-hq-agent-4.0.2/wrapper/sbin/../../wrapper/sbin/wrapper-linux-intel(r)xeon(tm)cpu2.40ghz-64
  /root/hyperic-hq-agent-4.0.2/wrapper/sbin/../../wrapper/sbin/wrapper

The files it is looking for seem to be in wrapper/sbin/.  The contents of this directory on my server are:

sbin # ls -l
total 2368
-rwxr-xr-x 1 root root 281540 Dec 18 18:42 wrapper-aix-ppc-32
-rwxr-xr-x 1 root root 319397 Dec 18 18:42 wrapper-aix-ppc-64
-rwxr-xr-x 1 root root  88703 Dec 18 18:42 wrapper-freebsd-x86-32
-rwxr-xr-x 1 root root 176380 Dec 18 18:43 wrapper-hpux-parisc-32
-rwxr-xr-x 1 root root 253808 Dec 18 18:43 wrapper-hpux-parisc-64
-rwxr-xr-x 1 root root 140198 Dec 18 18:42 wrapper-linux-ppc-64
-rwxr-xr-x 1 root root  99401 Dec 18 18:42 wrapper-linux-x86-32
-rwxr-xr-x 1 root root 111027 Dec 18 18:42 wrapper-linux-x86-64
-rwxr-xr-x 1 root root 114052 Dec 18 18:42 wrapper-macosx-ppc-32
-rwxr-xr-x 1 root root 233604 Dec 18 18:43 wrapper-macosx-universal-32
-rwxr-xr-x 1 root root 112536 Dec 18 18:43 wrapper-solaris-sparc-32
-rwxr-xr-x 1 root root 148512 Dec 18 18:43 wrapper-solaris-sparc-64
-rwxr-xr-x 1 root root 110992 Dec 18 18:43 wrapper-solaris-x86-32
-rwxr-xr-x 1 root root 204800 Dec 18 18:42 wrapper-windows-x86-32.exe

BTW:  I am running 32-bit linux, 2.6.17 kernel.

Thanks,
Brian

Agent java process using 100% CPU

$
0
0
Hi,

I have Hyperic 4.0.1 monitoring 11 platforms and on 10 of them it is working great but on the other 1 the Java process is just hogging all the CPU and I don't know why.

Basically there are 2 web servers that are both being monitored. They use the same hardware and were setup by the same people using the same binaries at the same time. All config files are identical. One machine works perfectly and the other is having this problem with Java.

I have tried restarted the agent and done some testing with new versions of the agent as well as excluding unwanted plugins in the agent.properties file but there is still no change.

The only time I was able to get the CPU back down was but turning off collection of all metrics and restarting the agent. I then added the metrics back one-by-one and the CPU usage stayed at a negligible level. It remained this way for about 2 weeks but has now started to creep back up again and no change to the machine has been made that I am aware.

Does anyone have any ideas what could but causing Hyperic/Java to do this?

Thanks,

Andy

Zimbra Won't Configure

$
0
0
I get the following in the zimbra log when I try to configure the zimbra server.  Does anyone have any ideas how to fix it?

Thanx,
LES

2009-07-01 22:52:12,452 ERROR [Thread-0] [CommandDispatcher] Error while processing request
java.lang.NullPointerException
     at java.io.File.<init>(Unknown Source)
     at org.hyperic.hq.plugin.zimbra.five.ZimbraCollector.init(ZimbraCollector.java:42)
     at org.hyperic.hq.product.Collector.getValue(Collector.java:512)
     at org.hyperic.hq.product.MeasurementPlugin.getValue(MeasurementPlugin.java:445)
     at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:176)
     at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:274)
     at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:135)
     at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:127)
     at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.getMeasurements(MeasurementCommandsService.java:201)
     at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:168)
     at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:112)
     at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:191)
     at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:844)
     at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)
     at java.lang.Thread.run(Unknown Source)
2009-07-01 22:52:12,453 WARN  [Thread-0] [CommandListener] Error invoking method
org.hyperic.hq.agent.AgentRemoteException: java.lang.NullPointerException
     at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:119)
     at org.hyperic.hq.agent.server.CommandListener.listenLoop(CommandListener.java:191)
     at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:844)
     at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:926)
     at java.lang.Thread.run(Unknown Source)

Sudden SSL failure in agent when trying to get WebSphere Stats

$
0
0
I can't explain this in any short way so my apologies!

We run WAS 6 and 6.1 in a Network Deployment (i.e. managed by ndgmr)

Two identical nodes suddenly behave totally differently with one node failing to get metrics with errors in the agent log like:

2010-03-31 08:11:00,743 ERROR [ScheduleThread] [WebsphereCollector] ADMC0053E: The system cannot create a SOAP connector to connect to host pndmgrnode01 at port 8879 with SOAP connector security enabled.
org.hyperic.hq.product.MetricUnreachableException: ADMC0053E: The system cannot create a SOAP connector to connect to host pndmgrnode01 at port 8879 with SOAP connector security enabled.
        at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:120)
        at org.hyperic.hq.plugin.websphere.WebsphereCollector.getMBeanServer(WebsphereCollector.java:120)
        at org.hyperic.hq.plugin.websphere.WebsphereCollector.init(WebsphereCollector.java:86)
        at org.hyperic.hq.product.Collector.getValue(Collector.java:512)
        at org.hyperic.hq.product.MeasurementPlugin.getValue(MeasurementPlugin.java:445)
        at org.hyperic.hq.plugin.websphere.WebsphereMeasurementPlugin.getValue(WebsphereMeasurementPlugin.java:51)
        at org.hyperic.hq.product.MeasurementPluginManager.getPluginValue(MeasurementPluginManager.java:176)
        at org.hyperic.hq.product.MeasurementPluginManager.getValue(MeasurementPluginManager.java:274)
        at org.hyperic.hq.measurement.agent.server.ScheduleThread.getValue(ScheduleThread.java:298)
        at org.hyperic.hq.measurement.agent.server.ScheduleThread.collect(ScheduleThread.java:387)
        at org.hyperic.hq.measurement.agent.server.ScheduleThread.collect(ScheduleThread.java:344)
        at org.hyperic.hq.measurement.agent.server.ScheduleThread.collect(ScheduleThread.java:490)
        at org.hyperic.hq.measurement.agent.server.ScheduleThread.run(ScheduleThread.java:512)
        at java.lang.Thread.run(Thread.java:810)
Caused by:
com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a SOAP connector to connect to host pndmgrnode01 at port 8879 with SOAP connector security enabled.
        at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:414)
        at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:118)
        ... 13 more
Caused by:
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
        at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:305)
        ... 14 more
Caused by:
com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target; targetException=java.lang.IllegalArgumentException: Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target]
        at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:295)
        at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:190)
        ... 18 more
Caused by:
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target; targetException=java.lang.IllegalArgumentException: Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target]
        at org.apache.soap.transport.http.SOAPHTTPConnection.send(Unknown Source)
        at org.apache.soap.rpc.Call.invoke(Unknown Source)
        at com.ibm.ws.management.connector.soap.SOAPConnectorClient$2.run(SOAPConnectorClient.java:266)
        at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
        at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:259)
        ... 19 more

Repeated for every metric it is trying to collect.

The setup is that the dmgr is WAS6.1
It manages a cluster of which 12 nodes have a single WAS6.0 node whereas the 2 nodes in question have both a 6.0 and a 6.1 node.

Between the two identical nodes, the keystores are identical, the soap.client.props files are identical, the ssl.client.props files and the agent.properties files are identical

Yet one works and the other doesnt! They both worked for a long time (6 months plus) until last week when they were restarted. As nothing differs between the nodes or in their configuration in hyperic..... I am totally stumped!

The errors suggest it is a SOAP security issue, yet if I execute wsadmin.sh from the problem node (which gets a SOAP connection to the DMGR node just as the agent would do) it works without problem. I can also run synchNode.sh from the node and sync with the dmgr.

Soooooo where the hell to look next :)

- One question I have which may or may not be related is the agent.properties file has the following set
websphere.installpath=/opt/IBM/WebSphere/AppServer

However in this example of course we have 2 versions of websphere installed. Should I need to specify both paths somehow?
websphere.installpath=/opt/IBM/WebSphere/AppServer
and
websphere.installpath=/opt/IBM/WebSphere/AppServer61

It can' be the cause if the other node works though right?

using SIGAR in a C++ project

$
0
0
hello
i need to get some system information like memory and CPU use, i find the SIGAR API and i think it fits perfectly to my need.
the problem is that i can't integrate it in my C++ project.
i am using vista as operating system.
any help is welcomed.
Thanks in advance.

Message was edited by: rahma_ensi

Sigar.getProcCpu(id) returns invalid data

$
0
0
I want to use Sigar to monitor a running process for CPU load. So far I have only gotten values smaller than 1 percent. So I wanted to test how it would handle higher CPU values and whether it gave correct values under load. It would appear that it doesnt:

I am using the following code:

try
          {
               Sigar sigar = new Sigar();
               long id = sigar.getPid();
               ProcCpu cpu = sigar.getProcCpu(id);
               System.out.println(cpu.toString());
               
               while (true)
               {
                    cpu = sigar.getProcCpu(id);
                    System.out.println("cpu=" + cpu.toString());
               }
          }
          catch (Exception e)
          {
               e.printStackTrace();
          }


I get the following output:

cpu={LastTime=1276071236204, StartTime=1276071231143, Percent=8.504036623604765E-299, Sys=296, User=1388, Total=1684}
cpu={LastTime=1276071236204, StartTime=1276071231143, Percent=8.504036623604765E-299, Sys=296, User=1388, Total=1684}
cpu={LastTime=1276071236205, StartTime=1276071231143, Percent=16.0, Sys=312, User=1388, Total=1700}

As you can see it occasionnaly returns 15-16% but appart from that it returns a rediculously low values. Another problem is dat the javaw (I run under Eclipse) process consumes more than the 15-16% !

I am running on Windows Vista using a Sun java 1.5.0_15

Errors while performing Hbm2DDLExporter

$
0
0
Hi,

Cannot isnstall hyperic open source in windows 2003 server. The error message:

Choices:
        1: HQ Built-in Database
        2: Oracle 10g/11g
        3: PostgreSQL
        4: MySQL Enterprise / Community Server 5.x
The HQ built-in database is provided for EVALUATION PURPOSES ONLY. For productio
n use, MySQL or Oracle is recommended. What backend database should the HQ serve
r use? [default '1']:
4
Enter the JDBC connection URL for the MySQL Enterprise / Community Server 5.x da
tabase [default 'jdbc:mysql://localhost:3306/HQ']:

Enter the username to use to connect to the database:
hqadmin
Enter the password to use to connect to the database.:
(again):
Enter an encryption key to use to encrypt the database password.:
12345678
What should the username be for the initial admin user? [default 'hqadmin']:

What should the password be for the initial admin user?:
(again):
What should the email address be for the initial admin user? [default 'hqadmin@t
estescma.local']:

Loading install configuration...
Install configuration loaded.
Preparing to install...
Validating server install configuration...
Checking server webapp port...
Checking server secure webapp port...
Checking database permissions...
Verifying admin user properties
Validating server DB configuration...
Installing the server...
Unpacking server to: C:\Program Files...
Creating server configuration files...
Copying binaries and libraries to server installation...
Copying server configuration file...
Copying server db-upgrade files...
Copying server libs...
Setting up server database...
Loading taskdefs...
Taskdefs loaded
Loading taskdefs...
Taskdefs loaded
--------------------------------------------------------------------------------

An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at C:\Documents and Settings\Administrator\Desktop\hyperic-hq-in
staller-4.5.1\installer\data\setup.xml:493: : The following error occurred while
executing this line:
C:\Documents and Settings\Administrator\Desktop\hyperic-hq-installer-4.5.1\insta
ller\data\setup.xml:502: The following error occurred while executing this line:

C:\Documents and Settings\Administrator\Desktop\hyperic-hq-installer-4.5.1\insta
ller\data\setup.xml:683: The following error occurred while executing this line:

C:\Documents and Settings\Administrator\Desktop\hyperic-hq-installer-4.5.1\insta
ller\data\setup-db-MySQL.xml:16: The following error occurred while executing th
is line:
C:\Documents and Settings\Administrator\Desktop\hyperic-hq-installer-4.5.1\insta
ller\data\setup-db-hibernate.xml:94: org.hibernate.tool.hbm2x.ExporterException:
Errors while performing Hbm2DDLExporter
--------------------------------------------------------------------------------

Deleting temporary JRE

C:\Documents and Settings\Administrator\Desktop\hyperic-hq-installer-4.5.1>

Help please

Thanks

"result set is closed" error while testing own DB2 plugin.

$
0
0
I have created my own SQL Query plugin for a simple test of db2.

Here is the error I am getting:
Simple ALIS Number of Tables:
   sql:SELECT COUNT(*) FROM syscat.tables:Number of Tables:jdbcDriver=com.ibm.db2.jcc.DB2Driver,jdbcUrl=jdbc%3Adb2%3A//myserver%3A50004/XXX,jdbcUser=myuser,jdbcPassword=*****
getValue failed for metric: Simple ALIS:sql:SELECT COUNT(*) FROM syscat.tables:Number of Tables:jdbcDriver=com.ibm.db2.jcc.DB2Driver,jdbcUrl=jdbc%3Adb2%3A//myserver%3A50004/XXX,jdbcUser=myuser,jdbcPassword=*****
MetricNotFoundException: Query failed for Number of Tables, while attempting to issue query SELECT COUNT(*) FROM syscat.tables:[jcc][t4][10120][10898][3.51.90] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null


Here is the metric I am trying to test:
<metric name="Number of Tables"
            template="sql:SELECT COUNT(*) FROM syscat.tables:Number of Tables"
            indicator="true"/>

Here is the command I am using to test:
java -jar ./agent-4.5/bundles/agent-4.5/pdk/lib/hq-pdk-4.5.jar \
-Dplugins.include=simplealis \
-Dcom.ibm.db2.jcc.DB2BaseDataSource.allowNextOnExhaustedResultSet=1  \
-DjdbcUrl=jdbc:db2://myserver:50004/XXX  \
-DjdbcDriver=com.ibm.db2.jcc.DB2Driver  \
-DjdbcUser=myuser \
-DjdbcPassword=***** -t "Simple ALIS"

I tried with and wo com.ibm.db2.jcc.DB2BaseDataSource.allowNextOnExhaustedResultSet=1.

I am able to run the sample SQL Query plugin from this url:
http://support.hyperic.com/display/EVO/SQL+Query+Plugin

I am new to hyperic so this could definitely be a noob error.

Sigar FileSystemUsage and large drives

$
0
0
Hello,

I'm investigating using Sigar to get the amount of free and total disk space in a Java application. There is a bug in the Java 1.6 methods (java.io.File.getFreeSpace and getTotalSpace) which cause them to return 0 when the disk is large (over 4 TB).

Does Sigar handle this case?.

Thanks.

- Chris
Viewing all 52618 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>