Closed jdutro closed 10 years ago
Try and run cpan HTML::Template and see if that fixes things. If cpan can't install HTML::Template post the errors here.
On Sun, Sep 14, 2014 at 4:02 PM, jdutro notifications@github.com wrote:
I followed the instructions installing WW on CentOS 6.5. Script ran great. at the end it produced the following errors... Syntax error on line 12 of /etc/httpd/conf.d/webwork.conf: Can't locate HTML/Template.pm in @INC https://github.com/INC (@INC https://github.com/INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nCompilation failed in require at (eval 1392) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\n\t(in cleanup) Can't locate HTML/Template.pm in @INC https://github.com/INC (@INC https://github.com/INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nCompilation failed in require at (eval 1392) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nCompilation failed in require at /etc/httpd/conf.d/webwork.conf line 49.\n
I have searched for all the locations and discovered most of these locations do not exist. Is this a problem with the script not creating the directories? I ran the script as root. and took all the defaults.
thanks in advance for your help.
— Reply to this email directly or view it on GitHub https://github.com/aubreyja/ww_install/issues/84.
I ran the job and this was the output including the restart of apache…
[root@ferris2 WeBWorK]# cpan HTML::Template
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Sun, 14 Sep 2014 20:17:02 GMT
CPAN: LWP::UserAgent loaded ok (v5.833)
CPAN: Time::HiRes loaded ok (v1.9721)
Warning: no success downloading '/root/.cpan/sources/authors/01mailrc.txt.gz.tmp16472'. Giving up on it. at /usr/share/perl5/CPAN/Index.pm line 225
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.70)
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/02packages.details.txt.gz
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Mon, 15 Sep 2014 09:53:18 GMT
..............
New CPAN.pm version (v2.05) available.
[Currently running version is v1.9402]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
..............................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Going to write /root/.cpan/Metadata
Running install for module 'HTML::Template'
Running make for W/WO/WONKO/HTML-Template-2.95.tar.gz
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/W/WO/WONKO/HTML-Template-2.95.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/W/WO/WONKO/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/W/WO/WONKO/HTML-Template-2.95.tar.gz ok
HTML-Template-2.95
HTML-Template-2.95/README
HTML-Template-2.95/Changes
HTML-Template-2.95/LICENSE
HTML-Template-2.95/dist.ini
HTML-Template-2.95/META.yml
HTML-Template-2.95/MANIFEST
HTML-Template-2.95/t
HTML-Template-2.95/t/12-utf8.t
HTML-Template-2.95/Makefile.PL
HTML-Template-2.95/bench
HTML-Template-2.95/bench/new.pl
HTML-Template-2.95/t/02-parse.t
HTML-Template-2.95/t/12-query.t
HTML-Template-2.95/t/10-param.t
HTML-Template-2.95/bench/vars.pl
HTML-Template-2.95/t/16-config.t
HTML-Template-2.95/t/04-escape.t
HTML-Template-2.95/t/02-random.t
HTML-Template-2.95/t/15-comment.t
HTML-Template-2.95/t/01-coderefs.t
HTML-Template-2.95/t/14-includes.t
HTML-Template-2.95/t/01-bad-args.t
HTML-Template-2.95/t/03-associate.t
HTML-Template-2.95/t/12-open_mode.t
HTML-Template-2.95/templates
HTML-Template-2.95/templates/if.tmpl
HTML-Template-2.95/templates/js.tmpl
HTML-Template-2.95/templates/var.tmpl
HTML-Template-2.95/t/05-blind-cache.t
HTML-Template-2.95/t/99-old-test-pl.t
HTML-Template-2.95/t/04-type-source.t
HTML-Template-2.95/t/08-cache-debug.t
HTML-Template-2.95/templates/loop.tmpl
HTML-Template-2.95/t/04-no_taintmode.t
HTML-Template-2.95/t/13-loop-boolean.t
HTML-Template-2.95/t/13-loop-context.t
HTML-Template-2.95/templates/outer.tmpl
HTML-Template-2.95/bench/profile_var.pl
HTML-Template-2.95/scripts
HTML-Template-2.95/scripts/clean_shm.pl
HTML-Template-2.95/t/03-else_else_bug.t
HTML-Template-2.95/t/05-nested_global.t
HTML-Template-2.95/t/05-force_untaint.t
HTML-Template-2.95/t/13-loop-repeated.t
HTML-Template-2.95/lib/HTML
HTML-Template-2.95/lib/HTML/Template.pm
HTML-Template-2.95/templates/simple.tmpl
HTML-Template-2.95/templates/unless.tmpl
HTML-Template-2.95/templates/medium.tmpl
HTML-Template-2.95/templates/ifelse.tmpl
HTML-Template-2.95/scripts/time_trial.pl
HTML-Template-2.95/t/06-file-cache-dir.t
HTML-Template-2.95/t/04-default-escape.t
HTML-Template-2.95/templates/escapes.tmpl
HTML-Template-2.95/templates/default.tmpl
HTML-Template-2.95/templates/include.tmpl
HTML-Template-2.95/templates/globals.tmpl
HTML-Template-2.95/templates/loop-if.tmpl
HTML-Template-2.95/templates/context.tmpl
HTML-Template-2.95/templates/counter.tmpl
HTML-Template-2.95/bench/profile_small.pl
HTML-Template-2.95/bench/profile_large.pl
HTML-Template-2.95/t/release-pod-syntax.t
HTML-Template-2.95/templates/included.tmpl
HTML-Template-2.95/bench/profile_medium.pl
HTML-Template-2.95/t/testlib
HTML-Template-2.95/t/testlib/_Auxiliary.pm
HTML-Template-2.95/t/testlib/IO
HTML-Template-2.95/t/testlib/IO/Capture.pm
HTML-Template-2.95/templates/simplemod.tmpl
HTML-Template-2.95/templates/vanguard2.tmpl
HTML-Template-2.95/templates/included3.tmpl
HTML-Template-2.95/templates/included2.tmpl
HTML-Template-2.95/templates/urlescape.tmpl
HTML-Template-2.95/templates/vanguard1.tmpl
HTML-Template-2.95/templates/utf8-test.tmpl
HTML-Template-2.95/templates/recursive.tmpl
HTML-Template-2.95/templates/case_loop.tmpl
HTML-Template-2.95/t/09-caching-precluded.t
HTML-Template-2.95/t/07-double-file-cache.t
HTML-Template-2.95/lib/HTML/Template
HTML-Template-2.95/lib/HTML/Template/FAQ.pm
HTML-Template-2.95/templates/other-loop.tmpl
HTML-Template-2.95/templates/query-test.tmpl
HTML-Template-2.95/templates/long_loops.tmpl
HTML-Template-2.95/t/11-non-file-templates.t
HTML-Template-2.95/templates/html-escape.tmpl
HTML-Template-2.95/templates/query-test2.tmpl
HTML-Template-2.95/templates/simple-loop.tmpl
HTML-Template-2.95/templates/double_loop.tmpl
HTML-Template-2.95/t/04-default_with_escape.t
HTML-Template-2.95/templates/global-loops.tmpl
HTML-Template-2.95/templates/loop-context.tmpl
HTML-Template-2.95/templates/newline_test1.tmpl
HTML-Template-2.95/templates/newline_test2.tmpl
HTML-Template-2.95/templates/multiline_tags.tmpl
HTML-Template-2.95/templates/default_escape.tmpl
HTML-Template-2.95/templates/searchpath
HTML-Template-2.95/templates/searchpath/two.tmpl
HTML-Template-2.95/templates/include_path
HTML-Template-2.95/templates/include_path/a.tmpl
HTML-Template-2.95/templates/include_path/b.tmpl
HTML-Template-2.95/t/testlib/IO/Capture
HTML-Template-2.95/t/testlib/IO/Capture/Stderr.pm
HTML-Template-2.95/t/testlib/IO/Capture/Stdout.pm
HTML-Template-2.95/templates/searchpath/three.tmpl
HTML-Template-2.95/templates/include_path/one.tmpl
HTML-Template-2.95/t/testlib/IO/Capture/Tie_STDx.pm
HTML-Template-2.95/templates/default_escape_off.tmpl
HTML-Template-2.95/templates/include_path/inner.tmpl
HTML-Template-2.95/templates/simple-loop-nonames.tmpl
HTML-Template-2.95/templates/searchpath/included.tmpl
HTML-Template-2.95/templates/include_path2
HTML-Template-2.95/templates/include_path2/inner.tmpl
HTML-Template-2.95/t/testlib/IO/Capture/ErrorMessages.pm
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build W/WO/WONKO/HTML-Template-2.95.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for HTML::Template
cp lib/HTML/Template.pm blib/lib/HTML/Template.pm
cp lib/HTML/Template/FAQ.pm blib/lib/HTML/Template/FAQ.pm
Manifying blib/man3/HTML::Template.3pm
Manifying blib/man3/HTML::Template::FAQ.3pm
WONKO/HTML-Template-2.95.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-bad-args.t ............. ok
t/01-coderefs.t ............. ok
t/02-parse.t ................ ok
t/02-random.t ............... ok
t/03-associate.t ............ ok
t/03-else_else_bug.t ........ ok
t/04-default-escape.t ....... ok
t/04-default_with_escape.t .. ok
t/04-escape.t ............... ok
t/04-no_taintmode.t ......... ok
t/04-type-source.t .......... ok
t/05-blind-cache.t .......... ok
t/05-force_untaint.t ........ ok
t/05-nested_global.t ........ ok
t/06-file-cache-dir.t ....... ok
t/07-double-file-cache.t .... ok
t/08-cache-debug.t .......... ok
t/09-caching-precluded.t .... ok
t/10-param.t ................ ok
t/11-non-file-templates.t ... ok
t/12-open_mode.t ............ ok
t/12-query.t ................ ok
t/12-utf8.t ................. ok
t/13-loop-boolean.t ......... ok
t/13-loop-context.t ......... ok
t/13-loop-repeated.t ........ ok
t/14-includes.t ............. ok
t/15-comment.t .............. skipped: not implemented yet
t/16-config.t ............... ok
t/99-old-test-pl.t .......... ok
t/release-pod-syntax.t ...... skipped: these tests are for release candidate testing
All tests successful.
Files=31, Tests=608, 5 wallclock secs ( 0.18 usr 0.07 sys + 1.78 cusr 0.21 csys = 2.24 CPU)
Result: PASS
WONKO/HTML-Template-2.95.tar.gz
/usr/bin/make test -- OK
Running make install
Prepending /root/.cpan/build/HTML-Template-2.95-OP_vJu/blib/arch /root/.cpan/build/HTML-Template-2.95-OP_vJu/blib/lib to PERL5LIB for 'install'
Installing /usr/local/share/perl5/HTML/Template.pm
Installing /usr/local/share/perl5/HTML/Template/FAQ.pm
Installing /usr/local/share/man/man3/HTML::Template::FAQ.3pm
Installing /usr/local/share/man/man3/HTML::Template.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
WONKO/HTML-Template-2.95.tar.gz
/usr/bin/make install -- OK
[root@ferris2 WeBWorK]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: 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.caspercollege.edu/webwork2
Localize.pm: Full path for the localization directory set to |/opt/webwork/webwork2/lib/WeBWorK/Localize|
Syntax error on line 12 of /etc/httpd/conf.d/webwork.conf:
Can't locate UUID/Tiny.pm in @INC (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/Utils/CourseManagement.pm line 36.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/Utils/CourseManagement.pm line 36.\nCompilation failed in require at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm line 38.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm line 38.\nCompilation failed in require at (eval 1482) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\n\t(in cleanup) Can't locate UUID/Tiny.pm in @INC (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/Utils/CourseManagement.pm line 36.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/Utils/CourseManagement.pm line 36.\nCompilation failed in require at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm line 38.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm line 38.\nCompilation failed in require at (eval 1482) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nCompilation failed in require at /etc/httpd/conf.d/webwork.conf line 49.\n
[FAILED]
[root@ferris2 WeBWorK]#
From: Geoff Goehle [mailto:notifications@github.com] Sent: Sunday, September 14, 2014 3:10 PM To: aubreyja/ww_install Cc: jdutro Subject: Re: [ww_install] install of WW on CenOS 6.5 and received errors starting httpd services (#84)
Try and run cpan HTML::Template and see if that fixes things. If cpan can't install HTML::Template post the errors here.
On Sun, Sep 14, 2014 at 4:02 PM, jdutro <notifications@github.com mailto:notifications@github.com > wrote:
I followed the instructions installing WW on CentOS 6.5. Script ran great. at the end it produced the following errors... Syntax error on line 12 of /etc/httpd/conf.d/webwork.conf: Can't locate HTML/Template.pm in @INC https://github.com/INC (@INC https://github.com/INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nCompilation failed in require at (eval 1392) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\n\t(in cleanup) Can't locate HTML/Template.pm in @INC https://github.com/INC (@INC https://github.com/INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nCompilation failed in require at (eval 1392) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nCompilation failed in require at /etc/httpd/conf.d/webwork.conf line 49.\n
I have searched for all the locations and discovered most of these locations do not exist. Is this a problem with the script not creating the directories? I ran the script as root. and took all the defaults.
thanks in advance for your help.
— Reply to this email directly or view it on GitHub https://github.com/aubreyja/ww_install/issues/84.
— Reply to this email directly or view it on GitHub https://github.com/aubreyja/ww_install/issues/84#issuecomment-55539676 . https://github.com/notifications/beacon/8739771__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNjM0ODIxMiwiZGF0YSI6eyJpZCI6NDI0MzI2NTJ9fQ==--dc7769620ecfce59c3a69f81ac0d8e9754a1348e.gif
Hmm. It looks like something failed with the install prerequisites because you are missing modules.
Try running
`/opt/webwork/webwork2/bin/check_modules.pl
That should print out all of the Perl modules that WeBWorK needs. Use CPAN to install any of them that are missing (i.e. have a * next to them). UUID::Tiny should be on that list, (as we can see from the error message) but I'm guessing there is more.
Here is the output from check_modules.pl
root@ferris2 bin]# ./check_modules.pl
invalid apache version specified -- assuming apache2
usage: ./check_modules.pl { apache1 | apache2 }
Checking your $PATH for executables required by WeBWorK...
$PATH= /usr/lib64/qt-3.3/bin
/usr/local/sbin
/usr/local/bin
/sbin
/bin
/usr/sbin
/usr/bin
/root/bin
mkdir found at /bin/mkdir
mv found at /bin/mv
mysql found at /usr/bin/mysql
tar found at /bin/tar
gzip found at /bin/gzip
latex found at /usr/bin/latex
pdflatex found at /usr/bin/pdflatex
dvipng found at /usr/bin/dvipng
giftopnm found at /usr/bin/giftopnm
ppmtopgm found at /usr/bin/ppmtopgm
pnmtops found at /usr/bin/pnmtops
pnmtopng found at /usr/bin/pnmtopng
pngtopnm found at /usr/bin/pngtopnm
Checking your @INC for modules required by WeBWorK...
@INC= /usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
Benchmark found and loaded
Carp found and loaded
CGI found and loaded
Data::Dumper found and loaded
Data::UUID found and loaded
Date::Format found and loaded
Date::Parse found and loaded
DateTime found and loaded
DBD::mysql found and loaded
DBI found and loaded
Digest::MD5 found and loaded
Email::Address found and loaded
Errno found and loaded
Exception::Class found and loaded
File::Copy found and loaded
File::Find found and loaded
File::Find::Rule found and loaded
File::Path found and loaded
File::Spec found and loaded
File::stat found and loaded
File::Temp found and loaded
GD found and loaded
Getopt::Long found and loaded
Getopt::Std found and loaded
HTML::Entities found and loaded
HTML::Scrubber found and loaded
HTML::Tagset found and loaded
HTML::Template found and loaded
IO::File found and loaded
\ Iterator not found in @INC
\ Iterator::Util not found in @INC
JSON found and loaded
Locale::Maketext::Lexicon found and loaded
Locale::Maketext::Simple found and loaded
Mail::Sender found and loaded
MIME::Base64 found and loaded
Net::IP found and loaded
Net::LDAPS found and loaded
Net::OAuth found and loaded
Net::SMTP found and loaded
Opcode found and loaded
PadWalker found and loaded
\ PHP::Serialization not found in @INC
Pod::Usage found and loaded
\ Pod::WSDL not found in @INC
Safe found and loaded
Scalar::Util found and loaded
SOAP::Lite found and loaded
Socket found and loaded
SQL::Abstract found and loaded
String::ShellQuote found and loaded
Text::CSV found and loaded
Text::Wrap found and loaded
Tie::IxHash found and loaded
Time::HiRes found and loaded
Time::Zone found and loaded
URI::Escape found and loaded
\ UUID::Tiny not found in @INC
XML::Parser found and loaded
\ XML::Parser::EasyTree not found in @INC
XML::Writer found and loaded
XMLRPC::Lite found and loaded
Apache2::Request found and loaded
Apache2::Cookie found and loaded
Apache2::ServerRec found and loaded
Apache2::ServerUtil found and loaded
From: Geoff Goehle [mailto:notifications@github.com] Sent: Monday, September 15, 2014 7:17 AM To: aubreyja/ww_install Cc: jdutro Subject: Re: [ww_install] install of WW on CenOS 6.5 and received errors starting httpd services (#84)
Hmm. It looks like something failed with the install prerequisites because you are missing modules.
Try running
`/opt/webwork/webwork2/bin/check_modules.pl
That should print out all of the Perl modules that WeBWorK needs. Use CPAN to install any of them that are missing (i.e. have a * next to them). UUID::Tiny should be on that list, (as we can see from the error message) but I'm guessing there is more.
— Reply to this email directly or view it on GitHub https://github.com/aubreyja/ww_install/issues/84#issuecomment-55588216 . https://github.com/notifications/beacon/8739771__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNjQwNjIwOCwiZGF0YSI6eyJpZCI6NDI0MzI2NTJ9fQ==--14f8708b05418b6b2f8991e6ab4b99ce30514609.gif
Right, now install all of the missing modules using cpan.
Ok, I have installed all the modules and I can get the site up. The only thing I cannot do is login as admin. There is no place to login…
I have attached a screenshot. I am new to this product, thanks for your patience
From: Geoff Goehle [mailto:notifications@github.com] Sent: Monday, September 15, 2014 7:25 AM To: aubreyja/ww_install Cc: jdutro Subject: Re: [ww_install] install of WW on CenOS 6.5 and received errors starting httpd services (#84)
Right, now install all of the missing modules using cpan.
— Reply to this email directly or view it on GitHub https://github.com/aubreyja/ww_install/issues/84#issuecomment-55589215 . https://github.com/notifications/beacon/8739771__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNjQwNjcwNSwiZGF0YSI6eyJpZCI6NDI0MzI2NTJ9fQ==--b1c1e1ca14b569219e7843d0ca7445c06fd1b5c8.gif
I dont think attaching a screenshot works for email posts to github.
Since the automatic install didn't seem to work, you are going to have to get the admin course started by hand.
http://webwork.maa.org/wiki/Installation_Manual_for_2.5_on_CentOS_6#Create_the_admin_Course
That manual also has a bunch of other instructions which might be useful.
I followed the instructions installing WW on CentOS 6.5. Script ran great. at the end it produced the following errors... Syntax error on line 12 of /etc/httpd/conf.d/webwork.conf: Can't locate HTML/Template.pm in @INC (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nCompilation failed in require at (eval 1392) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\n\t(in cleanup) Can't locate HTML/Template.pm in @INC (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/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/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SimplePGEditor.pm line 48.\nCompilation failed in require at (eval 1392) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 85.\nCompilation failed in require at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 35.\nCompilation failed in require at /etc/httpd/conf.d/webwork.conf line 49.\n
I have searched for all the locations and discovered most of these locations do not exist. Is this a problem with the script not creating the directories? I ran the script as root. and took all the defaults.
thanks in advance for your help.