Discussion:
[Monitorix-general] about start monitorix
邱治群
2013-12-20 09:44:12 UTC
Permalink
Dear Sir,



Sorry to bother you, I have installed the Monitorix 3.4.0 version in my redhat enterprise 5.8 32bit,

When I start the monitorix , I get message below:



[ABCO-TEST:root:~]# /etc/init.d/monitorix start

Starting monitorix: Can't locate HTTP/Server/Simple/CGI.pm in @INC (@INC contains: /usr/bin/lib /usr/lib/monitorix /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/monitorix/HTTPServer.pm line 27.

BEGIN failed--compilation aborted at /usr/lib/monitorix/HTTPServer.pm line 27.

Compilation failed in require at /usr/bin/monitorix line 30.

BEGIN failed--compilation aborted at /usr/bin/monitorix line 30.



And I try to find the CGI.pm ¡K



[ABCO-TEST:root:~]# find / -name CGI.pm

/usr/lib/perl5/5.8.8/CGI.pm

/usr/lib/perl5/vendor_perl/5.8.8/CGI.pm



It¡Šs include the right path, what can I do? Thanks¡K

My Email : ***@ibts.com.tw
Matthew Connelly
2013-12-20 12:01:58 UTC
Permalink
You¡Šll need to install HTTP::Server::Simple::CGI, which is different from regular old ¡§CGI¡š. This can be found in the "perl-HTTP-Server-Simple¡š package. See this for details:
http://www.rpm-find.net/linux/RPM/apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/perl-HTTP-Server-Simple-0.28-1.el5.rf.noarch.html

--
Matthew Connelly,
Sr. Systems Administrator, SimplexWebs Ltd.
Sr. Operations & Support Engineer, IPXcore, LLC.
BSc Ethical Hacking & Countermeasures
Post by 邱治群
Dear Sir,
Sorry to bother you, I have installed the Monitorix 3.4.0 version in my redhat enterprise 5.8 32bit,
[ABCO-TEST:root:~]# /etc/init.d/monitorix start
BEGIN failed--compilation aborted at /usr/lib/monitorix/HTTPServer.pm line 27.
Compilation failed in require at /usr/bin/monitorix line 30.
BEGIN failed--compilation aborted at /usr/bin/monitorix line 30.
And I try to find the CGI.pm ¡K
[ABCO-TEST:root:~]# find / -name CGI.pm
/usr/lib/perl5/5.8.8/CGI.pm
/usr/lib/perl5/vendor_perl/5.8.8/CGI.pm
It¡Šs include the right path, what can I do? Thanks¡K
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________
Monitorix-general mailing list
https://lists.sourceforge.net/lists/listinfo/monitorix-general
k***@crypto.my.id
2013-12-20 12:24:55 UTC
Permalink
On Fri, 20 Dec 2013 17:44:12 +0800
Post by 邱治群
Sorry to bother you, I have installed the Monitorix
3.4.0 version in my redhat enterprise 5.8 32bit,
you need to install perl HTTP::Server::Simple::CGI,
http://search.cpan.org/~jesse/HTTP-Server-Simple-0.44/
Jordi Sanfeliu
2013-12-20 15:22:13 UTC
Permalink
Hi,

As Matthew and 'koko' have already well said, you need to install the
perl-HTTP-Server-Simple (and possibly other Perl modules).
Now, what really scares me is how you installed the Monitorix RPM
package skipping such mandatory dependence(s).

Anyway, for best results use the repositories recommended in the
Monitorix web site [1] and [2], and don't forget to download the most up
to date version from them. I think that in this case (for CentOS 5.x),
the later has a newer one.

Regards.

[1] - EPEL repository at <http://archive.fedoraproject.org/pub/epel/>
[2] - Repoforge repository for Red Hat, CentOS and Fedora at
<http://pkgs.repoforge.org/>

---
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat
Post by 邱治群
Dear Sir,
Sorry to bother you, I have installed the Monitorix 3.4.0 version in
my redhat enterprise 5.8 32bit,
[ABCO-TEST:root:~]# /etc/init.d/monitorix start
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at /usr/lib/monitorix/HTTPServer.pm line 27.
BEGIN failed--compilation aborted at /usr/lib/monitorix/HTTPServer.pm line 27.
Compilation failed in require at /usr/bin/monitorix line 30.
BEGIN failed--compilation aborted at /usr/bin/monitorix line 30.
And I try to find the CGI.pm …
[ABCO-TEST:root:~]# find / -name CGI.pm
/usr/lib/perl5/5.8.8/CGI.pm
/usr/lib/perl5/vendor_perl/5.8.8/CGI.pm
It’s include the right path, what can I do? Thanks…
Loading...