PREP 2015 System Administration

Failed to Archive Course Directory

Re: Failed to Archive Course Directory

by Michele Titcombe -
Number of replies: 0
Hi Danny,

During Monday's workshop, Jason suggested the following:

@Michele - it can't hurt to try resetting the file system permissions and seeing what happens. So from /opt/webwork/webwork2 do:
sudo chgrp -R wwdata DATA ../courses htdocs/tmp htdocs/applets logs tmp

sudo chmod -R g+w DATA ../courses htdocs/tmp htdocs/applets logs tmp

sudo find DATA/ ../courses/ htdocs/tmp logs/ tmp/ -type d -a -exec chmod g+s {} \;


That didn't fix the problem, so then Jason suggested to try next:

@Michele - alright, next place to look is the apache error log - sometimes it has more information, or sometimes less but it can paint a fuller picture. So, ahve a look in /var/log/apache2/error.log
for errors related to this and plz let me know what you find.

I tried, but something weird is going on with my server. I cannot do basic commands. Even an 'ls' will give me an error something like 'bash fork Cannot allocate memory'. So, this failure to archive a directory could be the result of something else?