Hi all, I’ve searched online for a solution to my issue with no luck...hoping 
someone here can help.


Connected a Cyberpower SX950U UPS to my Synology NAS.

Configured UPS on Synology NAS:

[cid:[email protected]]


Installed and configured NUT on Ubuntu 18.04.5 Server:
1.       Installed NUT: sudo apt-get install nut
2.       Modified /etc/nut/nut.conf with mode=netclient
3.       Added MONITOR [email protected] 1 USER PASS slave to 
/etc/nut/upsmon.conf

Receiving the following errors:

user@ubuntu:~$ sudo systemctl status nut-client.service
● nut-monitor.service - Network UPS Tools - power device monitor and shutdown 
controller
   Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Sun 2022-07-17 19:00:19 EDT; 2min 8s ago
  Process: 25805 ExecStart=/sbin/upsmon (code=exited, status=0/SUCCESS)
Main PID: 25839 (upsmon)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/nut-monitor.service
           ├─25835 /lib/nut/upsmon
           └─25839 /lib/nut/upsmon

Jul 17 19:00:18 ubuntu upsmon[25835]: Startup successful
Jul 17 19:00:18 ubuntu systemd[1]: Stopped Network UPS Tools - power device 
monitor and shutdown controller.
Jul 17 19:00:19 ubuntu upsmon[25805]: fopen /var/run/nut/upsmon.pid: No such 
file or directory
Jul 17 19:00:19 ubuntu upsmon[25805]: UPS: [email protected] (slave) (power 
value 1)
Jul 17 19:00:19 ubuntu upsmon[25805]: Using power down flag file /etc/killpower
Jul 17 19:00:18 ubuntu systemd[1]: Starting Network UPS Tools - power device 
monitor and shutdown controller...
Jul 17 19:00:19 ubuntu upsmon[25839]: Login on UPS [[email protected]] failed - 
got [ERR ACCESS-DENIED]
Jul 17 19:00:18 ubuntu systemd[1]: nut-monitor.service: Can't open PID file 
/var/run/nut/upsmon.pid (yet?) after start: No such file or directory
Jul 17 19:00:18 ubuntu systemd[1]: nut-monitor.service: Supervising process 
25839 which is not our child. We'll most likely not notice when it exits.
Jul 17 19:00:19 ubuntu systemd[1]: Started Network UPS Tools - power device 
monitor and shutdown controller.

Are USER and PASS what I use to log into my Synology NAS?

The fie /var/run/nut/upsmon.pid only contains a single line. Is this correct? 
Why does the monitor service report No such file or directory?

user@ubuntu:~$ cat /var/run/nut/upsmon.pid
25839

Sincerely appreciate anyone’s input. Thanks!
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to