I’d like to run Openfire as an unpriviledged user. I am using the .tgz install (3.8.1). When I start the service as root, everything works fine. As soon as I start it as the user “openfire”, the web based admin console shows me the setup screen. Openfire is installed under /opt/openfire. The user openfire has the homedirectory set to /opt/openfire.
I found the problem. The file /etc/openfire/openfire.xml was owned by root and not writable by my custom openfire user. Chowned the file and now the daemon starts correctly.