[collectd] Can't run collectd on Solaris
Denis Melnikov
mdb65 at tu.komus.net
Thu Sep 16 16:25:53 CEST 2010
I've succeeded in running it. I have to compile it with Sun's GCC
(/usr/sfw/bin/gcc).
Configure string was as follows:
./configure --with-librrd=/usr/local/rrdtool-1.2.19 --disable-postgresql
Now it failes to create RRDs:
collectd[7126]: [ID 702911 daemon.error] stat(lisa/cpu-0/cpu-user.rrd)
failed: Not enough space
collectd[7126]: [ID 702911 daemon.error] stat(lisa/cpu-0/cpu-system.rrd)
failed: Bad file number
collectd[7126]: [ID 702911 daemon.error] stat(lisa/cpu-0/cpu-idle.rrd)
failed: Bad file number
collectd[7126]: [ID 702911 daemon.error] stat(lisa/cpu-0/cpu-wait.rrd)
failed: Bad file number
# df -h .
Filesystem Size Used Available Capacity Mounted on
/dev/md/dsk/d4 34G 12G 21G 37% /opt
My collectd.conf:
FQDNLookup true
BaseDir "/opt/collectd/var/db"
PIDFile "/var/run/collectd.pid"
PluginDir "/opt/collectd/lib/collectd"
LoadPlugin syslog
LoadPlugin cpu
LoadPlugin rrdtool
Hopefully,
Denis
> -----Original Message-----
> From: collectd-bounces at verplant.org
> [mailto:collectd-bounces at verplant.org] On Behalf Of Denis Melnikov
> Sent: Monday, September 13, 2010 7:08 PM
> To: collectd at verplant.org
> Subject: [collectd] Can't run collectd on Solaris
>
> 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.
> [...]
More information about the collectd
mailing list