APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 04:03 AM . Last Modified: 2024-03-08 04:36 AM
Hi,
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.
------------------------------------------------------------------
OS=Linux
Initializing ...
Silent mode input from silentInstall.sample
INSTALL_DIR=/opt/APC
JAVA_DIR=/usr/java/latest/bin/
EULA has been accepted
Creating /opt/APC directory ...
PCNS will be installed to /opt/APC/PowerChute
Checking version of Java ...
Detected Java Version: 1.8.0.221
Acceptable version
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)
JAVA_DIR=/usr/java/latest/bin/
Copying the installation files ...
Extracting PCNS files ...
PCNS is extracted to /opt/APC/PowerChute
Configuring startup files ...
Startup script=/usr/bin/PowerChute
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
Configure Firewall
Configuring firewalld
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.
Installation cancelled.
We can see: Unrecognized option: --add-opens
pcns 4.2 messages:
./install.sh -f silentInstall.sample
------------------------------------------------------------------
PowerChute Network Shutdown 4.2.0 for Linux
Copyright (c) 1999-2016 Schneider Electric.
All Rights Reserved.
------------------------------------------------------------------
OS=Linux
Initializing ...
Silent mode input from silentInstall.sample
INSTALL_DIR=/opt/APC
JAVA_DIR=/usr/java/latest/bin/
EULA has been accepted
PCNS will be installed to /opt/APC/PowerChute
Checking version of Java ...
Detected Java Version: 1.8.0.221
Acceptable version
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)
JAVA_DIR=/usr/java/latest/bin/
Copying the installation files ...
Extracting PCNS files ...
PCNS is extracted to /opt/APC/PowerChute
Configuring startup files ...
Startup script=/etc/rc.d/init.d/PowerChute
Updating Linux symbolic link ...
Configure Firewall
Configuring firewalld
Configuring uninstall script ...
Setup the m11.cfg file
Applying Configuration ...
Registration results ...
Connection to UPS Network Management Card (162.38.134.127) was successful.
Configuration complete.
PowerChute Network Shutdown, v4.2.0
Copyright (c) 1999-2016, Schneider Electric. All Rights Reserved.
Startup completed.
Installation has completed.
PowerChute Network Shutdown can be accessed through your browser at https://
Please complete the configuration wizard so that PowerChute Network Shutdown can protect your server.
Regards.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 04:04 AM . Last Modified: 2024-03-08 04:36 AM
Hi,
Sorry for the inconvenience. We will look to make a change in a future release.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 04:03 AM . Last Modified: 2024-03-08 04:36 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 04:03 AM . Last Modified: 2024-03-08 04:36 AM
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.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 04:03 AM . Last Modified: 2024-03-08 04:36 AM
Thank you Franck.
Il will try tomorrow with the java 11 provided in the tar.gz
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 04:03 AM . Last Modified: 2024-03-08 04:36 AM
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".
Regards
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-30 04:04 AM . Last Modified: 2024-03-08 04:36 AM
Hi,
Sorry for the inconvenience. We will look to make a change in a future release.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-09 07:40 AM
Hi.
I looking for PCNS 4.3 for my server but APC/SE remove possibility to download this software. If you still have this software can you share with me (maybe by wetransfer or other service)? I specailly looking for linux, windows and VMware version. I will be very happy that users provide better support than manufacturer.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.