Pages

Wednesday, October 6, 2010

crazy rrd error "Can't locate auto/RRDs/last.al in @INC"

lots of mine mrtg sites broken,

tons of error message of below when run mrtg

Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi//auto/RRDs/RRDs.so' for module RRDs: librrd.so.4: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
 at /usr/local/mrtg/bin/mrtg line 342
Compilation failed in require at /usr/local/mrtg/bin/mrtg line 342.

and apache error log filled with "Can't locate auto/RRDs/last.al in @INC (@INC contains: ..." message when access routers2.cgi

after googling a bit without finding a olution, decided to reinstall rrdtool from source.  Life is good again:) after


./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python --enable-perl-site-install
make
make install

No comments:

Post a Comment