Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
NUT Plugin not properly working
« previous
next »
Print
Pages: [
1
]
Author
Topic: NUT Plugin not properly working (Read 3273 times)
h.bork
Newbie
Posts: 2
Karma: 0
NUT Plugin not properly working
«
on:
August 10, 2019, 06:17:06 pm »
After installing the nut-plugin I encountered some serious problems. I finally found out that the ups.conf file contains a duplicate entry:
[CS350]
driver=usbhid-ups
port=auto
[CS350]
driver=apcsmart
port=auto
During startup the system complains about this duplicate entry and tries to use the apcsmart driver which does not work, so nut_daemon does not run.
If I delete the second half of the ups.conf file and restart net_upsmon everything runs fine.
But ... after a reboot the ups.conf contains the duplicate entry again and the ups connection fails.
Does anybody know where this duplcate entries are saved besides ups.conf ? It must be somehow restored during boot and I don't know how to get rid of it. I tried every alternative uninstalling and reinstalling the plugin but no success.
Can anybody help ?
Thank you.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: NUT Plugin not properly working
«
Reply #1 on:
August 10, 2019, 06:47:02 pm »
You enabled both drivers in the UI, just disable apcsmart
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
h.bork
Newbie
Posts: 2
Karma: 0
Re: NUT Plugin not properly working
«
Reply #2 on:
August 10, 2019, 07:28:55 pm »
Thank you, that solved it.
I was not aware that it is possible to enable more than one driver.
Does that make sense ? If not, it should be prevented in the UI.
Logged
Tripple_Delta
Jr. Member
Posts: 91
Karma: 3
Re: NUT Plugin not properly working
«
Reply #3 on:
August 16, 2019, 05:50:46 pm »
Didn’t know about the double driver. Anyway, I still keep seeing a blank page, no diagnostics. Browser seems to hang too.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: NUT Plugin not properly working
«
Reply #4 on:
August 16, 2019, 08:15:10 pm »
Then your driver doesnt work with the UPS. Nut Tools are badly maintained (software, not plugin)
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Tripple_Delta
Jr. Member
Posts: 91
Karma: 3
Re: NUT Plugin not properly working
«
Reply #5 on:
August 18, 2019, 07:21:33 pm »
It's a APC Smart-UPS 1500.
The funny part is that I recently changed my hardware. Did a complete new install from scratch and imported my config. Before I could see the UPS status but I'm not sure I was using NUT.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: NUT Plugin not properly working
«
Reply #6 on:
August 18, 2019, 08:25:40 pm »
Did you try the usbhid driver? Unplug and plug cable again? Reboot?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
NUT Plugin not properly working