| Summary: | APC UPS config fails in MCC - pop-up window informing about Write support for users is incomplete | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | christian barranco <chb0> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=24839 | ||
| Whiteboard: | |||
| Source RPM: | nut-server-1:2.7.4-6.mga8.x86_64 | CVE: | |
| Status comment: | |||
| Attachments: |
MCC UPS configuration start
MCC error pop-up window while configuring UPS journalctl output while trying to configure the UPS |
||
|
Description
christian barranco
2021-03-17 10:14:43 CET
Created attachment 12471 [details]
MCC UPS configuration start
First window after package installation to start configuring the UPS connected on an USB port (sorry for the french langage used here).
Created attachment 12472 [details]
MCC error pop-up window while configuring UPS
This pop-up window ends the configuration process via MCC
Created attachment 12473 [details]
journalctl output while trying to configure the UPS
Complete journalctl output while trying to configure the UPS
The device is a Back-UPS_ES_550G which was apparently found by the configurator as I never entered this information during the configuration.
I manually configured my apc ups years ago.
For nut-server configuration ...
# tail -n 3 /etc/ups/ups.conf
[nutdev1]
driver = "usbhid-ups"
port = /dev/auto
The above three lines were appended to the file. Pick any name you want where
I chose nutdev1.
# grep -v -e ^'#' -e ^$ upsd.conf
LISTEN 127.0.0.1 3493
Added the one line above.
# tail -n 7 upsd.users
[admin]
password = munged
actions = SET
instcmds = ALL
[upsmon]
password = munged
upsmon master
I appended the above 7 lines. Pick whatever password you'd like.
For nut (the client) configuration ...
In /etc/ups/upsmon.conf uncomment the line
RUN_AS_USER ups
uncomment one of the monitor lines and change it to ...
MONITOR nutdev1@localhost 1 upsmon munged master
Don't forget to change nutdev1 in the monitor line if you chose a different
name. Change localhost to the ipaddress within the lan of the system that
the ups is connected to, if running the client on another system.
Enable and start the services under systemd.
# systemctl|grep nut
nut-driver.service loaded active running Network UPS Tools - power device driver controller
nut-monitor.service loaded active running Network UPS Tools - power device monitor and shutdown controller
nut-server.service loaded active running Network UPS Tools - power devices information server
Yes mcc needs to be updated to handle usb connected aps systems.
Assigning to the Mageia tools group.CC:
(none) =>
davidwhodgins
papoteur
2023-12-07 09:22:08 CET
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=24839 |