OpenFire with Active Directory – Elastix

Create database for Openfire

# mysql -u root -p
mysql> create database openfire;

Goto IM tab in Elastix GUI and start the installation.

Select the MySQL DB which you have created already.

Select Profile Settings as Directory Server

Put Active Directory Credentials


Leave User Mapping as it is

Choose the admin accounts for Open Fire.

Click Continue.

If you face the “HTTP ERROR: 500 INTERNAL_SERVER_ERROR” run the following commands.

# mkdir /var/lib/php/session/cache
# chmod 777 cache

Click browser’s back button and click continue to finish the installation.

For testing install XMPP client Pandion and login with Active Directory username @ Openfire Server name and active directory password. See the screenshot.

About these ads

, , , , , , , , , , , , , , , ,

  1. #1 by joe on November 16, 2011 - 4:16 PM

    After your step, “Leave User Mapping as it is” I don’t get the dialog box, “Choose the admin accounts for Open Fire.” I get “Profile Settings: Group Mapping”, and when I click next I get HTTP ERROR 500

    Problem accessing /setup/setup-admin-settings.jsp. Reason:

    Server Error

    Caused by:

    java.lang.NullPointerException

    Can you help?

    • #2 by Shyju Kanaprath on November 17, 2011 - 1:31 PM

      Did you try this?

      mkdir /var/lib/php/session/cache
      chmod 777 /var/lib/php/session/cache

      • #3 by Joe on November 17, 2011 - 2:00 PM

        Yes I did try that but it did not work. However I figured out the issue. I was using Open Java, and apparently it does not work with that. So I executed sudo apt-get install oracle-java6-jre then sudo update-java-alternatives -s java-6-sun and then it worked. Thanks for responding.

      • #4 by Shyju Kanaprath on November 18, 2011 - 12:10 PM

        You are welcome. Your comment will help other readers having same issue.

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

Follow

Get every new post delivered to your Inbox.

Join 33 other followers

%d bloggers like this: