What i did:
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install git
mkdir work
cd work
git clone git://github.com/openwebwork/ww_install.git
git fetch origin pull/6/head:ww2.13
git checkout ww2.13
cd bin
sudo perl ww_install.pl
What i get:
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 www-data
webwork.apache2-config: WeBWorK server groupID is www-data
webwork.apache2-config: The webwork url on this site is http://localhost/webwork2
webwork.apache2-config: The webwork smtp server address is localhost
webwork.apache2-config: The webwork smtp server port is
webwork.apache2-config: The webwork smtp server protocol is 'not ssl'
Action 'restart' failed.
The Apache error log may have more information.
Warning! The last command exited with an error: 'apache2ctl restart' exited with value 1
We have logged the error message, if any. We suggest that you exit now and report the error at https://github.com/openwebwork/ww_install If you are certain the error is harmless, then you may continue the installation at your own risk.
If i continue
Your apache start up script is at /usr/sbin/apache2ctl
AH00526: Syntax error on line 12 of /etc/apache2/conf-enabled/webwork.conf:
Can't locate XML/Simple.pm in @inc (you may need to install the XML::Simple module) (@inc contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl . /etc/apache2) at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nCompilation failed in require at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nCompilation failed in require at /usr/share/perl/5.22/base.pm line 97.\n\t...propagated at /usr/share/perl/5.22/base.pm line 106.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm line 20.\nCompilation failed in require at (eval 176) line 2.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 88.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\n
AH00526: Syntax error on line 12 of /etc/apache2/conf-enabled/webwork.conf:
Can't locate XML/Simple.pm in @inc (you may need to install the XML::Simple module) (@inc contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl . /etc/apache2) at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nCompilation failed in require at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nCompilation failed in require at /usr/share/perl/5.22/base.pm line 97.\n\t...propagated at /usr/share/perl/5.22/base.pm line 106.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/AchievementEditor.pm line 20.\nCompilation failed in require at (eval 181) line 2.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 88.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\n
*Apache module mpm_prefork not enabled!
Died at ww_install.pl line 1059.
What i did:
What i get:
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 www-data
webwork.apache2-config: WeBWorK server groupID is www-data
webwork.apache2-config: The webwork url on this site is http://localhost/webwork2
webwork.apache2-config: The webwork smtp server address is localhost
webwork.apache2-config: The webwork smtp server port is
webwork.apache2-config: The webwork smtp server protocol is 'not ssl'
Action 'restart' failed.
The Apache error log may have more information.
Warning! The last command exited with an error: 'apache2ctl restart' exited with value 1
We have logged the error message, if any. We suggest that you exit now and report the error at https://github.com/openwebwork/ww_install If you are certain the error is harmless, then you may continue the installation at your own risk.
If i continue
Your apache start up script is at /usr/sbin/apache2ctl
AH00526: Syntax error on line 12 of /etc/apache2/conf-enabled/webwork.conf:
Can't locate XML/Simple.pm in @inc (you may need to install the XML::Simple module) (@inc contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl . /etc/apache2) at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nCompilation failed in require at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nCompilation failed in require at /usr/share/perl/5.22/base.pm line 97.\n\t...propagated at /usr/share/perl/5.22/base.pm line 106.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm line 20.\nCompilation failed in require at (eval 176) line 2.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 88.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\n
AH00526: Syntax error on line 12 of /etc/apache2/conf-enabled/webwork.conf:
Can't locate XML/Simple.pm in @inc (you may need to install the XML::Simple module) (@inc contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl . /etc/apache2) at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkClient.pm line 124.\nCompilation failed in require at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/renderViaXMLRPC.pm line 37.\nCompilation failed in require at /usr/share/perl/5.22/base.pm line 97.\n\t...propagated at /usr/share/perl/5.22/base.pm line 106.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/AchievementEditor.pm line 20.\nCompilation failed in require at (eval 181) line 2.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 88.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 37.\n
*Apache module mpm_prefork not enabled!
Died at ww_install.pl line 1059.