logo       

Re: Can't locate RRDs.pm or HTML/Template.pm: msg#00047

db.rddtool.munin.general

Subject: Re: Can't locate RRDs.pm or HTML/Template.pm

Victor skrev:
> Sorry for bothering you guys. I got below error msg.
> What could be wrong? RRDs.so is physically in that
> directory. Thank!
>
> Can't load
> '/usr/lib/perl5/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 /usr/lib/perl5/site_perl/5.8.5/Munin.pm line 57
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.8.5/Munin.pm line 57.

You may get better help for that in a RRD forum. ... I've not seen that
message myself, but it looks like it's saying that you either do not
have read access to
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/RRDs/RRDs.so, or it
may be unloadable due to some other problem.

On the system I use now (AMD 64 bit, not i386) I have
/usr/lib/perl5/auto/RRDs/RRDs.so. Please check if file and ls say
something along the same lines as this:

$ file /usr/lib/perl5/auto/RRDs/RRDs.so
/usr/lib/perl5/auto/RRDs/RRDs.so: ELF 64-bit LSB shared object, AMD
x86-64, version 1 (SYSV), stripped
$ ls -l /usr/lib/perl5/auto/RRDs/RRDs.so
-rw-r--r-- 1 root root 29264 2006-07-09 14:02
/usr/lib/perl5/auto/RRDs/RRDs.so

If they do please try to strace the program and you will see what system
call happens and exactly what call fails.

Nicolai

-------------------------------------------------------------------------
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise