Technical FAQs

Ask a Question

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

Installation of Agent fails on RHEL 5.8, 5.9, 5.10, 5.11 after running
The following message appears:
Error: dl failure on line xxx
Error: failed /bin/java/jre/1.7.0_25/lib/i386/server/, because /bin/java/jre/1.7.0_25/lib/i386/server/ cannot restore segment prot after reloc: Permission denied
Product Line:
PowerChute Business Edition

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

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.

NOTE: This issue is fixed in PowerChute Business Edition v9.5 which is available for download on the APC website.


It s recommended to uninstall older versions of PowerChute and install PowerChute Business Edition version 9.5 

When running an older version of PowerChute 

1. Use the change context command to run text relocation on the file

Type the following into the command line:
chcon -t textrel_shlib_t<jre_path>/lib/i386/server/
where <jre_path> is the path of the Java JRE that was originally packaged with PowerChute:
For example, command for PCBE 9.2.1 will be:
"chcon -t textrel_shlib_t /usr/local/bin/java/jre/1.8.0_102/lib/i386/server/"
PowerChute Version jre_path
9.2.1/9.0.4 /usr/local/bin/java/jre/1.8.0_102
9.2.0 /usr/local/bin/java/jre/1.8.0_31
9.1.1/9.0.3 /bin/java/jre/1.7.0_25
2.  Run the PowerChute Agent configuration script to complete the installation.

Type the following into the command line:
cd /opt/APC/PowerChuteBusinessEdition/Agent

Was this helpful?
What can we do to improve the information ?