Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: dany_it on November 27, 2007, 03:50:36 PM

Title: NUT Problem SME 7.2 with APC SMART UPS 750
Post by: dany_it 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...!
Title: Re: NUT Problem SME 7.2 with APC SMART UPS 750
Post by: thomasch 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


Title: Re: NUT Problem SME 7.2 with APC SMART UPS 750
Post by: dany_it 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...
Title: Re: NUT Problem SME 7.2 with APC SMART UPS 750
Post by: Stefano 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
Title: Re: NUT Problem SME 7.2 with APC SMART UPS 750
Post by: dany_it 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?