Comments (25)
you can download from the following links, it show a picture, you download it ,and rename it to sigar-amd64-winnt.dll, it works well with sigar 1.6.4.
cnstar9988@9e5dba8
https://github.com/cnstar9988/sigar/raw/master/sigar-amd64-winnt.dll
sigar-amd64-winnt.dll
md5:
adeeb56eb62e4929440b9a7f52efdfe4
sha1:
b0a070dc77d6f4751c39df13cf1a9fc4775b8933
from sigar.
Yeah, It's bug. me too
from sigar.
any solution to this problem?
from sigar.
from sigar.
I debug into running sigar process, find the reason: sigar use int save pointer, latest 64Bit windows load dll above 4G base address.
from sigar.
Hello @cnstar9988 ,
Could you please guide on steps to rebuild the dll ?
from sigar.
I re-built the project and copied the latest sigar-amd64-winnt.dll to /lib folder.
Now I get this dependency error:
C:\ServerAgent-2.2.3\ServerAgent-2.2.3\lib\sigar-amd64-winnt.dll: Can't find dependent libraries
org.hyperic.sigar.SigarException: C:\ServerAgent-2.2.3\ServerAgent-2.2.3\lib\sigar-amd64-winnt.dll: Can't find dependent libraries
at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172)
at org.hyperic.sigar.Sigar.(Sigar.java:100)
at kg.apc.perfmon.PerfMonWorker.(PerfMonWorker.java:44)
at kg.apc.perfmon.AgentTool.getWorker(AgentTool.java:93)
at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:23)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:174)
from sigar.
you can download for test, rename it to sigar-amd64-winnt.dll for sigar 1.6.4
cnstar9988@9e5dba8
I can rebuilt the project and copied the latest sigar-amd64-winnt.dll for sigar 1.6.4
vs2010+Perl 5.8 + JDK 1.8 + ant 1.9.7
I can rebuild sigar 1.6.4, vs2010+Perl 5.8 + JDK 1.8 + ant 1.9.7
- run into vs2010 x64 command prompt environment.
- change dir into sigar-1.6.4\bindings\java.
- run ant.
sigar-amd64-winnt.dll will be in sigar-1.6.4\bindings\java\sigar-bin\lib
from sigar.
the latest stable sigar 1.6.4, you can use code changes for sigar 1.6.4 code.
replace only sigar-amd64-winnt.dll for sigar 1.6.4...
or use latest sigar.jar + sigar-amd64-winnt.dll both together.
from sigar.
@cnstar9988 I am finding it hard to follow the steps build steps mentioned above. Is it possible to share directly the sigar-amd64-winnt.dll and other dependent files?
from sigar.
@cnstar9988 Thank you for sharing the dll. It works fine now
from sigar.
ok, it affects latest windows 64, maybe other 64bit OS.
reason:
sigar use int save pointer, latest 64Bit windows may load dll above 4G base address.
It must use jlong to save c/c++ pointer.
from sigar.
It worked for me too, @cnstar9988 thank you very much!
from sigar.
Not at all. Good luck to you all.
from sigar.
https://user-images.githubusercontent.com/895069/100061599-40e31600-2e69-11eb-9f18-6cf58344460d.jpg, this link is invalid,please take time to update,thank you very much. @cnstar9988
from sigar.
I took the liberty of making the sigar-amd64-winnt.dll file from @cnstar9988 available on a fixed link in this topic.
I hope it's not a problem.
https://drive.google.com/file/d/1JMxshmXKFF30w_J8qg25ISv34QFkkKUO/view?usp=sharing
from sigar.
@aldrato I've been struggling to build this myself.
Can you tell me what specific versions of everything you used?
Windows SDK version
Windows OS version
Perl version
JDK version
Ant version
anything else that might be pertinent?
from sigar.
Same issue here, using org.hyperic.sigar-1.6.4.jar
library.
Windows 10 Professional, version 20H2 (19042.746).
JDK
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
from sigar.
@nddipiazza I didn't rebuild the dll, I just got the dll made available by @ cnstar9988. For me it worked perfectly.
@jgreffe use the dll provided in the link above. Replace your dll with it, it will probably work
from sigar.
@ilanuriel @dougm
When do we gonna get a new release with this fix?
I see a download link for sigar-amd64-winnt.dll .
I tried it and it fixed my issue. but I prefer to get a new release with this fix (if possible).
from sigar.
@dougm @ilanuriel same here. still stick unable to run a build to generate this DLL. if you get a quick minute, any way you can create a fresh release with this fix?
from sigar.
Where do I place the sigar-amd64-winnt.dll file?
from sigar.
Where do I place the sigar-amd64-winnt.dll file?
go to your cassandra 3.x file > lib > sigar-bin then remove the other sigar-amd64-winnit.dll file and replace it with the one you downloaded. I just did that and its working now, so exited.
from sigar.
Is this going to be part of a release soon? win64 is completely broken because of this. #142 fixes it
from sigar.
Is this going to be part of a release soon? win64 is completely broken because of this. #142 fixes it
I believe it will no longer be updated
from sigar.
Related Issues (20)
- Documentation to Install Sigar and Working Manual HOT 1
- Windows 10 & jdk11 sigar make jvm crash HOT 7
- http://sigar.hyperic.com/ doesn't respond HOT 2
- hyperic sigar windows 2016 & windows2019 with java sdk 1.8 compatibility issue HOT 1
- Support Solaris version 11 HOT 2
- Sigar compilation error on Mac OS Big Sur HOT 7
- Where is ProcDiskIO.java
- why HOT 1
- Windows: EXCEPTION_ACCESS_VIOLATION at [sigar-amd64-winnt.dll+0x14ed4]
- Collection source for PhysicalCoreCount, VCPU count on AIX 7.1 Powerpc64 architecture HOT 2
- master/src/sigar_util.c/sigar_file2str would be running out of memory when len equal to 8192 HOT 1
- MacOS Monteray Xcode 13 build failure incomplete type 'struct nfsstats' HOT 1
- repology.org | Problems in Wikidata
- Disk usage check doesn't work inside docker HOT 1
- Wiki not available
- Crash when using Sigar in C#
- i have using jdk 1.8 . when i run project with sigar then jvm is crashesh.why? HOT 1
- loongarch64 how to ant
- Migration or continuation of development
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sigar.