After a reboot /var/run/allura wasn't there, which is needed by mod_wsgi and reactor/taskd scripts. I manually did:
root@allura-vm:/var/run# mkdir allura root@allura-vm:/var/run# chgrp allura allura root@allura-vm:/var/run# chmod g+w allura
And then work with INFRA to get this into the puppet config for this host. (Probably some other things we should get in there too)
Diff:
Also, this - or something much better:
Diff:
This is kind of ugly, but it works and is good enough for now until we get docker-ized and use that.
Added to
/etc/default/apache2and thestartportion of/etc/init.d/reactor:And the following into
/etc/init.d/reactorafter theif [ -n "$1" ]; thenblock.# hack to run solr too if ! pgrep -fl java.*start.jar; then echo "no solr running yet, starting it" pushd /var/local/solr-4.2.1/example nohup java -jar start.jar >> /var/local/log/solr.log & popd fiAnd ran:
And also ran:
update-rc.d smtp_server defaultsso that our SMTP listener is on by default.