Date: Mon, 25 Dec 2000 20:49:38 -0600
From: "Robert C. Paulsen Jr."
Message-ID: <20001225204938.A973@home.paulsen.org>
Subject: smartups -- fix for problem
I just installed the smartups package (for monitoring a UPS) and
ran into three problems, two of which I was able to fix:
1. /sbin/init.d/ups does not start the service. This is because
the script neglects to source the file "/etc/rc.config". Thus,
even though START_SMARTUPS="yes" is properly set, the script
does not see it so it does not start the service.
To fix this, simply add the following line near the top of
the script:
. /etc/rc.config
2. My UPS (CyberPower model 320SL) is not listed as one of the
supported models.
The fix: select the following model
genericups, type 4 = Centralion CL Series (RUPS cable)
(Set this in the file /etc/rc.config.d/smartups.rc.config.)
3. Although the system shuts down nicely when the UPS battery gets
low, there doesn't seem to be any way of sending the unit its
power-off signal -- Linux has already shut down!
I have no solution for this yet. It may seem like this is a
"chicken and egg" problem, but I think there must be a way of
getting to a certain point in the shutdown process, remounting
the root file system read only and then sending a power-down
signal to the UPS. Perhaps there is a simpler way?
I don't fully understand the master/slave setup that smartups
uses so perhaps the solution lies in that area.
--
____________________________________________________________________
Robert Paulsen paulsen@texas.net