[smokeping-users] CentOS 7 Internal Server Error

Irvin, Keith kirvin at amherst.com
Wed Aug 5 23:00:03 CEST 2015


Running smokeping 2.6.11 on CentOS 7.   This is a new install.  I get “Internal Server Error” when accessing smokeping.cgi.   It appears to be looking for the perl module Config::Grammar.  The module is installed and is in the path shown.  Why am I getting this error?

One note, I had this same error with the Carp module and resolved it by installing yum’s “perl-Carp” package even though I had already installed the module using CPAN.  However, Config::Grammar does not have a yum package.


Below is the error /var/log/httpd/error_log:

[Wed Aug  5 15:52:32 2015] smokeping_cgi: Can't locate Config/Grammar.pm in @INC (@INC contains: /opt/smokeping-2.6.11/bin/../lib /opt/smokeping-2.6.11/bin/../thirdparty/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/smokeping-2.6.11/bin/../lib/Smokeping/Config.pm line 5.
[Wed Aug  5 15:52:32 2015] smokeping_cgi: BEGIN failed--compilation aborted at /opt/smokeping-2.6.11/bin/../lib/Smokeping/Config.pm line 13.
[Wed Aug  5 15:52:32 2015] smokeping_cgi: Compilation failed in require at /opt/smokeping-2.6.11/bin/../lib/Smokeping.pm line 14.
[Wed Aug  5 15:52:32 2015] smokeping_cgi: BEGIN failed--compilation aborted at /opt/smokeping-2.6.11/bin/../lib/Smokeping.pm line 14.
[Wed Aug  5 15:52:32 2015] smokeping_cgi: Compilation failed in require at /opt/smokeping-2.6.11/bin/smokeping_cgi line 17.
[Wed Aug  5 15:52:32 2015] smokeping_cgi: BEGIN failed--compilation aborted at /opt/smokeping-2.6.11/bin/smokeping_cgi line 17.
<h1>Software error:</h1>
<pre>Can't locate Config/Grammar.pm in @INC (@INC contains: /opt/smokeping-2.6.11/bin/../lib /opt/smokeping-2.6.11/bin/../thirdparty/lib/perl5 /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/smokeping-2.6.11/bin/../lib/Smokeping/Config.pm line 5.
BEGIN failed--compilation aborted at /opt/smokeping-2.6.11/bin/../lib/Smokeping/Config.pm line 13.
Compilation failed in require at /opt/smokeping-2.6.11/bin/../lib/Smokeping.pm line 14.
BEGIN failed--compilation aborted at /opt/smokeping-2.6.11/bin/../lib/Smokeping.pm line 14.
Compilation failed in require at /opt/smokeping-2.6.11/bin/smokeping_cgi line 17.
BEGIN failed--compilation aborted at /opt/smokeping-2.6.11/bin/smokeping_cgi line 17.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

</p>

   Keith Irvin ▪ Senior Network Engineer ▪ Amherst Holdings, LLC
   5001 Plaza on the Lake ▪ Suite 200 ▪ Austin, TX 78746
   512.342.3073 kirvin at amherst.com<mailto:kirvin at amherst.com>

--- Please refer to http://www.amherst.com/amherst-email-disclaimer/ for important disclosures regarding this electronic communication.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20150805/a11017c0/attachment.html>


More information about the smokeping-users mailing list