I updated to 7146 last summer and remember having some problems getting apache2 to start. I thought I had the issue fixed, however...
This weekend a power failure caused our machine to reboot.
apache2 would not start. Below is the error message.
In desperation, I commented out the offending line in
/opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm
That is line 43,
#use File::Path 'remove_tree';
Webwork is now up and running, but I need to know if my "fix" will cause an issue somewhere else, and would also like to know what the correct "fix" is?
Thanks, Daryl
webwork.apache2-config: The webwork url on this site is http://weisner2.math.unb.ca/webwork2
Localize.pm: Full path for the localization directory set to |/opt/webwork/webwork2/lib/WeBWorK/Localize|
Syntax error on line 45 of /opt/webwork/webwork2/conf/webwork.apache2-config:
"remove_tree" is not exported by the File::Path module\nCan't continue after import errors at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm line 43\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm line 43.\nCompilation failed in require at (eval 1219) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 86.\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) "remove_tree" is not exported by the File::Path module\nCan't continue after import errors at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm line 43\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/CourseAdmin.pm line 43.\nCompilation failed in require at (eval 1219) line 3.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK.pm line 86.\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 /opt/webwork/webwork2/conf/webwork.apache2-config line 96.\n