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 /bin/java/jre/1.7.0_25/lib/i386/server/libjvm.so, because /bin/java/jre/1.7.0_25/lib/i386/server/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.2.0, 9.1.1, 9.0.4 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.
NOTE: This issue is fixed in PowerChute Business Edition v10 which is available for download on the APC website.
Resolution:
NOTE: It s recommended to uninstall older versions of PowerChute and install PowerChute Business Edition version 10
When running an older version of PowerChute
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<jre_path>/lib/i386/server/libjvm.so
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/libjvm.so"
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
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 /bin/java/jre/1.7.0_25/lib/i386/server/libjvm.so, because /bin/java/jre/1.7.0_25/lib/i386/server/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.2.0, 9.1.1, 9.0.4 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.
NOTE: This issue is fixed in PowerChute Business Edition v10 which is available for download on the APC website.
Resolution:
NOTE: It s recommended to uninstall older versions of PowerChute and install PowerChute Business Edition version 10
When running an older version of PowerChute
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<jre_path>/lib/i386/server/libjvm.so
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/libjvm.so"
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
./config.sh