[LON-CAPA-users] problem starting apache with lon-capa

Andrew Irwin airwin at mta.ca
Sun Nov 3 11:46:22 EST 2013


I have been using the latest release of lon-capa (2.10) for most of a year on a ScientificLinux OS. This morning we had a problem with apache not starting due to errors executing /etc/httpd/conf/startup.pl

In particular, I get an error loading the perl module LCParser.pm when I attempt to start apache with /etc/init.d/httpd start as root:

[Sun Nov 03 12:28:01 2013] [error] Can't locate HTML/LCParser.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.6.0/i386-linux/ /home/httpd/lib/perl /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at /etc/httpd/conf/startup.pl line 22.\nBEGIN failed--compilation aborted at /etc/httpd/conf/startup.pl line 22.\nCompilation failed in require at (eval 2) line 1.\n
[Sun Nov 03 12:28:01 2013] [error] Can't load Perl file: conf/startup.pl for server lon-capa.mta.ca:0, exiting...


If I change the line “use HTML::LCParser” to “require /home/httpd/lib/perl/HTML/LCParser.pm” I can get past this line, but then another module has an error.

This is puzzling since “/home/httpd/lib/perl” is in the use path @INC

Any suggestions would be most welcome.

Andrew







More information about the LON-CAPA-users mailing list