|
Hello. I am having troubles with using nut on my new
system (Ubuntu 1.4 on kernel 4.9 chroot'ed on Android). I have
this working on an earlier system (Ubuntu 1.4 on kernel 3.x also
chroot'ed on Android). My UPS is a Belkin with USB interface. As a
newbie, I have no idea what is wrong here. I have supplied all the
info I can get my hands on right now below. Thanks for any help/tips you can supply. 1. sudo upsdrvctl start yields: Network UPS Tools - UPS driver controller 2.7.12. upsc belkinusb (or uspc belkinusb@localhost) yields: Error: Connection failure: Connection refused3. nut-report yields: NUT configuration 2021-01-22 22:12:37 UTC ########### Operating system ########### 4.9.113 GNU/Linux NAME="Ubuntu" PRETTY_NAME="Ubuntu 14.04 LTS" ########### /etc/nut/nut.conf ########### MODE=standalone ########### /etc/nut/ups.conf ########### maxretry = 3 [belkinusb] driver = blazer_usb port = auto desc = "Belkin UPS, USB interface" ########### /etc/nut/upsd.conf ########### MAXAGE 15 LISTEN 127.0.0.1 3493 MAXCONN 1024 ########### /etc/nut/upsd.users ########### [local_mon] password = ********* upsmon master instcmds = ALL actions = SET ########### /etc/nut/upsmon.conf ########### MONITOR belkinusb@localhost 1 local_mon ********* master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD sh /home/android/nutShutdown.sh POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /etc/killpower NOTIFYMSG ONBATT "UPS %s on battery" NOTIFYFLAG ONBATT WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 ########### /etc/nut/upssched.conf ########### CMDSCRIPT /bin/upssched-cmd ########### <scriptname> ########### Cannot access <scriptname> ########### /etc/hosts.allow ########### ########### ps aux ########### ########### Ownership and permissions of executables ########### -rwxr-xr-x. 1 root root 43204 Dec 30 2013 /sbin/upsd* -rwxr-xr-x. 1 root root 18224 Dec 30 2013 /sbin/upsdrvctl* -rwxr-xr-x. 1 root root 30852 Dec 30 2013 /sbin/upsmon* -rwxr-xr-x. 1 root root 22340 Dec 30 2013 /sbin/upssched* -rwxr-xr-x. 1 root root 100064 Apr 11 2014 /sbin/upstart-dbus-bridge* -rwxr-xr-x. 1 root root 95824 Apr 11 2014 /sbin/upstart-event-bridge* -rwxr-xr-x. 1 root root 108140 Apr 11 2014 /sbin/upstart-file-bridge* -rwxr-xr-x. 1 root root 104100 Apr 11 2014 /sbin/upstart-local-bridge* -rwxr-xr-x. 1 root root 99924 Apr 11 2014 /sbin/upstart-socket-bridge* -rwxr-xr-x. 1 root root 58980 Apr 11 2014 /sbin/upstart-udev-bridge* ########### Ownership and permissions of configuration files ########### -rwxrwxrwx. 1 root nut 1544 Jan 21 11:52 /etc/nut/nut.conf* -rwxrwxrwx. 1 root nut 4653 Jan 21 18:29 /etc/nut/ups.conf* -rwxrwxrwx. 1 root nut 4572 Jan 21 11:52 /etc/nut/upsd.conf* -rwxrwxrwx. 1 root nut 2206 Jan 21 11:52 /etc/nut/upsd.users* -rwxrwxrwx. 1 root nut 15274 Jan 21 12:23 /etc/nut/upsmon.conf* -rwxrwxrwx. 1 root nut 3887 Jan 21 11:52 /etc/nut/upssched.conf* ########### nut-journal ########### root@localhost:/storage/emulated/0# 4. lsusb shows the UPS on Bus 001, Device 003 (cypress USB to Serial) Bus 002 Device 002: ID 05e3:0612 Genesys Logic, Inc. |
_______________________________________________ Nut-upsuser mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
