Error while starting openfire

Started the openfire server (using the graphic UI) and the below error is shown… It shows for all files under logs.

The log files for my install is under \OpenFire\Logs but the error below seems to suggest a different path.

Do I need to set some path after installation?

log4j:ERROR setFile(null,true) call failed.

java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\bin…\logs\debug.log (Access is denied)

at java.io.FileOutputStream.openAppend(Native Method)

at java.io.FileOutputStream.(Unknown Source)

at java.io.FileOutputStream.(Unknown Source)

at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)

at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)

Thanks,

Sujith

Same for your another thread. If you are running Openfire via laucher on Win7/Win2008R2 you must launch it with Run as admin. It can’t get access to Program Files folder overwise. Same for all programs that want to store something in the program files folders.

1 Like