Hi
I'm hoping someone can help.
I'm running fc5 with nut 2.0.3. I just recently acquired 2 Gamatronic
SmartCompact ups for my Linux boxes. As you can see from the info below,
everything looks ok. When I unplug the ups from the wall, after a while, the
computer shutdowns very rudely. That it is just turns off. No scrolling down
of processes shutting down It does not seem shutdown cleanly. Any ideas as to
why this may be so?
Config files follow below.
Thanks
Eli
/etc/sysconfig contains
SERVER=yes
MODEL=fentonups
DEVICE=/dev/ttyS0
OPTIONS=""
UPSD_OPTIONS
/etc/up/ups.conf contains
[Gamatronic_SmartCompact]
driver = fentonups
port = /dev/ttyS0
desc = "Gamatronic SmartCompact
/etc/ups/upsd.users contains
[username]
password = password
allowfrom = localhost
upsmon master
/etc/ups/upsmon.conf
# RUN_AS_USER nutmon
MONITOR Gamatronic_SmartCompact@localhost 1 username password master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h now"
# NOTIFYCMD /usr/local/ups/bin/notifyme
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
# NOTIFYMSG ONLINE "UPS %s is getting line power"
# NOTIFYMSG ONBATT "Someone pulled the plug on %s"
# NOTIFYFLAG ONLINE SYSLOG
# NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 0
Running upsc Gamatronic_SmartCompact@localhost produces
battery.charge: 100.0
battery.voltage: 14.3
driver.name: fentonups
driver.version: 2.0.3
driver.version.internal: 1.22
input.frequency: 50.1
input.voltage: 234.0
output.voltage: 239.0
ups.load: 004
ups.mfr: GAMATRONIC
ups.model: Unknown C06GM0G
ups.status: OL
On 7/15/06, Eli Wapniarski <eli@orbsky.homelinux.org> wrote:> SERVER=yes > MODEL=fentonups > DEVICE=/dev/ttyS0 > OPTIONS="" > UPSD_OPTIONSUsing FC4, I vaguely remember following the instructions here: http://fedoranews.org/contributors/kazutoshi_morioka/nut/ and problems ensued if I did not use "MODEL=upsdrvctl" (even if there was only one UPS). Is upsmon running? -- - Charles Lepple
On 7/15/06, Eli Wapniarski <eli@orbsky.homelinux.org> wrote:> On Saturday, 15 ?July 2006 16:40, you wrote: > > On 7/15/06, Eli Wapniarski <eli@orbsky.homelinux.org> wrote: > > > SERVER=yes > > > MODEL=fentonups > > > DEVICE=/dev/ttyS0 > > > OPTIONS="" > > > UPSD_OPTIONS> > > > Using FC4, I vaguely remember following the instructions here: > > > > http://fedoranews.org/contributors/kazutoshi_morioka/nut/ > > > > Looks like the same instructions provided by the Nut websidte > > > and problems ensued if I did not use "MODEL=upsdrvctl" (even if there > > was only one UPS). > > Tried it. Same behavior. > > > Is upsmon running? > > Yep..Do the system logs from the power failure show anything out of the ordinary? This is from a successful shutdown last week: Jul 4 17:03:28 boxster upsmon[965]: UPS evo@localhost on battery Jul 4 17:40:14 boxster upsmon[965]: UPS evo@localhost battery is low Jul 4 17:40:14 boxster upsd[962]: Client monitor@127.0.0.1 set FSD on UPS [evo] Jul 4 17:40:14 boxster upsmon[965]: Executing automatic power-fail shutdown Jul 4 17:40:15 boxster upsmon[965]: Auto logout and shutdown proceeding Jul 4 17:40:20 boxster upsd[962]: Host 127.0.0.1 disconnected (read failure) Jul 4 17:40:23 boxster upsd[962]: Signal 15: exiting -- - Charles Lepple