Technical FAQs

Ask a Question

PowerChute Business Edition 9.2.1, 9.1.1, and 9.0.3 Agent fails to install on RHEL 5.8, 5.9, 5.10, 5.11

Issue:
Installation of Agent fails on RHEL 5.8, 5.9, 5.10, 5.11  after running install_pbeagent_linux.sh
The following message appears:

Error: dl failure on line xxx
Error: failed /home/abhinay/Apps/jdk1.7.0_04-i586/jre/lib/i386/client/libjvm.so, because /home/abhinay/Apps/jdk1.7.0_04-i586/jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied
   
Product Line:
PowerChute Business Edition

Environment: 
OS: RHEL 5.8, 5.9, 5.10, 5.11 x64, x86Build: PowerChute Business
9.2.1, 9.1.1 and 9.0.3 OEM Basic and 25 Node Deluxe

Cause:
This problem is caused by SELinux enforcing an access policy.
The policy forbids the Agent installer to change the attributes of memory protection for a memory segment.
RedHat Enterprise Linux has SELinux set to "Enforcing" mode by default.

Resolution:

1.
Use the change context command to run text relocation on the file libjvm.so:
Type the following into the command line:
chcon -t textrel_shlib_t /bin/java/jre/<jre_version>/lib/i386/client/libjvm.so
where <jre_version> is the version of the Java JRE that was originally packaged with PowerChute:
PowerChute Version jre version
9.2.0 jre1.8u31
9.1.1/9.0.3 jre1.7u25
9.1.0/9.0.2 jre1.6u37
9.0.0/9.0.1 jre1.6u19
 
2.  Run the PowerChute Agent configuration script to complete the installation.
    Type the following into the command line:
    cd /opt/APC/PowerChuteBusinessEdition/Agent
  ./config.sh
 
 
Was this helpful?
What can we do to improve the information ?