I try to install pcns 4.3 on a new machine with centOS 7.6.1810.
Until now, all the installations with pcns 4.2 were a success on centOS7, but the installation with pcns 4.3 fails.
pcns 4.3 messages:
./install.sh -f silentInstall.sample
PowerChute Network Shutdown 4.3.0 for Linux
Copyright (c) 1999-2018 Schneider Electric.
All Rights Reserved.
Silent mode input from silentInstall.sample
EULA has been accepted
Creating /opt/APC directory ...
PCNS will be installed to /opt/APC/PowerChute
Checking version of Java ...
Detected Java Version: 18.104.22.168
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
Copying the installation files ...
Extracting PCNS files ...
PCNS is extracted to /opt/APC/PowerChute
Configuring startup files ...
Installing Service ...
Created symlink from /etc/systemd/system/default.target.wants/PowerChute.service to /etc/systemd/system/PowerChute.service.
erreur lors de la lecture d'informations sur le service PowerChute : Aucun fichier ou dossier de ce type
Configuring uninstall script ...
Setup the m11.cfg file
Applying Configuration ...
Unrecognized option: --add-opens
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error applying configuration. Error code is: 1
Removed symlink /etc/systemd/system/default.target.wants/PowerChute.service.
We can see: Unrecognized option: --add-opens
pcns 4.2 messages:
PowerChute Network Shutdown 4.2.0 for Linux
Copyright (c) 1999-2016 Schneider Electric.
Updating Linux symbolic link ...
Registration results ...
Connection to UPS Network Management Card (22.214.171.124) was successful.
PowerChute Network Shutdown, v4.2.0
Copyright (c) 1999-2016, Schneider Electric. All Rights Reserved.
Installation has completed.
PowerChute Network Shutdown can be accessed through your browser at https://<your_server_ip_address>:6547
Please complete the configuration wizard so that PowerChute Network Shutdown can protect your server.
It will use the wrong JVM. You will need java11, but java8 was called.
Simple set the java home to java11 home.
For that reason I have build me an RPM package. It makes also the mass configuration via puppet much easier.
Thank you Franck.
Il will try tomorrow with the java 11 provided in the tar.gz
I have reinstalled pcns 4.3 vith the private jre 11 and the installation is done correctly.
I appreciate pcns now works with systemd, and I would like to suggest to the developpers adding a warning when pcns detecs the java version 1.8. Currently, it says "Acceptable version".
Sorry for the inconvenience. We will look to make a change in a future release.
Choose a location