[LON-CAPA-users] problem starting apache with lon-capa
Stuart Raeburn
raeburn at msu.edu
Sun Nov 3 12:12:19 EST 2013
Hi,
> [Sun Nov 03 12:28:01 2013] [error] Can't locate HTML/LCParser.pm
That error is usually seen when SELinux is enabled.
I see that the Scientific Linux 6 distro updates for today (Nov. 3
2013) include new versions for:
selinux-policy-targeted
selinux-policy
So, possibly you ran:
yum update
and the existing /etc/selinux/config file was overwritten, such that
selinux is no longer disabled.
If this is the case you should be able to use the command "setup" to
set SELinux to Disabled. You'll then need to reboot.
Otherwise you could use a test editor to modify /etc/selinux/config so
it contains the line:
SELINUX=disabled
(Note: this type of question is more appropriate for the
lon-capa-admin list, which is intended for discussion about system
administration and updating -- see:
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin).
Thanks,
Stuart Raeburn
LON-CAPA Academic Consortium
Quoting Andrew Irwin <airwin at mta.ca>:
> 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
>
>
>
>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>
More information about the LON-CAPA-users
mailing list