Openfire server (v3.6.3) not working

Server was working fine yesterday but now it’s offline. Can someone help me troubleshoot please.

Thanks

Chris

Give us more information. What you have tried already, what is your setup (OS, instalaltion version (deb, exe, tar.gz)? You can also check error logs and post them here (/openfire/logs)

I’ve checked the SQL server database and services to make sure both are started and that’s it so far. I’m not sure what else to check.

I’m running Windows Server 2003 SBS Premium, openfire version is 3.6.3 and spark version 2.5.8.

Do you only need the error.log?

Are you using Openfire as a service? Have you tried to restart this service or run Openfire with its executable (/openfire/bin/openfire.exe)? What errors does it show in the launcher if you try launching it with its executable? Error.log would be enough for now.

Yes, I’m running it as a service which I have restarted, stopped and started again. I also tried running the exe but it fails with the following error.

Could not locate home

java.io.FileNotFoundException

at org.jivesoftware.openfire.XMPPServer.locateOpenfire(XMPPServer.java:827)

at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:296)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:415)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:161)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:106)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Critical Error! The home directory has not been configured,

which will prevent the application from working correctly.

ERROR 13057 [Jive-ERR] ():

java.io.FileNotFoundException: XML properties file does not exist: openfire.xml

at org.jivesoftware.util.XMLProperties.(XMLProperties.java:101)

at org.jivesoftware.util.XMLProperties.(XMLProperties.java:63)

at org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:832)

at org.jivesoftware.util.JiveGlobals.getHomeDirectory(JiveGlobals.java:236)

at org.jivesoftware.util.Log.initLog(Log.java:79)

at org.jivesoftware.util.Log.(Log.java:65)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:457)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:161)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:106)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native21 10Mte0h.o51d.9 18:0:)7

52

Ea trrsun.rfoelec.rtNativeeMo htcodAccessoIcrpmrul.nrveodiek po(Ukenninonwn Source)

g

at sun.rfe log file:Ll oectD.eNlgmageew taanis nul lge-t MhodAcOecspnseforImpl.invoke(Unknown Sourc)i

er

aHet aojvma.lagn .nroeftelect.eM tohdesi.tnvoke(Unknown Source)

? at co.m

exe4j.runtime.LauncherEngine.a2lunc(h0110U.n5.known Source)

at com.ex4e1j.runtime.WinLauncher.mainU(9knn 1o80:wn Source)

7:26 [org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:457)

]

java.io.FileNotFoundException

at org.jivesoftware.openfire.XMPPServer.locateOpenfire(XMPPServer.java:827)

at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:296)

at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:415)

at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:161)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:106)

at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:51)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

Error starting the server. Please check the log files for more information.
error.log.zip (53891 Bytes)

So i see that it can’t find the home directory and openfire.xml. Check if your installation is intact. I mean Program Files\Openfire folder and also the content of Program Files\Openfre\conf folder. There should be openfire.xml. Maybe it is corrupted or missing.

Thanks for your help wroot.

Looks like the problem was the openfire.xml somehow changed to openfire.xml.tmp. I renamed it openfire.xml and now everything is back to normal.

Regards

Chris