Our Brands

Search FAQs

Error while running config.sh file after upgrading Java version of PCBE 10.x, and PCSS 1.x

In Linux-based operating systems, while running config.​sh file after upgrading the JDK version to the latest JDK config.​sh file throws an Error 206

Product Line:
PowerChute Business Edition (PCBE) v10.0, 10.0.1, 10.0.2, 10.0.3, 10.0.4, 10.0.5.
PowerChute Serial Shutdown (PCSS) v1.x

Linux Based Operating systems with PCBE v10.0, 10.0.1, 10.0.2, 10.0.3, 10.0.4, 10.0.5 installed, or PCSS v1.x.

Linux-based Operating systems with PCBS v10.x, or PCSS v1.x installed. Re-running the config.​sh file after upgrading the PowerChute java version to the latest java throws an error - 206, which is based on the current java path.


Please follow the below steps after the JDK version is upgraded to the latest.

1. Open Terminal and navigate to /opt/APC/PowerChuteBusinessEdition/Agent/config.​sh and Edit the config.​sh file as follows.
a. Open config.​sh file and go to line number 206.
b. Update the old JDK path with the new one and save the file.

Old JDK path is mentioned as /opt/APC/PowerChuteBusinessEdition/Agent/../jre/bin/java
New JDK path (/opt/APC/PowerChuteBusinessEdition/jdk-x.x.x/jre/bin/java).

2. Try to run config.​sh file from the terminal as shown below and make the necessary configuration changes.
sh /opt/APC/PowerChuteBusinessEdition/Agent/config.​sh

APC Greece

Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.