aubreyja / ww_install

WeBWorK Install Script
5 stars 36 forks source link

Apache restart error during installation #68

Closed toddshimoda closed 10 years ago

toddshimoda commented 10 years ago

I received this error report while installing webwork (Centos 6.5, Apache 2.2.15). I'm trying to work through the errors but any insights would be appreciated. And if solved do I need to rerun ww_install?

Restarting apache... Running [/usr/sbin/apachectl restart]... apachectl: Configuration syntax error, will not run "restart": Localize.pm: Full path for the localization directory set to |/opt/webwork/webwork2/lib/WeBWorK/Localize| Syntax error on line 108 of /etc/httpd/conf.d/webwork.conf: Can't locate Pod/WSDL.pm in @INC (@INC contains: /opt/webwork/webwork2/lib /opt/webwork/pg/lib /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 /opt/webwork/webwork2/lib/WebworkSOAP/WSDL.pm line 4.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkSOAP/WSDL.pm line 4.\nCompilation failed in require at /opt/webwork/webwork2/lib/WebworkWebservice.pm line 5.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkWebservice.pm line 5.\nCompilation failed in require at (eval 1600) line 3.\n webwork.apache2-config: WeBWorK server is starting webwork.apache2-config: WeBWorK root directory set to /opt/webwork/webwork2 in webwork2/conf/webwork.apache2-config webwork.apache2-config: The following locations and urls are set in webwork2/conf/site.conf webwork.apache2-config: PG root directory set to /opt/webwork/pg webwork.apache2-config: WeBWorK server userID is apache webwork.apache2-config: WeBWorK server groupID is apache webwork.apache2-config: The webwork url on this site is http://webwork.pomona.edu/webwork2 Warning! The last command exited with an error: '/usr/sbin/apachectl restart' exited with value 1

goehle commented 10 years ago

You need to install Pod::WSDL using

sudo cpan Pod::WSDL

You will need to rerun ww_install.pl afterwards I think. (Although you will need to change some of your answers if the group/database/whatever has already been created.)

On Wed, May 21, 2014 at 7:33 PM, Todd Shimoda notifications@github.comwrote:

I received this error report while installing webwork (Centos 6.5, Apache 2.2.15). I'm trying to work through the errors but any insights would be appreciated. And if solved do I need to rerun ww_install?

Restarting apache... Running [/usr/sbin/apachectl restart]... apachectl: Configuration syntax error, will not run "restart": Localize.pm: Full path for the localization directory set to |/opt/webwork/webwork2/lib/WeBWorK/Localize| Syntax error on line 108 of /etc/httpd/conf.d/webwork.conf: Can't locate Pod/WSDL.pm in @INC https://github.com/INC (@INChttps://github.com/INCcontains: /opt/webwork/webwork2/lib /opt/webwork/pg/lib /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 /opt/webwork/webwork2/lib/WebworkSOAP/WSDL.pm line 4.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkSOAP/WSDL.pm line 4.\nCompilation failed in require at /opt/webwork/webwork2/lib/WebworkWebservice.pm line 5.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkWebservice.pm line 5.\nCompilation failed in require at (eval 1600) line 3.\n webwork.apache2-config: WeBWorK server is starting webwork.apache2-config: WeBWorK root directory set to /opt/webwork/webwork2 in webwork2/conf/webwork.apache2-config webwork.apache2-config: The following locations and urls are set in webwork2/conf/site.conf webwork.apache2-config: PG root directory set to /opt/webwork/pg webwork.apache2-config: WeBWorK server userID is apache webwork.apache2-config: WeBWorK server groupID is apache webwork.apache2-config: The webwork url on this site is http://webwork.pomona.edu/webwork2 Warning! The last command exited with an error: '/usr/sbin/apachectl restart' exited with value 1

— Reply to this email directly or view it on GitHubhttps://github.com/aubreyja/ww_install/issues/68 .

toddshimoda commented 10 years ago

Thanks, that worked (also had to force install Test::XML).

goehle commented 10 years ago

Good to know. Thx.

aubreyja commented 10 years ago

Just an update. So we don't come across this later. We're going to fix the Test::XML issue as suggested in https://github.com/aubreyja/ww_install/issues/79 (or somehow).