Technical FAQs

Ask a Question

PowerChute Business Edition does not install successfully on Red Hat Enterprise Linux 7.x

Issue:
PowerChute Business Edition (PowerChute) does not install , the following error message is displayed:
       ./config.sh:line 130: /bin/java/jre/<jre version>/bin/java: Not a directory

Product Line:
PowerChute Business Edition

Environment:
OS: Red Hat Enterprise Linux (RHEL) 7.x x64, x86
Build: PowerChute Business Edition 9.1.0, 9.1.1, 9.0.1, 9.0.2, 9.0.3 OEM Basic and 25 Node Deluxe

Cause:
OpenJDK is installed in the directory used by PowerChute for the bundled private Java Runtime Environment (JRE).

Resolution:
Note:  Though an error message is displayed, a PowerChute directory is created that is used to resolve the issue in Step 4.

1 - Install standalone x86 Java JRE. The RPM Package Manager installs the JRE in the /usr/java/ directory.

     Note: We recommend installing the version of the Java JRE that was originally packaged with PowerChute:    
              9.1.1/9.0.3    - JRE jre1.7u25
              9.1.0/9.0.2    - JRE jre1.6u37

2 -  Download the JRE Config Tool to change the location of the Java JRE used by PowerChute to the  JRE version installed in step 1:
      http://www.apc.com/tools/download/software_comp.cfm?sw_sku=SFPCBEJRE&id=125&swfam=125

3 - Run the JRE Config Tool.
     When prompted, enter the new system JRE directory e.g. (/usr/java/jre1.7.0_25) and answer Yes to all prompts in order to change the JRE used by PowerChute.

4 - Navigate to the PowerChute directory and edit the config.sh script file to use the new Java JRE as follows:
  •      cd /opt/APC/PowerChuteBusinessEdition/Agent
  •      Edit config.sh and change the location of the Java JRE directory:
              e.g.
             /bin/java/jre/1.7.0_25/bin/java -jar ./lib/pcbeconfig.jar $1 $2 $3 $4 $5
             to
            /usr/java/jre1.7.0_25/bin/java -jar ./lib/pcbeconfig.jar $1 $2 $3 $4 $5

5 - Run the configuration file
     ./config.sh

6 - PowerChute should be communicating with the UPS and should be fully configurable. Launch PowerChute in the web browser to verify.







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