[collectd] Can't run collectd on Solaris

Denis Melnikov mdb65 at tu.komus.net
Mon Sep 13 17:07:41 CEST 2010


Hi!

collectd-4.10.1
SPARC Solaris 10

collectd complains about absent plugins while they are in place.

# ./collectd -t
lt_dlopen (/opt/collectd/lib/collectd/logfile.so) failed: file not found
Unable to load plugin logfile.
Found a configuration for the `logfile' plugin, but the plugin isn't loaded
or didn't register a configuration callback.
lt_dlopen (/opt/collectd/lib/collectd/cpu.so) failed: file not found
Unable to load plugin cpu.

# (cd /opt/collectd/lib/collectd ; ls -l logfile.so)
-rwxr-xr-x   1 root     root       18692 Aug 20 16:01 logfile.so

# truss ./collectd -t
lstat64("/opt/collectd/lib/collectd/logfile.so", 0xFFBFBFC8) = 0
stat("/opt/collectd/lib/collectd/logfile.so", 0xFFBFB080) = 0
resolvepath("/opt/collectd/lib/collectd/logfile.so",
"/opt/collectd/lib/collectd/logfile.so", 1023) = 37
open("/opt/collectd/lib/collectd/logfile.so", O_RDONLY) = 4
mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 4, 0) =
0xFF230000
mmap(0x00010000, 73728, PROT_NONE,
MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
mmap(0xFEF60000, 6112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT,
4, 0) = 0xFEF60000
mmap(0xFEF70000, 6960, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 4, 0) = 0xFEF70000
munmap(0xFEF62000, 57344)                       = 0
memcntl(0xFEF60000, 2592, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(4)                                        = 0
stat("/usr/openwin/lib/libc.so.1", 0xFFBFAF50)  Err#2 ENOENT
stat("/usr/openwin/lib/libgcc_s.so.1", 0xFFBFAF50) Err#2 ENOENT
stat("/lib/libgcc_s.so.1", 0xFFBFAF50)          Err#2 ENOENT
stat("/usr/lib/libgcc_s.so.1", 0xFFBFAF50)      Err#2 ENOENT
munmap(0xFEF60000, 6112)                        = 0
munmap(0xFEF70000, 6996)                        = 0
munmap(0xFF230000, 32768)                       = 0
fstat64(2, 0xFFBFA410)                          = 0
write(2, " l t _ d l o p e n   ( /".., 72)  = 72
lt_dlopen (/opt/collectd/lib/collectd/logfile.so) failed: file not found

My collectd.conf:
FQDNLookup   true
BaseDir     "/opt/collectd/var/db"
PIDFile     "/var/run/collectd.pid"
PluginDir   "/opt/collectd/lib/collectd"
LoadPlugin logfile
<Plugin logfile>
        LogLevel info
        File "/opt/collectd/var/log/collectd.log"
        Timestamp true
        PrintSeverity false
</Plugin>
LoadPlugin cpu
LoadPlugin rrdtool


Sincerely,
Denis





More information about the collectd mailing list