Installing Openfire on Mac OS X 10.3.9 Server (Panther)

Getting Openfire to run on Panther Server is not all that tough, believe it or not, but there are some caveats.

First, you must install Tiger’‘s JDK, which requires a workaround script because the stock installer won’'t run on Panther. The required script is in the follow-up comments to this thread.

Next, download the Openfire installer package (3.3.2 as of this post) and run the installation. It will tell you that it failed, but that’'s OK.

Check to be sure that a “openfire” user exists in the local user database.

Run the following commands from a terminal window:

  1. sudo chown -R openfire /usr/local/openfire

  2. sudo chmod 754 /usr/local/openfire/bin/openfire.sh

  3. sudo -u openfire /usr/local/openfire/bin/openfire.sh

Openfire should now be running. See the follow-up comments for suggestions on the configuration.

To have Openfire start automatically at startup, you’'ll need to create a startup item. See the follow-up comments for the startup script instructions.

Upgrading

If & when you upgrade the Openfire installation, the upgrade process will probably overwrite your settings. Be sure to have a backup of your /usr/local/openfire directory, or at least the following files:

/usr/local/openfire/conf/openfire.xml

/usr/local/openfire/resources/security/keystore

Create a new directory at /Library/StartupItems/openfire

See http://homepage.mac.com/jlg/PantherOpenfire.html for the contents of the two necessary files, openfire and StartupParameters.plist, that belong in the /Library/StartupItems/openfire directory.

Be sure to make the openfire script executable by root.

You’'ll also need to add the following line to /etc/hostconfig :

OPENFIRESERVER=-YES-

Note that this is only necessary if you’'re using Mac OS X 10.3.x (Panther)!

Download the Java 2 SE 5.0 Release 1 installer from Apple, and mount the disk image. Don’'t run the installer.

Run the custom installer script with sudo. See http://homepage.mac.com/jlg/PantherOpenfire.html for the script itself.

How do I uninstall Openfire from 10.4.10?

I’'ve decided to use iChat server.