OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: vikozo on April 27, 2019, 08:08:00 AM

Title: Nut for APC Pro 900 (option for a new PowerValue11RT 1kVA )
Post by: vikozo on April 27, 2019, 08:08:00 AM
Hello

i did install
os-nut (installed)   1.4

went to service --> Nut

give a Name "APC UPS Pro 900"
mode is standalone

select the UPS Type
APCSMART driver

Log is recognised the APC,
Apr 27 06:44:53   
kernel: ugen0.2: <American Power Conversion Back-UPS RS 900G FW879.L4 .I USB FWL4> at usbus0

Enable the APCSMART driver
Enable the nut service

but
nut_daemon   Network UPS Tools
nut_upsmon   Network UPS Monitor
both not running

root: /usr/local/etc/rc.d/nut_upsmon: WARNING: failed to start nut_upsmon

root: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut

have a nice day
vinc

OPNsense 19.1.6-amd64
FreeBSD 11.2-RELEASE-p9-HBSD
LibreSSL 2.8.3
Title: Re: Nut for APC Pro 900
Post by: mimugmail on April 27, 2019, 08:28:06 AM
Remove space in name
Title: Re: Nut for APC Pro 900
Post by: vikozo on April 27, 2019, 09:34:25 PM
@mimugmail -  this helps a bit but still ....

nut_daemon   Network UPS Tools

Apr 27 21:26:39   root: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut

i tryed also to change

port=usbus0
port=auto

have a nice day
vinc
Title: Re: Nut for APC Pro 900
Post by: mimugmail on April 28, 2019, 12:00:41 PM
Tried usbhid driver?
Title: Re: Nut for APC Pro 900
Post by: vikozo on April 29, 2019, 11:24:03 PM
yes i did  but nothing same error

and it is fine recognised a apc is connected

kernel: ugen0.2: <American Power Conversion Back-UPS RS 900G FW879.L4 .I USB FWL4> at usbus0

i also find out it is possible to activate more then a driver in the same time, but i did check it only one dirver was checked.

have a nice day
vinc
Title: Re: Nut for APC Pro 900
Post by: vikozo on May 07, 2019, 09:06:27 PM
i still got a error with nut

upsmon[31295]: UPS [APC_UPS-Pro-900]: connect failed: Connection failure: Operation timed out
Title: Re: Nut for APC Pro 900
Post by: vikozo on May 09, 2019, 07:37:27 AM
@mimugmail
any thing else i could do to help to solve this problem?
have a nice day
vinc
Title: Re: Nut for APC Pro 900
Post by: mimugmail on May 09, 2019, 07:42:00 AM
Have you tried plugging usb cable out and in again? Also reboot?
Title: Re: Nut for APC Pro 900
Post by: vikozo on May 09, 2019, 09:40:47 AM
yes i did - and get the feedback to have lost connection and found device again.
But then

nut_daemon   Network UPS Tools

  root: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Title: Re: Nut for APC Pro 900
Post by: vikozo on May 14, 2019, 09:36:02 AM
because it is not working i have removed  the USB Port to APC 900 Pro and also deinstalled from the GUI NUT.
This 2 days ago but still i got two Informtion in the

System Log

May 14 09:27:00   upsmon[42091]: UPS APC_UPS-Pro-900 is unavailable

May 14 09:27:00   upsmon[42091]: UPS [APC_UPS-Pro-900]: connect failed: Connection failure: Operation timed out

so maybe there is something not ok, i also have rebootet the firewall still the information is there
Title: Re: Nut for APC Pro 900
Post by: mimugmail on May 14, 2019, 11:25:04 AM
pkg remove nut
Title: Re: Nut for APC Pro 900
Post by: vikozo on May 14, 2019, 01:29:53 PM
root@FW-03:~ # pkg remove nut
No packages matched for pattern 'nut'

Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
Title: Re: Nut for APC Pro 900
Post by: vikozo on May 23, 2019, 10:58:08 AM
@mimugmail
i found out my APC 900 Pro brake  :(
the firmware, and there is no why to upgrade it.  :-\  >:(
I will have to find a new UPS hope a ABB PowerValue11RT 1 kVA will work too.

have a nice day
vinc