If you’re looking for a good jabber/XMPP server with LDAP/Active Directory integration. Have a look at Openfire. It’s working really great and you can push contacts to your clients. No need for adding every employee of your company on your users client.
I’ve installed Openfire on Debian Lenny. Here is a short description, of what you have to do.
1. Enable non-free sources.list
You have to add the non-free repository to your /etc/apt/sources.list, because you have to install sun-java6-jre
(You can also use sun-java5-jre, but on my freshly installed Lenny, sun-java6-jre has less dependencies).
Here is my /etc/apt/sources.list:
1 2 3 4 5 | # # lenny # deb http://ftp-stud.fht-esslingen.de/debian/ lenny main contrib non-free deb-src http://ftp-stud.fht-esslingen.de/debian/ lenny main contrib non-free |
1 2 3 4 5 | # # Security updates # deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free |
After adding the non-free repository, run apt-get update.
2. Install SUN Java 6 JRE
1 | apt-get install sun-java6-jre |
3. Download latest version of Openfire as .deb
You can find more information about versions here.
1 | wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3.6.3_all.deb |
4. Install Openfire
1 | dpkg -i openfire_3.6.3_all.deb |
5. Fixing missing LSB information (not required)
During installation of the Openfire packet, update-rc.d is reporting, that LSB information is missing from init-script.
As I don’t like such warnings, I’ve created a patch for adding the LSB information.
Note: You need the ‘patch’ program installed (apt-get install patch).
1 | patch -p0 < openfire_3.6.3_fix_missing_LSB_information.patch |
I will soon write an article about configuring Openfire for Active Directory connection.
[...] saz on Mar.25, 2009, under Apache2, Linux As I was writing my article about the installation process of Openfire, I’ve tried to upload a file but got an error message instead of my [...]
I found your post searching for anyone else using OpenFire. I love it. Just deployed it for our IT Dept and will be using it for a few remote sites to communicate. I tried the patch you wrote for the LSB info, but it didn’t work. We also get that error. it is strange though. I have rebuilt the server 3 or 4 times in various stages of testing and on the final build from scratch I get the LSB errors. We weren’t getting them on any of the other three previous builds.
Which version of Openfire are you installing? Does the patch cleanly applies?
I installed 3.6.3 of Openfire…I see today there is an update, to that though.
the output from patch is the following:
root@xxxxxx:/home/xxxxxxxx# patch -p0 < openfire_363_fix_missing_lsb_information.patch
patching file /etc/init.d/openfire
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED — saving rejects to file /etc/init.d/openfire.rej
I’m not familiar with the patch app or the LSB info.
The patch can’t be applied cleanly. I’ll get on it later that day and will post a new patch. Thanks.
I’ve created a new patch: http://steffenzieger.de/index.php/2009/05/08/updated-patch-for-fixing-missing-lsb-information-in-openfire-init-script/
Please let me know, if it’s working for you. Thanks.