Walter Harley wrote:
> Or maybe it's moot now?  I see in DEV-1348 that we now include SIGAR in 
> the kit as of 2.6.  But it doesn't seem to be present, or at least it's 
> not properly configured, in the 2.6.2 kit I downloaded :-(

Sorry about all the noise.  Seemingly it's the latter.  Is there someone 
who could help me troubleshoot this?

libsigar-universal-macosx-1.5.0.1.dylib is present in my lib directory, 
and I've set it to have execute permissions.  But it's still failing to 
load (see output, below).

This is with an ordinary download of TC 2.6.2 from our web site, onto 
Mac OS 10.5.  Not sure what I'm doing wrong or missing.

Thanks,
   -walter


[~/terracotta-2.6.2]
 > ls -l lib/libsigar-universal-macosx-1.5.0.1.dylib
-rwxr-xr-x@ 1 wharley  staff  1066692 Jun 26 15:31 
lib/libsigar-universal-macosx-1.5.0.1.dylib

[~/terracotta-2.6.2]
 > bin/start-tc-server.sh
2008-08-27 10:35:39,528 INFO - Terracotta 2.6.2, as of 20080626-150605 
(Revision 8952 by [EMAIL PROTECTED] from 2.6)
2008-08-27 10:35:39,869 INFO - Configuration loaded from the Java 
resource at '/com/tc/config/schema/setup/default-config.xml', relative 
to class com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.
2008-08-27 10:35:39,974 INFO - Log file: 
'/Users/wharley/terracotta/server-logs/terracotta-server.log'.
2008-08-27 10:35:42,312 INFO - Statistics store: 
'/Users/wharley/terracotta/server-statistics'.
2968 [main] DEBUG Sigar  - 
/Users/wharley/terracotta-2.6.2/lib/libsigar-universal-macosx-1.5.0.1.dylib: 

org.hyperic.sigar.SigarException: 
/Users/wharley/terracotta-2.6.2/lib/libsigar-universal-macosx-1.5.0.1.dylib: 

        at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:160)
        at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:90)
        at 
com.tc.statistics.retrieval.actions.SRACpuCombined.<init>(SRACpuCombined.java:27)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at com.tc.management.beans.TCServerInfo.<init>(TCServerInfo.java:76)
        at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:356)
        at com.tc.server.TCServerImpl.access$500(TCServerImpl.java:68)
        at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:325)
        at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39)
        at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:351)
        at com.tc.server.TCServerImpl.start(TCServerImpl.java:164)
        at com.tc.server.TCServerMain.main(TCServerMain.java:28)
[goes on to run, but admin console can't view CPU stats]
_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to