[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    Re: [collectd] Can't run collectd on Solaris
From:       "Denis Melnikov" <mdb65 () tu ! komus ! net>
Date:       2010-09-16 14:25:53
Message-ID: E1OwFPj-0003h4-2E () huhu ! verplant ! org
[Download RAW message or body]

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@verplant.org 
> [mailto:collectd-bounces@verplant.org] On Behalf Of Denis Melnikov
> Sent: Monday, September 13, 2010 7:08 PM
> To: collectd@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.
> [...]



_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic