In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you in the installation of JDK1.7 in Linux RedHat5.5 installation problems Error: dl failure on line 864 how to do, I believe most people do not know much, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Problem description: the JDK1.7 installed in Linux RedHat5.5, and by modifying the JAVA_HOME in the profile file, it is found that the java-version command still displays version 1.4. analysis of the reason shows that the system does not execute the java command according to the settings of profile, but runs through the JDK program that comes with the system under / usr/java. In desperation, delete all files under / usr/java through the rm-rf command, and then run the java command again. The following problems have occurred:
Error: dl failure on line 864Error: failed / home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so, because / home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied
Analysis results: the final Permission denied shows that the security of the system blocks the execution of some actions by java. So check the system firewall iptables, has been turned off, so I think of Selinux
There are two solutions:
1. Enter directly: / usr/sbin/setenforce 0 means to turn off SELINUX, but this is only a session-level setting
2. Global settings disable SELINUX, edit / etc/sysconfig/selinux file, change the SELINUX parameter to disabled, and then restart it.
The above is all the contents of the article "installation problems with JDK1.7 installation in Linux RedHat5.5 Error: what to do with dl failure on line 864". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.