How can we help you today?

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

Issue:
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

Environment:
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.

Cause:
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.

Resolution:

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.

Example:
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

Schneider Electric New Zealand

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
  • Products Documentation
  • Software and Firmware
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Where to Buy?
  • Office Locations
  • Schneider Electric, PDL & APC Phone: 0800 741 303
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Conditions of Sale
  • Change your cookie settings