Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bclayton on June 01, 2010, 05:25:58 PM
-
I searched but did not find an answer to this one. I have changed my UPS from serial to USB APC unit.
My current nut settings:
Device=/dev/ttyS0
Model=apcsmart
status=enabled
I know that I must change the Model to usbhid-ups, but how do I change my Device setting to recognize the USB connection?
--Thanks.
-
You don't need to set a Device for a USB connection
config delprop nut Device
-
Thanks for your help. That took care of the Device issue. However, I am still not able to connect to the UPS. Here is the message and my nut settings:
Jun 1 11:18:45 mailserver upsmon[5125]: Poll UPS [UPS@localhost] failed - Driver not connected
[root@mailserver ~]# config show nut
nut=service
MasterPass=152689558078186
Model=usbhid-ups
SlavePass= 70672568294941
status=enabled
I am running 7.5 and my APC is Back-UPS ES 550
Does everything look right?
Thanks!
-
Have you done a
signal-event post-upgrade; signal-event reboot
or alternatively
expand-template /etc/sysconfig/ups
expand-template /etc/ups/ups.conf
expand-template /etc/ups/upssched.conf
expand-template /etc/ups/upsmon.conf
expand-template /etc/ups/upsd.users
expand-template /etc/ups/upsd.conf
/etc/rc7.d/S38nut start
Then try
upsc UPS@localhost
to see if the UPS is communicating.
Please also read the wiki http://wiki.contribs.org/Uninterruptable_Power_Supply (http://wiki.contribs.org/Uninterruptable_Power_Supply) if you haven't already
-
Thanks again. I did execute the post-upgrade and reboot.
Here is the result of the upsc command:
[root@mailserver ~]# upsc USP@localhost
Error: Unknown UPS
Thanks also for the reference. I have read that a few times but perhaps I have overlooked something. Any help appreciated.
-
Just realized that I had a typo in last command. Here are corrected results:
[root@mailserver ~]# upsc UPS@localhost
Error: Driver not connected
Same error that I get in my log files via server-manager.
Thanks.
-
Have you had a look/read at:
http://wiki.contribs.org/Uninterruptable_Power_Supply
?
-
Actually, I read that document before my first post but didn't see a solution there. I now suspect that something has changed in a file or template. The nut status is now disabled and the Device prop deleted, but the messages log file shows references to the serial device upon reboot and the system is still polling the ups even though the status is disabled.
-
bclayton
As well as reading the article you need to do what it says.
config setprop nut status enabled
signal-event post-upgrade
signal-event reboot
After doing the above commands, please show us the output of
config show nut
Also have you checked that your UPS is supported,
as it says in the article
"Find the configuration details for your model of UPS.
Refer to:
http://www.networkupstools.org/compat/stable.html
and make note of the driver name and upstype number (if any) in the third column."
I looked and your model does not appear to be listed (APC Back-UPS ES 550)
Did an advanced search on the forums and found this post which seems to imply that UPS will work OK.
http://forums.contribs.org/index.php/topic,43343.msg206506.html#msg206506
-
Mary,
Thanks so much for your help. I did check the compatibility chart and thought I found my unit listed:
APC Back-UPS ES/CyberFort 350 USB
and am grateful for your advance search and confirmation. I will try again and post my results.