WeBWorK Main Forum

webwork2 service does not start on reboot

Re: webwork2 service does not start on reboot

by Glenn Rice -
Number of replies: 0

What happens when you run "ls -l /etc/systemd/system/webwork2.service"?  That should show a link to /opt/webwork/webwork2/conf/webwork2.service.

What about when you run "ls /etc/systemd/system/multi-user.target.wants"?   That should also show a link to /opt/webwork/webwork2/conf/webwork2.service.

You should see both.  If either of those are shown, but not both, then delete the one that is shown, and run "sudo systemctl enable /opt/webwork/webwork2/conf/webwork2.service".  After running that command you should see both of the links above.

If that still does not fix the problem, then you might have a corrupt file system.  At least that is one reason I can think of that this might happen.