Migration from Windows to Linux

Now iam trying to migrate openfire from windows to linux.

I have problem, when i use import / export for users migration. i can get there groups in the linux server.

Now iam trying to migrate openfire from windows to linux.

I have problem, when i use import / export for users migration. i can not get there groups in the linux server.

Why do you have to export your userbase? Maybe it’s easier to just move your existing database or to connect with a new installation to your database.

I tried moving the database also it doesn’t work for me.

Moving the db will only work if the openfire server is going to have the same name. You also need to set the permissions correctly. The db must have read/write permissions for the user that the server is run as.

This doesn’t work for me.

Can you explain How to do this.

p.surendhar wrote:

This doesn’t work for me.

This is not enough to help you. You have to describe what you have already tried, what was your old setup (server name) and what do you want to achieve.

first I have taken a backup of existing database. and restored in the new server.

Then i installed the openfire rpm. and i confugred the same.

while configuring i gave parameters please see below:

Doamin : as-dt-001 (same as in the current server)

Database : Mysql

Database url : jdbc:mysql://localhost:3306/openfire

database user : root

database password : xxxxx

admin settings:

admin mail :

admin password :

The mysql migration should be very simple. I assume you are not using LDAP since you are trying to migrate users. You should be able to import the database with ease if you used mysql on windows as well. This is the steps I would take:

  • Install the openfire server
  • move the openfire.xml file from the old server to the new server, replacing the newly installed file
  • import the database from the old server to the new server
  • start openfire