1, Error: After installation, the first time is can start OpenFire server, but the computer restarts, it can no longer start the server, each time a click "Start OpenFire", and then load, state or "Start OpenFire" unchanged, Sometimes even jump out of the error box, prompting "Could not start the OpenFire server", ¥¥¥2, Workaround: Open the terminal, enter the following command sequentially:
(note the small punctuation, it is recommended to copy the command to the terminal to run)
①: sudo chmod-r 777/usr/local/openfire/bin
②: sudo su
③: Cd/usr/local/openfire/bin
④: Export java_home='/usr/libexec/java_home'
⑤: Echo $JAVA _home/library/java/javavirtualmachines/jdk1.8.0_51.jdk/contents/home
⑥: Cd/usr/local/openfire/bin
⑦:./openfire.sh
Once you have executed each of these commands, the server is ready to start.
¥¥¥
Mac OS OpenFire Server failed to start