Loading ...

pcns 4.3 installation failed | UPS Management Devices & PowerChute Software

Home » Spaces » UPS Management Devices & PowerChute Software » discussion » General » pcns 4.3 installation failed

pcns 4.3 installation failed

Discussion in UPS Management Devices & PowerChute Software started by Philippe , 9/10/2019 5:23 PM
Login to follow, share, and participate in this space.
Not a member?Join now
Announcement 

Please review Schneider Electric Knowledge Base articles for assistance with most technical support questions.  http://www.apc.com/us/en/faqs

Posted in: General

pcns 4.3 installation failed

Subscribe to RSS
  • Phil34

    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://<your_server_ip_address>:6547

    Please complete the configuration wizard so that PowerChute Network Shutdown can protect your server.

    Regards.

  • apctux

    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.

  • Phil34

    Thank you Franck.

    Il will try tomorrow with the java 11 provided in the tar.gz

  • Phil34

    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

  • wpasquil

    Hi,

    Sorry for the inconvenience. We will look to make a change in a future release. 

Page 1 of 1 (5 items)
Choose your language:  
powered by Communifire
Version 6.0.7207.29305