[collectd] Invalid value for config option `Mode': `local'

Eric Rath erath at fmyi.com
Thu Jun 15 03:20:14 CEST 2006


Hi,

I compiled and installed rrdtool-1.2.13 in /opt/rrdtool-1.2.13, and  
then compiled and installed collectd in /opt/collectd-3.9.3.  When I  
try to run collectd in "local" mode, it fails with the message  
"Invalid value for config option `Mode': `local'".  I can, however,  
run collectd in "log" mode; files are written in the data dir.

I used --with-rrdtool=/opt/rrdtool-1.2.13 when configuring collectd,  
and the configure output confirms that rrdtool was found.  Here are  
few snippets from config.log:

configure:33507: checking for rrd_update in -lrrd
configure:33537: gcc -o conftest -g -O2  -I/opt/rrdtool-1.2.13// 
include  -L/opt/rrdtool-1.2.13//lib conftest.c -lrrd -lm
   >&5
configure:33543: $? = 0
configure:33547: test -z
                          || test ! -s conftest.err
configure:33550: $? = 0
configure:33553: test -s conftest
configure:33556: $? = 0
configure:33570: result: yes
configure:33602: checking rrd.h usability
configure:33614: gcc -c -g -O2  -I/opt/rrdtool-1.2.13//include  
conftest.c >&5
configure:33620: $? = 0
configure:33624: test -z
                          || test ! -s conftest.err
configure:33627: $? = 0
configure:33630: test -s conftest.o
configure:33633: $? = 0
configure:33644: result: yes

(I hope these are relevant lines; I've never examined config.log  
contents before).  Anyway, it seems that rrdtool was found and linked  
in.  The collectd documention mentions that "local" mode is not  
available if rrdtool isn't found, should be available if rrdtool *is*  
found.  Any ideas?  Thanks for any help,

Eric 



More information about the collectd mailing list