Openfire can not start on Mac OSX(it has started before)

About half month ago, I installed Openfire on my Mac. At that time, it can start and I have set up it. However, today I found it can not start. The Console shows the log message is “com.apple.xpc.launchd: (org.jivesoftware.openfire) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.” I have reinstalled JAVA(jre, javaformacos), but it still not work. And when I try to check openfire’s log file, the log folder can not be opened, it says “The folder “logs” can’t be opened because you don’t have permission to see its contents.”. Does everyone know how to fix it? I need your help!