March 9, 20233 yr Every 10 minutes the log is displaying "Tower apcupsd[2250]: Communications with UPS lost." I assume I need to disable apcupsd (I'm using the NUT plugin for network UPS instead), and I've already set: Settings > UPS Settings > Start APC UPS daemon: No, but the message keeps appearing. Is there another way to disable apcupsd, or is there another problem? Under status in UPS Settings it says "Lost communication" (my network UPS seems ok under NUT Settings.) Edited March 10, 20233 yr by shawn
May 28, 20233 yr Eventually found a proper solution! Disable apcupsd by resetting settings to Default (see above) Open the terminal and copy your current logrotate script for apcupsd to your boot flash drive: mkdir -p /boot/config/custom/ && cp /etc/logrotate.d/apcupsd /boot/config/custom/apcupsd Open the script you copied on your flash drive using an editor (e.g. nano /boot/config/custom/apcupsd) and remove the following lines: postrotate /etc/rc.d/rc.apcupsd restart 1>/dev/null || true endscript Mine looks like this after making the changes: /var/log/apcupsd.events { rotate 4 weekly notifempty missingok } Now make sure your /boot/config/go script will overwrite the logrotate.d config with the updated file on boot: echo "cp /boot/config/custom/apcupsd /etc/logrotate.d/apcupsd" >> /boot/config/go To test that it works and apply the changes now, copy the file and run the logrotate job: cp /boot/config/custom/apcupsd /etc/logrotate.d/apcupsd && /etc/cron.daily/logrotate Edited May 28, 20233 yr by Manchineel
June 7, 20233 yr Author Seems like a bit of work for getting UPS to work without errors. Can one of the developers patch this?
July 15, 20241 yr I had this same problem after trying to set up my CyberPower UPS; tried the built in APC UPS daemon, switched to NUT plugin, error message despite daemon being disabled. All I did was set the built in settings to default, and it seems to have stopped throwing error messages now.
September 25, 20241 yr I hate to raise the dead here, but I had this same issue after switching to NUT to control other network devices without spending $400 on an SNMP card to the UPS. I had "Start APC UPS daemon:" set to No, yet the service continued to run, which caused issues with my UPS, with both the build-in UPS daemon running alongside NUT. In case anyone else is an unpaid noob, clicking the "Default" button under UPS Settings resets all the settings and stops the APC UPS daemon, and I haven't had any issues since.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.