Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: tropicalview on August 18, 2007, 06:35:26 PM
-
Dear all,
I just configured the nuts exactly like in
http://wiki.contribs.org/NutUPS (http://wiki.contribs.org/NutUPS)
I have a APC Smart 1500
when i take a look at the systeminformation i see this:
USB Devices - American Power Conversion Back-UPS Pro 500/1000/1500
- Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
but in the console:
[code][root@studenten-srv ~]# config show nut
nut=service
Device=/dev/ttyS0
MasterPass=586951484295191
Model=apcsmart
SlavePass=443788280838891
Type=7
status=enabled
[root@studenten-srv ~]#
[root@studenten-srv ~]# /etc/rc7.d/S15nut start
Starting upsdrvctl:
Broadcast message from nut (Sat Aug 18 12:33:11 2007):
UPS UPS@localhost is unavailable
Network UPS Tools (version 2.0.5) - APC Smart protocol driver
Driver version 1.99.8, command table version 2.0
Unable to detect an APC Smart protocol UPS on port /dev/ttyS0
Check the cabling, port name or model name and try again
Network UPS Tools - UPS driver controller 2.0.5
Driver failed to start (exit status=1)
[FAILED]
Starting upsd: Network UPS Tools upsd 2.0.5
Can't bind TCP port number 3493: Address already in use
[FAILED]
Starting UPS monitor (master): [ OK ]
[root@studenten-srv ~]#
Broadcast message from nut (Sat Aug 18 12:33:44 2007):
Communications with UPS UPS@localhost lost
Broadcast message from nut (Sat Aug 18 12:33:49 2007):
UPS UPS@localhost is unavailable
[root@studenten-srv ~]#
Does anybody know what i'm doing wrong?
Kind regards[/code]
-
Dear all,
I just configured the nuts exactly like in
http://wiki.contribs.org/NutUPS (http://wiki.contribs.org/NutUPS)
There are a couple of options (USB and serial) in that article. If you followed every command in order then you didn't do it right. The first part of the article sets it up as a USB UPS (default settings) and the second part changes it to a serial USB.
Does anybody know what i'm doing wrong?
Kind regards
You misunderstood the instructions. The only thing you needed to do was "config setprop nut status enabled". USB devices should work by just enabling nut. That article needs to be clearer IMHO.
First you should remove your settings and revert back to the default settings as the defaults work with most APC USB UPS's. I have that EXACT UPS and it works fine.
config setprop nut Model newhidups
config delprop nut Device
config delprop nut Model
config delprop nut Type
signal-event post-upgrade
signal-event reboot
NOTE: Those 3 commands in the middle are delprop (as in delete property).
-
That was stupid ...... I HAVE TO READ THE INSTRUCTIONS>>>>>>
I'm very sorry about that.
Now it works fine thank you
-
Does anybody know how i can configure a client?
it asks for the UPS name and i do not know that name
I'm using winnutclient
Configuration file:
[Connection]
Server address=192.168.1.4
Port=3493
UPS name=
Delay=1000
[Colors]
Clocks Color=0x0000FFFF
Panel Color=0x00C0C0C0
What should i fill in in the ups name?
[root@studenten-srv ~]# upsc UPS@localhost
battery.charge: 81
battery.charge.low: 10
battery.charge.warning: 50
battery.mfr.date: 2005/02/28
battery.runtime: 540
battery.runtime.low: 120
battery.temperature: 35
battery.type: PbAc
battery.voltage: 27.3
battery.voltage.nominal: 24.0
driver.name: newhidups
driver.parameter.port: /var/lib/ups/hiddev0
driver.version: 2.0.5
driver.version.data: APC/CyberPower HID 0.9
driver.version.internal: 0.30
input.voltage: 121.6
output.voltage: 121.6
output.voltage.nominal: 120.0
ups.beeper.status: enabled
ups.delay.shutdown: -1
ups.firmware: 600.3.D
ups.firmware.aux: 1.5
ups.load: 58.5
ups.mfr: American Power Conversion
ups.mfr.date: 2005/02/28
ups.model: Smart-UPS 1000
ups.serial: AS0510110277
ups.status: OL CHRG
ups.test.result: No test initiated
[root@studenten-srv ~]#
-
Did you try?:
UPS@192.168.1.4
-
That was stupid ...... I HAVE TO READ THE INSTRUCTIONS>>>>>>
I'm very sorry about that.
Now it works fine thank you
No problem. I updated the article to clarify the difference between default and optional settings.
-
cool, it works. :-D :-D :-D
I tried big names like the driver name, and serial number and ups1 ups01
but indeed ups only works.
THanks
ps. what is your favorite program to shutdown windows clients in case on batery?
-
No problem. I updated the article to clarify the difference between default and optional settings.
Thanks for updating that, it is much clearer to me now. It would have saved me some time setting mine up:)
-
I've have a similar problem with a APC SMART-UPS 750.
I've tried to type
config setprop nut status enabled
But it seem to don't work:
upsc UPS@localhost
Error: Driver not connected
Nut configuration is:
config show nut
nut=service
MasterPass=914786031792523
Model=usbhid-ups
SlavePass=262189897836908
status=enabled
I've another Sme (version 7.0, not 7.2) with the same UPS and the configuration works fine, with the Model: newhidups
I've tried to change the Model with:
config setprop nut Model newhidups
but when I reconfigure and reboot the server it isn't saved and the configuration was the previuos.
Can you help me?
Thank you!
Bye,
Daniele.
PS: sorry for my bad english...!