Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 16.04 cant install #101

Open
montesdeocaG opened this issue Aug 16, 2020 · 0 comments
Open

ubuntu 16.04 cant install #101

montesdeocaG opened this issue Aug 16, 2020 · 0 comments

Comments

@montesdeocaG
Copy link

montesdeocaG commented Aug 16, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant