temp
This is an old revision of the document!
Ref: https://www.arednmesh.org/content/pi-meshchat-error-sending-message
Problem:
Looking in /var/log/apache2/error.log, I see many of:
touch : cannot touch '/tmp/meshchat/lock' : No such file or directory. clould not get lock at /usr/lib/cgi-bin/meshchatlib.pm line 35
Issue is that apache doesn't allow use of '/tmp' folder. So created these:
sudo mkdir /var/www/html/meshchat/tmp/ sudo mkdir /var/www/html/meshchat/tmp/meshchat/ sudo chown www-data:www-data -R /var/www/html/meshchat/tmp/ sudo chmod 770 -R /var/www/html/meshchat/tmp/
Restart services:
/etc/init.d/meshchatsync restart sudo /etc/init.d/apache2 restart
temp.1636321477.txt.gz · Last modified: by va7fi
