robey/kestrel — Issue #74: Bad user permissions cause kestrel to silently not start
Author: jjlauer
Created: 2011-10-20 04:15:38+00:00
State: open

On my Ubuntu machine, I tried running the following command:

java -server -Dstage=development -jar ./dist/kestrel/kestrel-2.1.3.jar

Kestrel would fail to start and not print out any sort of error to my console. Since Kestrel writes to /var/run, /var/log, etc. and the user I was attempting to run it under didn't have permissions, Kestrel failed to start. That makes sense, but I didn't expect that to happen silently. The only way to get around this is to run via sudo:

sudo java -server -Dstage=development -jar ./dist/kestrel/kestrel-2.1.3.jar