Re: Can't locate RRDs.pm
Warrick FitzGerald <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Stephen Carville wrote: > > Does cricket have permission to enter the directory and read files from it? > > Ah thanks Stephen, I ran chown -R cricket.cricket * in the binding folder and that seems to have done it ... great stuff. I tried running collector again and now get the following: Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/RRDs/RRDs.so' for module RRDs: librrd.so.2: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. at ./collector line 32 Compilation failed in require at ./collector line 32. BEGIN failed--compilation aborted at ./collector line 32. I'm guessing this has something to do with your "and read files from it" part of the statement. Line 32: is use lib "$Common::global::gInstallRoot/lib"; use RRDs 1.000101; Which is defined in "cricket-conf.pl" as: package Common::global; $gCricketHome = "/home/cricket"; $gInstallRoot = "$gCricketHome/cricket"; #$gConfigRoot = "$gCricketHome/cricket-config"; So I guess it's looking for RRDs.so in /home/cricket/cricket/lib Should I just copy this file into that folder or is there a smarter way \ correct way to deal with this? Thanks Warrick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV