I'm trying to have Spine running on Solaris 10 spart (T2000).
Even with the svn files I got the "warning" about libnetinet, as stated on another post. But this is not the problem.
I installed libtool, automake and autoconf. Compilation is done this way :
Code: Select all
autoconf
automake
aclocal
./configure --prefix=/opt/monitor/spine-0.8.7 --with-snmp=/usr/sfw
gmake
gmake install
Code: Select all
ldd /opt/monitor/spine-0.8.7/bin/spine
libnetsnmp.so.5 => /usr/sfw/lib/libnetsnmp.so.5
libcrypto.so.0.9.7 => /usr/sfw/lib/libcrypto.so.0.9.7
libkstat.so.1 => /lib/libkstat.so.1
libz.so.1 => /usr/lib/libz.so.1
libpthread.so.1 => /lib/libpthread.so.1
libm.so.2 => /lib/libm.so.2
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libc.so.1 => /lib/libc.so.1
libpkcs11.so.1 => /usr/lib/libpkcs11.so.1
libmp.so.2 => /lib/libmp.so.2
libmd5.so.1 => /lib/libmd5.so.1
libscf.so.1 => /lib/libscf.so.1
libcryptoutil.so.1 => /usr/lib/libcryptoutil.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
When I try to run spine by hand, I get a segfault error :
Code: Select all
/opt/monitor/spine-0.8.7/bin/spine --conf=/opt/monitor/spine-0.8.7/etc/spine.conf -V DEBUG 1 1
SPINE: Using spine config file [/opt/monitor/spine-0.8.7/etc/spine.conf]
SPINE: Version 0.8.7a starting
11/22/2007 04:31:45 PM - SPINE: Poller[0] FATAL: Spine Encountered a Segmentation Fault (Spine thread)
If I change options I get :
/opt/monitor/spine-0.8.7/bin/spine --conf=/opt/monitor/spine-0.8.7/etc/spine.conf -V DEBUG -S
SPINE: Using spine config file [/opt/monitor/spine-0.8.7/etc/spine.conf]
SPINE: Version 0.8.7a starting
Host[6] DS[196] WARNING: Result from SNMP not valid. Partial Result: ...
Host[6] DS[202] WARNING: Result from SNMP not valid. Partial Result: ...
Host[6] DS[203] WARNING: Result from SNMP not valid. Partial Result: ...
...
ERROR: Spine Timed Out While Processing Hosts Internal
SPINE: Time: 303.0055 s, Threads: 32, Hosts: 56
Same problem if started from the poller.
Have no clue why.
Maybe there is a special debug feature I could use ? I can truss the process but I would like to limit the number of hosts i'm polling...
Thanks.