Install issue: Error 1067: The process terminated unexpectedly

Hi, I am having a problem with the Openfire Service.

Installing Openfire 402 on VM (W2008 R2 SP1) using local admin account.

Installing to root of C: (C:\Openfire)

Copied “open-fire-service.vmoptions” to C:\Openfire\Bin (but have not edited this file)

Installed “openfire-service” using cmd - this appears to install OK

When I attempt to Start the Service from the Service MMC it Starts and runs for a minute before terminating.

Further attempt to Start the service give the message - “Windows could not start the Openfire service on Local Computer. Error 1067: The process terminated unexpectedly”

Does anybody have any ideas please?

Are you able to run it with the launcher (it is in the same Bin folder, yellow bulb icon)? First you can try running the service without openfire-service.vmoptions file and see if it works.

Hi, thanks for your response.

I removed the “openfire-service.vmoptions file” file from the bin folder and now the Openfire Service works correctly - thank you!

Now the browser (IE11) opens without an error but is blank but I will look into this today.

You can post the content of your vmoptions file.

Hi, this is the default file supplied with the installation. The install guide I have doesn’t mention editing it, only that it should be placed in the bin folder.

The content of the file is as follows:

Note: Ensure the file does not .txt file
extension.

-server

-XX:+UseLargePages

-Xms1024m

-Xmx2048m

-XX:+ForceTimeHighResolution

-XX:+PrintGCDetails

-XX:+PrintTenuringDistribution

-XX:+UseParallelOldGC

-XX:+ParallelGCThreads=2

Usually there should only be -Xms and -Xmx lines. Mine is only:

-Xms512m

-Xmx1024m

So some of these setting probably caused Openfire not to start normally.