Mac OS10.10 OpenFire can't start problem

Source: Internet
Author: User

I encountered the same problem as the author of the following article, except that the Java version is edition 8 Update 60. This is the most reliable solution, so share with you.

Original address: http://www.bubuko.com/infodetail-998226.html

1, I use the Java version is the edition 8 Update, the verification method can go to this URL to verify http://www.java.com/zh_CN/download/installed.jsp

2, OpenFire use is the OPENFIRE_3_10_2.DMG

3,Spark uses the Spark_2_6_3

4, after installation, the first time you can start the OpenFire server, but restart the computer, you can no longer start the server.

Check the many methods of Baidu, is recommended because the JDK environment is not installed, but obviously I was installed;

And I put the JDK and OpenFire environment Uninstall, reinstall , although after installation, you can start OpenFire, but then start the computer, OpenFire can not start.

5, the Final solution is:

Open terminal and enter the following command:

A:sudo su

B:cd/usr/local/openfire/bin

C:export java_home= '/usr/libexec/java_home '

D:echo $JAVA _home/library/java/javavirtualmachines/jdk1.8.0_51.jdk/contents/home

E:cd/usr/local/openfire/bin

F:./openfire.sh

After executing these commands, the server can be started, and a computer restart is also available.

Figures:

If the input./openfire.sh is displayed, the permission denied can be turned off again by opening the terminal to first enter sudo chmod-r 777/usr/local/openfire/bin to get folder permissions.

Mac OS10.10 OpenFire can't start problem (go)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.