[Nut-upsuser] New UPS Support: Eaton 5S 1000

Ken Marsh ken.marsh at sparkpost.com
Tue May 3 17:46:42 UTC 2016

Oops... changing that to --with-user=nut solved one problem. I have the
driver, upsd and upsmon running now. Thank you!

Now I'm back to another issue, every 2 seconds I get in the logs:

May  3 13:45:23 myhost upsd[2587]: Connected to UPS [eaton]:

It seems happy to do this forever.

On Tue, May 3, 2016 at 8:17 AM, Charles Lepple <clepple at gmail.com> wrote:

> On May 2, 2016, at 10:40 AM, Ken Marsh <ken.marsh at sparkpost.com> wrote:
> >
> > I just did strace. EINPROGRESS seems to be part of some socket connect
> code either doing with ldap or DNS. I have no idea why it is doing this as
> the upsmon process user "nut" is local, nsswitch.conf has files before
> ldap, and the UPS is on USB and in standalone mode. Maybe just boilerplate
> library initialization?
> I'm not sure either, but you could compare it with strace output from
> "getent passwd nut".
> >
> > The nscd is not running. Kernel is 3.11.0-13-generic so it's a "3"
> kernel.
> >
> > The getpwnam is for (ups) not sure if that's a variable or string
> literal. If it's a literal, I have nothing named "ups" in the setup, the
> UPS is [eaton] and the user within NUT is monuser.
> >
> It is the literal from "./configure --with-user=ups..."
> Although it can be overridden with the "-u" flag, I am not sure if that
> would help. (We sometimes recommend "-u root" for debugging permission
> issues with the driver, but then the driver might create a socket that upsd
> can't read without a similar "-u root".)
> --
> Charles Lepple
> clepple at gmail


*KEN MARSH Sr. DevOps Engineer www.sparkpost.com <http://www.sparkpost.com>
tel 410-872-4910 x249 mobile 443-857-3262 email ken.marsh at sparkpost.com
<ken.marsh at sparkpost.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20160503/74d001a1/attachment.html>

More information about the Nut-upsuser mailing list