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: 2022-11-23 01:41 AM
Hello,
I'm trying to install PCNS v4.4.1 on a RockyLinux 9 (RedHat 9 clone) and I've got an error.
I had already tried to install PCNS v4.4.1 several months ago on an another machine with RockyLinux 8 (RedHat 8 clone), and I got the same issue. On this RockyLinux 8 machine, I could install PCNS v4.3, but not the next release v4.4.0 and v4.4.1
I did :
./install.sh -f silentInstall.sample
With silentInstall.sample configured like this :
ACCEPT_EULA=YES
CEIP=no
MODE=single
IP_1=<NMCCardIP>
ACCEPTCERTS=YES
USERNAME=apc
PASSWORD=secretPassword
AUTHENTICATION_PHRASE=secretPhrase
LOCAL_IP_ADDRESS=<serverIP>
The installation is cancelled with this message (error 44) :
------------------------------------------------------------------
PowerChute Network Shutdown 4.4.1 for Linux
Copyright (c) 1999-2020 Schneider Electric.
All Rights Reserved.
------------------------------------------------------------------
OS=Linux
Initializing ...
Silent mode input from silentInstall.sample
INSTALL_DIR=/opt/APC
EULA has been accepted
Creating /opt/APC directory ...
PCNS will be installed to /opt/APC/PowerChute
Copying jre to /opt/APC/PowerChute ...
Extracting jre to /opt/APC/PowerChute/jre ...
openjdk version "15.0.1" 2020-10-20
OpenJDK Runtime Environment (build 15.0.1+9-18)
OpenJDK 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)
JAVA_DIR=/opt/APC/PowerChute/jre-15.0.1/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 /etc/systemd/system/default.target.wants/PowerChute.service → /etc/systemd/system/PowerChute.service.
Configure Firewall
Configuring firewalld
Configuring uninstall script ...
Setup the m11.cfg file
Securing Configuration
Applying Configuration ...
Error applying configuration. Error code is: 44
Removed /etc/systemd/system/default.target.wants/PowerChute.service.
Installation cancelled.
In the install.sh code, it is related to java.
In all cases, I use the java embedded.
For PCNS v4.3, it is jre-11.0.1_linux-x64_bin.tar.gz -> OK
For PCNS v4.4.1, it is jre-15.0.1_linux-x64.tar.gz -> error 44
Could you help me to install the last PCNS v4.4.1 ?
Thanks
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: 2022-12-13 06:06 AM
Hi,
I confirm that I was able to install PCNS 4.4.1 with a reinforced password.
My errors were I tought the password should be the same between the NMC and the PCNS, and I had not found the error code meaning.
Best 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: 2022-11-23 02:06 AM
Hi @Phil34_apc
I am not sure if you have seen the PowerChute Network Shutdown Compatibility Chart which shows all the supported Operating Systems.
PowerChute Network Shutdown Compatibility Chart
Unfortunately, the RockyLinux is not on the list and we wouldn't be able to provide support in installing and troubleshooting any issues that would arise. However, you can use our FAQ to look for articles that might help you.
We can also wait for other members and see if they have encountered this issue as well.
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: 2022-11-23 02:20 AM
Thanks @Anonymous user
I'm amazed by your answer.
RockyLiunyx is 100% compatible with RedHat. So Schneider does not support RedHat.
According to you, I have to stay with PowerChute Network Shutdown v4.3 ?
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: 2022-11-23 03:06 PM
Hi @Phil34_apc
PowerChute Network Shutdown supports RedHat Linux, as mentioned in my previous post, the listed Linux Distributions that we have tested can be seen in the Compatibility Chart.
As you can see, depending on the PCNS version, it can be installed on Debian, Oracle, Ubuntu, Red Hat Enterprise, SuSE, and AlmaLinux.
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: 2022-11-24 03:24 AM
Hi
I can see in the compatibility chart that it is openJDK 15.0.2 that has been tested.
But pcns v4.4.1 zip is embedded with jre 15.0.1
However I don't think it is the problem, because I have installed and tested successively :
java-11-openjdk-11.0.17.0.8
java-1.8.0-openjdk-1.8.0.352
java-17-openjdk
and it is not better.
I have installed with success pcnsv4.3
/usr/bin/which: no chkconfig in (/sbin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
------------------------------------------------------------------
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
EULA has been accepted
Creating /opt/APC directory ...
PCNS will be installed to /opt/APC/PowerChute
Copying jre to /opt/APC/PowerChute ...
Extracting jre to /opt/APC/PowerChute/jre ...
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode, sharing)
JAVA_DIR=/opt/APC/PowerChute/jre-11.0.1/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 /etc/systemd/system/default.target.wants/PowerChute.service → /etc/systemd/system/PowerChute.service.
Configure Firewall
Configuring firewalld
Configuring uninstall script ...
Setup the m11.cfg file
Applying Configuration ...
Registration results ...
Connection to UPS Network Management Card (IP) was successful.
Configuration complete.
Starting service ...
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.
This is all very weird for me.
Maybe it is because my environment is not virtualized and that Schneider is testing under virtualized environment, as for pcns 4.4.2 and pcns 4.4.3
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: 2022-11-30 06:42 AM
I have tested the installation of PCNS 441 on a Red Hat Enterprise Linux 8.3 machine and I've got the same issue (error code 44)
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.3 (Ootpa)
I'm going to contact the APC support.
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: 2022-12-05 11:08 PM
Apologies for the late revert @Phil34_apc, were you able to reach out to our tech support?
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: 2022-12-06 12:26 AM
Thank you Jonpro.
I contacted APC support yesterday and they replied :
"We have received your request and we will provide you an answer within 24 hours (1 working day),
Here is your file number: 96734662"
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: 2022-12-12 06:14 PM
Hi @Phil34_apc
Apologies for the late revert, I checked the case that you mentioned and saw that our local team is already working on it.
For the benefit of other users, I would like to share what we found during the investigation. In the case that was raised, we saw an Error 44 during the installation, and as per the PCNS Installation Guide (page 83), the error is Invalid Password specified in the silent install configuration file. The password given did not pass
the regex.
There is a possibility that either the password or authentication phrase does not comply with the complexity requirements, kindly refer to the security handbook provided.
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: 2022-12-13 12:32 AM
Hi @JonPro
I can see in the security handbook that the password does not meet the requirements.
I have to see how I can change all that on my clients and the network management card.
It was surely the problem I had.
Thanks a lot for your help and patience.
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: 2022-12-13 06:06 AM
Hi,
I confirm that I was able to install PCNS 4.4.1 with a reinforced password.
My errors were I tought the password should be the same between the NMC and the PCNS, and I had not found the error code meaning.
Best regards
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.