Most often this is due to permissions, but based on your other screenshot it looks like the permissions for the config files are sufficient.
You can sometimes get more information about what is causing the error by manually starting the web server using
sudo hypnotoad -f /opt/webwork/webwork2/bin/webwork2
(you may need to run "sudo mkdir /run/webwork2" beforehand.)
Note that the webwork2.dist.service file is not a Perl file. So executing "perl -c webwork2.dist.service" will certainly give errors. That is not your problem.
This is now what we get
this is now what we get.
So that shows you where the syntax error is. It is in your site.conf file. Check that file, and see where you have changed something that is causing the problem.
#is line 16
# is line 61
The line number being reported is not the line number in the file where the error occurred. The line 61 that is reported is the line in lib/Mojolicious/WeBWorK.pm that the Course::Environment object is created. The line 16 that is reported is the of the safe compartment code from lib/WeBWorK/CourseEnvironment.pm that is being evaluated (it works out to actually be line 127 in that file).
The syntax error is in the site.conf file. I recommend that you do a diff of your site.conf file against the site.conf.dist file to see what you have changed, and find where the syntax error is.
this is the only thing we have changed in this file. Let me know if this could cause the issue.
Fixed the W error. Now populating this error.
That is because the setting $job_queue{backend} is not set in your site.conf file.
Should I edit the green text line and remove the #? or change the {database_dsn} to {backend}?
The setting got moved up onto the line before it. The line that reads
# The simplest to use is the SQLite backend as it requires no additional setupjob_queue{backend} = 'SQLite';
should be two lines:
# The simplest to use is the SQLite backend as it requires no additional setup.
$job_queue{backend} = 'SQLite';
We fixed the job queue, but now we are back at square one and it returning the same error we had before.
You are missing the dollar symbol at the beginning of that line. It should be
$job_queue{backend} = 'SQLite';
we fixed the $ symbol error, and now we are getting a line 42 error. The line 42 starts wit h the web server being initially configured.
This was the problem. We updated the site .comf file, the perl command helped us resolve that issue. The OVA file has video resolution in it, we need to remove it to import it into VMware VSphere.
We are now all set, we have updated the passwords, the account pages, the logo, etc. We are all set, but now now we do not know how to import courses for students and professors to utilize. Is there a library/ file we can import that has questions/ courses?
What do you mean by video resolution? It would be good to have this documented for anyone else who tries to use the VM image with VSphere.
Courses are created from the Course Administration page. All new courses will have access to the Open Problem Library, which contains all of the exercises made available by the WeBWorK community.
Hello, I am trying to add problems to a course I just created to test and see how implementing problems for courses works, but every time I try I get a added 0 problems. Then when I check the course I do not see any of the problems. Any advice ?
You need to click "View Problems" before you click "Add All". The "Add All" problems buttons adds all problems that are displayed.
I notice that in your first screenshot there is a W at the beginning of the file. If that is saved then it could be causing the issues.