OPM - Error while loading shared libraries: /opt/CARKaim/lib/libopmpreloader.so: cannot restore segment prot after reloc: Permission denied

OPM - Error while loading shared libraries: /opt/CARKaim/lib/libopmpreloader.so: cannot restore segment prot after reloc: Permission denied

107
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:01 PM


Symptom


When running privileged commands using pimsu, the following error message appears:

Error while loading shared libraries: /opt/CARKaim/lib/libopmpreloader.so: cannot restore segment prot after reloc: Permission denied



Environment


10.10;12.0;12.1;12.4;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Credential Provider

Cause


SE Linux is enabled on the operating system. 
This SE Linux module is based on rules and one of its basic rules is to disable the use of preloader librarlies which is the mechanism that is used in pimsu feature. 


Resolution


Define a rule in SE Linux that enable the OPMs preloader library.
 
To temporary disable SE Linux run:
/usr/sbin/setenforce 0
To permanently disable SE Linux change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot the operating system. 


Additional Information


Details

SYMPTOM
When running privileged commands using pimsu, the following error message appears:
 
Error while loading shared libraries: /opt/CARKaim/lib/libopmpreloader.so: cannot restore segment prot after reloc: Permission denied
 
PROBLEM
SE Linux is enabled on the operating system. 
This SE Linux module is based on rules and one of its basic rules is to disable the use of preloader librarlies which is the mechanism that is used in pimsu feature. 
 
SOLUTION
Define a rule in SE Linux that enable the OPMs preloader library.
 
To temporary disable SE Linux run:  '/usr/sbin/setenforce 0' 
To permanently disable SE Linux change "enforcing" to "disabled" in ''/etc/selinux/config'' and reboot the operating system. 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001BhSCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail