• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • DSO:L2
  • hhuynh
  • Reporter: mruddy
  • February 02, 2009
  • 0
  • Watchers: 0
  • April 10, 2009
  • February 26, 2009

Description

./terracotta-trunk-nightly-rev11448/bin/start-tc-server.sh 2009-02-02 14:40:44,328 INFO - Terracotta trunk-nightly, as of 20090201-170215 (Revision 11448 by cruise@su10mo5 from trunk) 2009-02-02 14:40:44,763 INFO - Configuration loaded from the file at ‘/home/mruddy/tc-config.xml’. 2009-02-02 14:40:44,959 INFO - Log file: ‘/home/mruddy/logs/terracotta-server.log’. 2009-02-02 14:40:47,376 INFO - Statistics store: ‘/home/mruddy/statistics’. 2009-02-02 14:40:47,387 INFO - Available Max Runtime Memory: 496MB 3231 [main] DEBUG Sigar - no libsigar-x86-solaris.so in java.library.path org.hyperic.sigar.SigarException: no libsigar-x86-solaris.so in java.library.path at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174) at org.hyperic.sigar.Sigar.(Sigar.java:102) at com.tc.statistics.retrieval.SigarUtil.newSigar(SigarUtil.java:24) at com.tc.statistics.retrieval.actions.SRACpuCombined.(SRACpuCombined.java:28) 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:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at com.tc.management.beans.TCServerInfo.(TCServerInfo.java:83) at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:428) at com.tc.server.TCServerImpl.access$600(TCServerImpl.java:80) at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:387) at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39) at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:416) at com.tc.server.TCServerImpl.start(TCServerImpl.java:200) at com.tc.server.TCServerMain.main(TCServerMain.java:28) 3273 [main] INFO com.terracottatech.dso - Creating server nodeID: NodeID[localhost:9510] ...

next, i added “-d64” to the java command line in the file terracotta-trunk-nightly-rev11448/bin/start-tc-server.sh

./terracotta-trunk-nightly-rev11448/bin/start-tc-server.sh 2009-02-02 14:34:42,028 INFO - Terracotta trunk-nightly, as of 20090201-170215 (Revision 11448 by cruise@su10mo5 from trunk) 2009-02-02 14:34:42,474 INFO - Configuration loaded from the file at ‘/home/mruddy/tc-config.xml’. 2009-02-02 14:34:42,673 INFO - Log file: ‘/home/mruddy/logs/terracotta-server.log’. 2009-02-02 14:34:45,080 INFO - Statistics store: ‘/home/mruddy/statistics’. 2009-02-02 14:34:45,091 INFO - Available Max Runtime Memory: 496MB 3245 [main] DEBUG Sigar - no libsigar-amd64-solaris.so in java.library.path org.hyperic.sigar.SigarException: no libsigar-amd64-solaris.so in java.library.path at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174) at org.hyperic.sigar.Sigar.(Sigar.java:102) at com.tc.statistics.retrieval.SigarUtil.newSigar(SigarUtil.java:24) at com.tc.statistics.retrieval.actions.SRACpuCombined.(SRACpuCombined.java:28) 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:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at com.tc.management.beans.TCServerInfo.(TCServerInfo.java:83) at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:428) at com.tc.server.TCServerImpl.access$600(TCServerImpl.java:80) at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:387) at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39) at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:416) at com.tc.server.TCServerImpl.start(TCServerImpl.java:200) at com.tc.server.TCServerMain.main(TCServerMain.java:28) 3290 [main] INFO com.terracottatech.dso - Creating server nodeID: NodeID[localhost:9510] ...

i had to download libsigar-x86-solaris.so and libsigar-amd64-solaris.so from http://svn.hyperic.org/dist/SIGAR_1_6_0/lib/libsigar-x86-solaris.so?root=Hyperic+SIGAR&view=log and http://svn.hyperic.org/dist/SIGAR_1_6_0/lib/libsigar-amd64-solaris.so?root=Hyperic+SIGAR&view=log and drop them into terracotta-trunk-nightly-rev11448/lib/ to get a clean L2 start

according to http://www.terracotta.org/web/display/docs/Platform+Support solaris 10 is supported. is solaris 10 only supported on sparc?

Comments

Hung Huynh 2009-02-19

We’re only supporting Solaris SPARC architecture. Are you certain we need all these libs for unsupported platforms?

Mike Ruddy 2009-02-19

yes, simply dropping the appropriate libsigars into the terracotta/lib dir alleviated these problems. it’s only one lib per “bitness” (the first test was a 32-bit test and the second was 64-bit).

this is the info from the system that i was using (dual-core amd opteron 8220 processors):

cat /etc/release Solaris 10 10/08 s10x_u6wos_07b X86 … isainfo -v 64-bit amd64 applications tscp cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu 32-bit i386 applications tscp cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc fpu

Mike Ruddy 2009-02-19

… also, CDV-1110 has another patch that doesn’t deal with libsigar but was needed to complete a simple test that i had to run

Fiona OShea 2009-02-19

Per DRB please add these, also mark comments on CDV “Terracotta_Internal” viewable only if they are for DRB

nadeem ghani 2009-04-03

ll lib/libsigar-* -rw-r–r–@ 1 nghani staff 244533 Apr 1 18:44 lib/libsigar-amd64-linux-1.6.0.so -rw-r–r–@ 1 nghani staff 256000 Apr 1 18:44 lib/libsigar-amd64-solaris.so -rw-r–r–@ 1 nghani staff 288776 Apr 1 18:44 lib/libsigar-sparc-solaris-1.6.0.so -rw-r–r–@ 1 nghani staff 373448 Apr 1 18:44 lib/libsigar-universal-macosx-1.6.0.dylib -rw-r–r–@ 1 nghani staff 231663 Apr 1 18:44 lib/libsigar-x86-linux-1.6.0.so -rw-r–r–@ 1 nghani staff 246992 Apr 1 18:44 lib/libsigar-x86-solaris.so