Hi all.
I'm using openfire_3_8_0.tar.gz to install openfire on Centos 6.3:
yum install java-1.7.0-openjdk
tar xzf openfire_3_8_0.tar.gz
mv openfire /opt/
sh /opt/openfire/bin/extra/redhat-postinstall.sh
service openfired start
And I see in logs that it can't create /logs/error.log and so on.
Fixing lib/log4j.xml does the thing.
Actual package start string is (logged from /opt/openfire/bin/openfire):
nohup /usr/bin/java -server -Dinstall4j.jvmDir=/usr -Dexe4j.moduleName=/opt/openfire/bin/openfire -classpath /opt/openfire/.install4j/i4jruntime.jar:/opt/openfire/lib/activation.jar:/opt/openfire/lib/bouncycastle.jar:/opt/openfire/lib/commons-el.jar:/opt/openfire/lib/hsqldb.jar:/opt/openfire/lib/jasper-compiler.jar:/opt/openfire/lib/jasper-runtime.jar:/opt/openfire/lib/jdic.jar:/opt/openfire/lib/jtds.jar:/opt/openfire/lib/mail.jar:/opt/openfire/lib/mysql.jar:/opt/openfire/lib/openfire.jar:/opt/openfire/lib/postgres.jar:/opt/openfire/lib/servlet.jar:/opt/openfire/lib/slf4j-log4j12.jar:/opt/openfire/lib/sqlite-jdbc-3.7.2.jar:/opt/openfire/lib/startup.jar com.install4j.runtime.Launcher start org.jivesoftware.openfire.starter.ServerStarter false false /opt/openfire/bin/../logs/stderror.log /opt/openfire/bin/../logs/stdoutt.log true true false true true 0 0 20 20 Arial 0,0,0 8 500 version 3.8.0 20 40 Arial 0,0,0 8 500 -1 -DopenfireHome=/opt/openfire/bin/../ -Dopenfire.lib.dir=/opt/openfire/lib