CyberPower PowerPanel Business Edition client installation
895182Oct 22 2011 — edited Jan 12 2012In case there's anyone out there that is trying to install the cyberpower power panel client software to manage the interaction between a cyberpower ups agent and a solaris box, here are the instructions to get it working.
Basically, the software uses a prepackaged version of Linux Java, and the main problem with getting the software to run on Solaris is that obviously java compiled for Linux will not work on Solaris. So you need to point the software to your correct version of Java and it will work:
tar xvfz ppbe200-linux-esxi-setup.tar.gz
sed -i -e 's:bin/unpack200:/usr/java/jre/bin/unpack200:' -e 's:$app_java_home/bin/java:/usr/java/jre/bin/java:' ppbe200-linux-esxi-setup.sh
sudo ./ppbe200-linux-esxi-setup.sh
sudo chown root:root /opt/ppbe
sudo chmod a+rX /opt/ppbe
sudo /etc/init.d/ppbed stop
sudo mv /opt/ppbe/jre /opt/ppbe/jre_backup
sudo ln -s /usr/java/jre /opt/ppbe/jre
sudo /etc/init.d/ppbed start
Also, before you install make sure you've installed java ("sudo pkg install java") and the X11 libraries ("sudo pkg install xterm xauth" was enough for me).
Hopefully this will help someone out there.