Koozali.org: home of the SME Server

NUT Problem SME 7.2 with APC SMART UPS 750

Offline dany_it

  • *
  • 15
  • +0/-0
NUT Problem SME 7.2 with APC SMART UPS 750
« on: November 27, 2007, 03:50:36 PM »
I've have a problem with a APC SMART-UPS 750.

I've tried to type
Code: [Select]

config setprop nut status enabled

But it seem to don't work:



Code: [Select]
upsc UPS@localhost
Error: Driver not connected

Nut configuration is:



Code: [Select]
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:


Code: [Select]
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...!

Offline thomasch

  • *
  • 232
  • +0/-0
Re: NUT Problem SME 7.2 with APC SMART UPS 750
« Reply #1 on: November 28, 2007, 09:03:16 AM »
I've have a problem with a APC SMART-UPS 750.

I've tried to type
Code: [Select]

config setprop nut status enabled

But it seem to don't work:

signal-event post-upgrade
signal-event reboot

or without rebooting:

expand-template /etc/sysconfig/ups
expand-template /etc/ups/*
service nut start


« Last Edit: November 28, 2007, 09:05:14 AM by thomasch »

Offline dany_it

  • *
  • 15
  • +0/-0
Re: NUT Problem SME 7.2 with APC SMART UPS 750
« Reply #2 on: November 28, 2007, 01:09:45 PM »
Yes,  I know that is necessary signal-event post-upgrade; signal-event reboot, and I have do it.

I think the problem is the driver "usbhid-ups" that doesn't work with my Ups, eventought the previoos "newhidups" works fine...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: NUT Problem SME 7.2 with APC SMART UPS 750
« Reply #3 on: November 28, 2007, 01:57:34 PM »
Per Daniele.. scrivi ANCHE sul forum in italiano

Code: [Select]
[root@fileserver ~]# config show nut
nut=service
    MasterPass=mymasterpass
    Model=usbhid-ups
    SlavePass=myslavepass
    status=enabled

Code: [Select]
[root@fileserver ~]# grep 'American' /var/log/messages*
.....
May  1 21:44:45 fileserver upsdrvctl: Detected a UPS: American Power Conversion/Smart-UPS 750 FW:651.12.I USB FW:4.2
.....

check your cable

HTH
Ciao

Stefano

Offline dany_it

  • *
  • 15
  • +0/-0
Re: NUT Problem SME 7.2 with APC SMART UPS 750
« Reply #4 on: November 29, 2007, 02:48:26 PM »
Grazie Stefano...

Code: [Select]
grep 'American' /var/log/messages*
...
Nov 29 14:31:34 svrlinux kernel: hiddev96: USB HID v1.10 Device [American Power Conversion Smart-UPS 750 FW:651.13.I USB FW:7.3] on usb-0000:00:1d.3-1
...

The cable is OK... What's the problem?