Cannot restore segment prot after reloc Solution

Source: Internet
Author: User

Cannot restore segment prot after reloc solution problem: solution: Permission denied occurs when you install something on linux: edit/etc/selinux/config in one of the following ways and find This section: # This file controls the state of SELinux on the system. # SELINUX = can take one of these three values: # enforcing-SELinux security policy is enforced. # permissive-SELinux prints warnings instead of enforcing. # disabled-SELinux is fully disabled. SELINUX = e Nforcing comment out SELINUX = enforcing: # SELINUX = enforcing, add a new line: SELINUX = disabled to save and close. ...... Edit/etc/sysconfig/selinux and find: # This file controls the state of SELinux on the system. # SELINUX = can take one of these three values: # enforcing-SELinux security policy is enforced. # permissive-SELinux prints warnings instead of enforcing. # disabled-SELinux is fully disabled. SELINUX = enforcing if SELINUX is already set to SELINUX = disabled, you do not need to change it. Otherwise, you need to comment out SELINUX = enforcing and add a new line: SELINUX = disabled to save, Exit. If you encounter other similar prompts: cannot restore segment prot after reloc: Permission denied which should be SELinux, you can consider disabling it. Which of the following statements is depressing. after SELinux is disabled, it still does not work. so I went to google to search. this is useful. after you guarantee that SElinux is disable. run chcon-t texrel_shlib_t, for example, chcon-t texrel_shlib_t/path/name. so (this file depends on the specific execution file .)

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.