[Nut-upsuser] Shutdowns occuring without power outage.

Daryl Sayers daryl at ci.com.au
Wed Jan 6 02:17:23 UTC 2010


I am running an older version of nut (2.0.2) on a FreeBSD 4.11 machine. This
has been running fine for many months until the last few weeks. It seems that
several times a week the machine is shutting itself down. Looking at the log
files I notice these lines which lead me to think there is something wrong
with the serial communication betwen my host and the Ellipse 600 UPS. 

Jan  5 04:49:02 bng-sb-clk upsmon[207]: Poll UPS [clkups at localhost] failed - Data stale
Jan  5 04:49:37 bng-sb-clk last message repeated 7 times
Jan  5 04:50:52 bng-sb-clk last message repeated 15 times
Jan  5 04:50:52 bng-sb-clk upsd[202]: UPS [clkups] data is no longer stale
Jan  5 04:51:13 bng-sb-clk upsd[202]: Data for UPS [clkups] is stale - check driver
Jan  5 04:51:17 bng-sb-clk upsmon[207]: Poll UPS [clkups at localhost] failed - Data stale
Jan  5 04:51:32 bng-sb-clk last message repeated 3 times
Jan  5 04:51:32 bng-sb-clk upsmon[207]: Executing automatic power-fail shutdown
Jan  5 04:51:33 bng-sb-clk shutdown: halt by root: 
Jan  5 04:51:36 bng-sb-clk clock: X98nut running now
Jan  5 04:51:36 bng-sb-clk clock: Checking POWERDOWN log file
Jan  5 04:51:36 bng-sb-clk clock: Shutdown due to Power outage

Breaking the problem into 2:

1. Why are there so many failed - Data stale errors. Whenever I manually do a
   'upsc' I always receive a valid response.

2. How can I control what warnings trigger a shutdown. Can I disable the
   shutdown on a stale data error. I am aware of the side effects but a
   running system is still better than an incorrect cleanly shutdown system.

-- 
Daryl Sayers                             Direct: +612 95525510
Corinthian Engineering                   Office: +612 95525500
Suite 54, Jones Bay Wharf                   Fax: +612 95525549
26-32 Pirrama Rd                          email: daryl at ci.com.au
Pyrmont NSW 2009 Australia                  www: http://www.ci.com.au



More information about the Nut-upsuser mailing list