Openfire on Ubuntu 10.04 Lts

follow the installation in http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/install-guide.html#config

The first problem is Debian package has a dependency on the older “Sun” JRE packages (either sun-java5-jre or sun-java6-jre), which in ubuntu replaced by the OpenJDK packages. Assuming you’ve already installed the OpenJDK package(s), you can work around this dependency by telling dpkg to ignore dependencies:

dpkg -i --force-depends openfire_3.6.4_all.deb

and the next problem came.. the openfire wont start

so u have to edit /etc/init.d/openfire and follow this script

# Attempt to locate JAVA_HOME, code borrowed from jabref package
if [ -z $JAVA_HOME ]
then
    t=/usr/lib/jvm/java-6-openjdk && test -d $t && JAVA_HOME=$t
fi
and you should be able to start
sudo /etc/init.d/openfire start

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s