I have openfire (latest rpm from website) already working on server ‘john’ which is a FC4 with mysqld 5.0.51a but it was a test environment. I’ve decided to move it to a production env, so I’m trying to re-install openfire on a particular linux server named ‘james’ with mysqld 5.0.51a. I did the same exact steps as before, however, when running the web setup for the first time, when it gets to database setup and I enter the appropriate mysql settings, it just hangs. I’ve done some extensive testing, and here is what I’ve found:
-
I’m sure i disabled iptables (for troubleshooting)
-
On james, if I point to localhost database, it hangs - however, if i point to the database on john it goes through without problem.
-
On john, if i re-run the setup and point to db on james, it also works without problem. This leads me to believe the db on james is fine.
-
On james, I can connect via mysql client to localhost using both -S (socket) as well as network (-h) and works fine using the openfire username and password to connect to db. This is further indication that mysql connectivity works fine to localhost, and further isolates openfire as specifically the problem.
-
When I do a tcpdump, I see that the web admin hangs when trying to “SHOW.SESSION.VARIABLES” from local mysql.
-
I’ve double checked that the grants for ‘openfire’@’%’ as well ‘as’openfire’@‘localhost’ both have same password and have ALL privileges to openfire.*.
I’m not sure what else I can do to figure out the problem, it’s driving me crazy! Any help would be much appreciated.