Installing APC software onto my Trixbox

Marsoft
Posts: 73
Member Since:
2007-07-27

Hi Guys,

I have a UPS system that my trixbox can see via the network (as the ups has a network interface management card).

The install instructions are available here from the APC site...

http://tinyurl.com/327nq9

I cannot seem to get this to install properly. Has anyone tried to install something like this on there box? I have managed to run both files but not much as installed from looking in the /opt/ directory...

[root@asterisk1 ~]# chmod a+x /root/pbe_agent_linux_jvm.bin
[root@asterisk1 ~]# rpm -i /root/pbeagent-xxx.i386.rpm

Any ideas?

Thanks



Marsoft
Posts: 73
Member Since:
2007-07-27
Well i shall reply to my own

Well i shall reply to my own message. In the end i couldnt get the apc software to install because it requires a GUI to run. So i went and downloaded and configured this peice of software instead...

http://www.apcupsd.com/

This is what i did...

1) Logon to the trixbox machine as root.

2) Run the following command to install some required files...

yum install compat-libstdc++-33

3) Go to http://www.apcupsd.com/ and get the URL for the RPM package for EL3.
I think this is right, however the redhat one may work. Find a direct download
for the rpm package by trying to download the file and getting the link.

Eg. http://surfnet.dl.sourceforge.net/sourceforge/apcupsd/apcupsd-3.1...

4) Now get the file by doing the following command...

WGET http://surfnet.dl.sourceforge.net/sourceforge/apcupsd/apcupsd-3.1...

5) Now mark the file as executable by doing the following...

chmod +x apcupsd-3.14.1-1.el3.i386.rpm

6) Now install the package...

rpm -ivh apcupsd-3.14.1-1.el3.i386.rpm

7) Now edit the config file...

nano /etc/apcupsd/apcupsd.conf

8) Make sure the settings are set like...

UPSCABLE ether
UPSTYPE pcnet
DEVICE 192.168.0.9:apc:admin user phrase

9) Start the service by running the following...

/etc/rc.d/init.d/apcupsd start

10) Check the service is online with the following...

/etc/rc.d/init.d/apcupsd status



apple01
Posts: 145
Member Since:
2007-05-17
missing dependencies

I'm following your instructions and trying install latest apcupsd-3.14.3-1.el3.i386.rpm

It says that libnetsnmp.so.5 is needed. Any idea where can I get it?

Thanks!



ja133
Posts: 1881
Member Since:
2006-11-26
same here anyone know what

same here
anyone know what to do?

--


New & Improved Site: trixbox Maintenance Guides



apple01
Posts: 145
Member Since:
2007-05-17
I installed successfully from the source

here is how I did it (see my message on that post):
http://www.trixbox.org/forums/trixbox-forums/help/power-failure-r...



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.