WeBWorK Main Forum

Errors when rebooting *working* Webwork server (Amazon EC2 public image)!??

Errors when rebooting *working* Webwork server (Amazon EC2 public image)!??

by Christian Seberino -
Number of replies: 2
I had a working Webwork server built from the standard Amazon Cloud (EC2)
image.  

All was well but then I rebooted and now Apache crashes with these error messages...

# /etc/init.d/apache2 restart
Use of uninitialized value $fileName in open at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 162.
Use of uninitialized value $fileName in concatenation (.) or string at /opt/webwork/webwork2/lib/WeBWorK/Utils.pm line 162.
Syntax error on line 81 of /etc/apache2/conf.d/webwork.conf:
Can't locate PGcore.pm in @INC (@INC contains: /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at /opt/webwork/webwork2/lib/WeBWorK/Utils/CourseManagement.pm line 38.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WeBWorK/Utils/CourseManagement.pm line 38.\nCompilation failed in require at /opt/webwork/webwork2/lib/WebworkSOAP.pm line 6.\nBEGIN failed--compilation aborted at /opt/webwork/webwork2/lib/WebworkSOAP.pm line 6.\nCompilation failed in require at (eval 931) line 2.\n
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!


Why is this happening and how fix?

chris
In reply to Christian Seberino

Re: Errors when rebooting *working* Webwork server (Amazon EC2 public image)!??

by Christian Seberino -
Sorry...must have been my fault somehow since I rebuilt the Webwork Amazon Cloud server that exact same way and can't reproduce the problem.  It is gone.

cs
In reply to Christian Seberino

Re: Errors when rebooting *working* Webwork server (Amazon EC2 public image)!??

by Michael Gage -
/opt/webwork/pg. is missing from the list of libraries. That is where PGcore is.