Openfire doesn't start
Just downloaded the latest release of Ignite Realtime's Openfire XMPP server. They also provide a .deb package besides .tar.gz, so I chose to use it. After installing I tried to start the server by executing
But nothing happened.
So I further inspected the code of the script and found out, that it only checks for old Java versions:
But my Java version java-7-oracle was missing. So I simply added it at the end:
which allowed the script to run properly.
/etc/init.d/openfire start
But nothing happened.
So I further inspected the code of the script and found out, that it only checks for old Java versions:
if [ -z $JAVA_HOME ]
then
t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
fi
But my Java version java-7-oracle was missing. So I simply added it at the end:
if [ -z $JAVA_HOME ]
then
t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-7-oracle && test -d $t && JAVA_HOME=$t
fi
which allowed the script to run properly.