Ask our Experts
Didn't find what you are looking for? Ask our experts!
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Search in
Free
EnglishStrengthen your foundational knowledge in Data Centers for free, enroll in this path today and start your learning journey!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-09-16 03:05 PM
I'm receiving this error message when trying to install PowerChute on a Red Hat Linux box. I've tried installing to different directories, as well as running install.sh from different directories but the error persists. Java is not installed on this device. The APC directory gets created but it is empty.
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: 2025-09-17 03:47 PM
Do you have permission to write to the directory? Have you tried running install.sh as root?
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: 2025-09-18 07:17 AM
Yes, I created a "PowerChute" subdirectory to try helping it along. It recognizes the directory and asks if I want to use if for the installation. I answer "yes" and the error pops up again. I've tried installing as both root and using sudo with my user account to no avail.
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: 2025-09-19 09:10 AM
Do you have another version of Java already installed on the machine? Try removing that, if you can.
Also, you mentioned that you've tried installing into other directories. Make sure that those directories no longer exist or you run the "uninstall" script from inside.
You can try manually installing the JRE to see if that helps.
# tar zxvf jre-21.0.4+7_linux-x64.tar.gz -C /opt/APC/PowerChute/
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: 2025-09-22 03:36 AM
No other Java installations on this machine, but your suggestion about installing the JRE may have exposed the problem. I am running the installation on a remote node from a head node. I am ssh-ed to that node as root. I can ls on that directory and see the tarball, but when I try to run the tar command it doesn't find the executable. I noticed it when I tried to "tab" the file name (autocomplete) when typing the tar command. When I "ls jre-21.0.4+7_linux-x64.tar.gz" I can "tab" the partial name. However, I can't on the tar command.
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: 2025-09-22 12:20 PM . Last Modified: 2025-09-22 12:29 PM
In your screenshot, the java tarball has already been gunzip'ed. So, you can either run:
# tar xvf jre-21.0.4+7_linux-x64.tar -C /opt/APC/PowerChute/
or gzip the tarball and try running install.sh again so that the install script runs the complete setup and config.
# gzip jre-21.0.4+7_linux-x64.tar
# ./install.sh
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
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.