[Nut-upsuser] [Bug 535583] Excessive logging by apcsmart program

Arnaud Quette aquette.dev at gmail.com
Tue Feb 15 13:16:58 UTC 2011

2011/2/15 Lupe Christoph

> On Monday, 2011-02-14 at 21:54:20 -0000, Arnaud Quette wrote:
> > I definitely need more info!
> > please reply to ALL:
> > - what is the exact model and date of manufacturing?
> SmartUPS 300I NET. I have the serial number (GS9809283199) but no date.

 it seems to be a recent model.

> - are you sure this unit is ok?
> You can't prove the absence of faults.

this was related to the following question...

> > - have you really checked the cabling or made the whole (cable + UPS)
> work
> > somehow (using APC's software or apcupsd)?
> Well, as I said this is working OK for days or weeks. Then something
> happens that triggers a bug in apcsmart.

 quickly reading back the thread, I can't find these info...

> - what is the meantime between occurrences of these issues?
> I don;t have enough data. It's in the range of weeks or months.

as per your previous posts, this seemed more to be a matter of minutes /

> - is the device reachable (using upsc for example) between issues?
> Sure, everything works fine.
> > A driver debug output is really needed!
> I'm running it again, but no promises. Reboots are much more frequent
> than this misbehaviour.
> > Note that I'm not the developer of this driver, nor have any acquaintance
> > with APC.
> Same here. Though I will probably try to locate this bug if we don;t
> make progress with the debugging output, either because it does not tell
> us enough or because I don't manage to capture it.
> I would have thought finding the place in the code where it is trying to
> reset the UPS connection wouldn't be this hard.

this is not the problem. This code is in the smartmode() function of

we see the 5 attempts to go to smart mode ('Y' command), but my aim is to
understand why it is failing, and how to cleanly solve this without
impacting support for other units.

Some more questions:
- how are you handling the device's permissions?
Refer to § II, section 3:

Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
Conseiller Municipal - Saint Bernard du Touvet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110215/8ff5917d/attachment.htm>

More information about the Nut-upsuser mailing list