Arvy

Well-Known Member
Oct 3, 2006
141
11
168
Brazil
cPanel Access Level
Root Administrator
Twitter
Hello,

after install Munion, when I click "Munin Service Monitor " I get:

----------------
Not Found
The server was not able to find the document (./munin/index.html) you requested.
Please check the url and try again. You might also want to report this
error to your webhost.
----------------

if I run munin-cgi-graph:

Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at ./munin-cgi-graph line 37.
BEGIN failed--compilation aborted at ./munin-cgi-graph line 37.

----------------

I found the file here:

[email protected] [/var/www/html/munin/cgi]# locate RRDs.pm
/usr/local/cpanel/3rdparty/lib/perl/5.8.8/i686-linux/RRDs.pm

----------------

I don't know what to do.

Can you help me?

Thank you,
Roger
 

AlexV.

Well-Known Member
Jun 15, 2006
212
1
168
Dear Client:

I was unable to replicate your issue, Munin seems to work accordingly on a new
installation:
#####
Configuring Plugins...Done
Starting Munin Node: [ OK ]
Install Complete (munin 1.2.4)
Done
Process Complete
#####


[email protected] [/usr/local/cpanel/3rdparty/lib/perl/5.8.8]#
/etc/rc.d/init.d/munin-node start
Starting Munin Node: Pid_file already exists for running process (6832)...
aborting
[ OK ]


Overview
* cpanel.com
o c4release-1.cpanel.com :: [ Apache Disk Exim Mysql Network Other
Processes Sensors System ]
This page was generated by Munin version 1.2.4 at 2008-06-27 T 08:50:10







I would suggest opening a support ticket in order to troubleshoot your issue.
 

Arvy

Well-Known Member
Oct 3, 2006
141
11
168
Brazil
cPanel Access Level
Root Administrator
Twitter
Hello Alex,

I think that the problem is not in Munin. I tried to run "MRTG Totals", that is a PL script and I got a similar error.

I'm not sure, but appears that the "INC" path for Perl doesnt have the path "/usr/local/cpanel/3rdparty/lib/perl/5.8.8/i686-linux" to search on.

Any idea how to add the path? I dont know anything about Perl :(

-----------------

MRTG TOTALS:

[email protected] [/usr/lib/perl5/5.8.8/i686-linux]# perl /root/mrtg/mrtg_total.pl /etc/mrtg/mrtg.cfg

Can't locate GD/Graph/bars3d.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /root/mrtg/mrtg_total.pl line 155.
BEGIN failed--compilation aborted at /root/mrtg/mrtg_total.pl line 155.
 

AlexV.

Well-Known Member
Jun 15, 2006
212
1
168
It is a bit complicated to diagnose it without access to your server.

I would suggest opening a support ticket.
 

gkanks

Registered
Jul 28, 2007
2
0
51
Please post a message if a solution is found as we are experiencing the same issue.
 

Arvy

Well-Known Member
Oct 3, 2006
141
11
168
Brazil
cPanel Access Level
Root Administrator
Twitter
Solved (without need cPanel support team), but I dont have a technical explanation... I just uninstalled Munin, ran "/scripts/upcp" and rebooted the machine. Munin reinstalled. The error gone but Munin started to show a blank page. So I uninstalled Munin again and deleted the folders:

/home/munin
/var/log/munin
/var/lib/munin

Reinstalled. Now it's fine.

About MRTG Totals, my mistake. I forgot to install GD-* from CPAN.org:
http://www.geocities.com/josef_wendel/mrtg_total.html
 
Last edited: