[Nut-upsuser] Problem installing NUT on 16.04

Jack McGee jack at greendesk.net
Sat Dec 3 17:31:46 UTC 2016


On 12/03/2016 10:55 AM, Jack McGee wrote:
> On 12/03/2016 10:35 AM, Charles Lepple wrote:
>> On Dec 3, 2016, at 11:16 AM, Jack McGee <jack at greendesk.net> wrote:
>>> Dec  3 08:38:16 amethi upsd[18234]: not listening on ::1 port 3493
>>> Dec  3 08:38:16 amethi upsd[18234]: listening on 127.0.0.1 port 3493
>>> Dec  3 08:38:16 amethi upsd[18234]: no listening interface available
>> I can't say I fully understand the logic behind the IPv6 code, but 
>> the first line indicates a problem binding to the IPv6 localhost 
>> address. The "LISTEN 127.0.0.1 3493" line in upsd.conf is sufficient 
>> for local control and monitoring, and you can remove "LISTEN ::1 3493".
>
> OK, did that restarted services and:
>
> mythuser at amethi:/etc/nut$ upscmd -l CyberUPS1
> Instant commands supported on UPS [CyberUPS1]:
>
> beeper.disable - Disable the UPS beeper
> beeper.enable - Enable the UPS beeper
> beeper.mute - Temporarily mute the UPS beeper
> beeper.off - Obsolete (use beeper.disable or beeper.mute)
> beeper.on - Obsolete (use beeper.enable)
> load.off - Turn off the load immediately
> load.off.delay - Turn off the load with a delay (seconds)
> load.on - Turn on the load immediately
> load.on.delay - Turn on the load with a delay (seconds)
> shutdown.return - Turn off the load and return when power is back
> shutdown.stayoff - Turn off the load and remain off
> shutdown.stop - Stop a shutdown in progress
> test.battery.start.deep - Start a deep battery test
> test.battery.start.quick - Start a quick battery test
> test.battery.stop - Stop the battery test
>
> so this is progress. Thanks!  Anything else to check to know it is 
> working as it should?
>
> My next step will be to point NUT client on another machine to this 
> one. They are both plugged into this UPS. 

Maybe still a problem:

mythuser at amethi:/etc/nut$ sudo upsc CyberUPS1 at localhost ups.status
[sudo] password for mythuser:
Init SSL without certificate database
OL

But if I read this
https://askubuntu.com/questions/468632/nut-ups-and-ssl-certificates#565740
correctly, it is just a warning?
But shouldn't I see a status?





More information about the Nut-upsuser mailing list