<div dir="ltr">Oops... changing that to --with-user=nut solved one problem. I have the driver, upsd and upsmon running now. Thank you!<div><br></div><div>Now I'm back to another issue, every 2 seconds I get in the logs:</div><div><br></div><div>May  3 13:45:23 myhost upsd[2587]: Connected to UPS [eaton]: usbhid-ups-eaton<br></div><div><br></div><div>It seems happy to do this forever.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 3, 2016 at 8:17 AM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On May 2, 2016, at 10:40 AM, Ken Marsh <<a href="mailto:ken.marsh@sparkpost.com">ken.marsh@sparkpost.com</a>> wrote:<br>
><br>
> 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?<br>
<br>
</span>I'm not sure either, but you could compare it with strace output from "getent passwd nut".<br>
<span class=""><br>
><br>
> The nscd is not running. Kernel is 3.11.0-13-generic so it's a "3" kernel.<br>
><br>
> 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.<br>
><br>
<br>
</span>It is the literal from "./configure --with-user=ups..."<br>
<br>
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".)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Charles Lepple<br>
clepple@gmail<br>
<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







<p><span><b>KEN MARSH<br>
Sr. DevOps Engineer<br>
<a href="http://www.sparkpost.com" target="_blank">www.sparkpost.com</a><br>
<br>
tel 410-872-4910 x249<br>
mobile 443-857-3262<br>
email <a href="mailto:ken.marsh@sparkpost.com" target="_blank">ken.marsh@sparkpost.com</a></b></span></p></div></div>
</div>