<html><head></head><body><img width="1" height="1" src="https://edjjahe.r.af.d.sendibt2.com/tr/op/NEGul6O3ZMlH3Xqlejz_FwPOoZyQ0nH1QRs0ydxsS_JHDyVe1hkVHNyNJ-f5ibU-sffAV6N19ag6ZC2iNK7A9cm845ha0KinfqmAyiSGcbL13LBACk6MUjnNYO1C6bLQvtpZBSKzXAd4cTTSTmh80U5cWrrm4TIOfsYJ5ZV3ppEjI5OeooOB-4m3qpNX9fw3-wwy_1Qxgcvx5pLF7mnhrmJm_GlBsQXDQXpTARCpvmfzvzU" style="mso-hide:all"/><div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr">Hi,<div><br/></div><div>I had a stable NUT environment for quite a while until I had to change UPS and reinstalled my Proxmox environment.</div><div><br/></div><div>I had a backup of my /etc/nut directory and have only used it as reference. </div><div><br/></div><div>My UPS is a Powerwalker VI  2200 IEC/UK and that corresponded to <b>usbhid-ups</b>.</div><div><br/></div><div><b>nut-scanner -U</b> returns the following<br/><font face="monospace">Cannot load SNMP library (libnetsnmp.so.40) : file not found. SNMP search disabled.<br/>Cannot load XML library (libneon.so.27) : file not found. XML search disabled.<br/>Cannot load IPMI library (libfreeipmi.so.17) : file not found. IPMI search disabled.<br/>Scanning USB bus.<br/>[nutdev1]<br/>        driver = "nutdrv_qx"<br/>        port = "auto"<br/>        vendorid = "0665"<br/>        productid = "5161"<br/>        product = "USB to Serial"<br/>        serial = "20100826"<br/>        vendor = "INNO TECH"<br/>        bus = "001"<br/>        device = "003"<br/>        busport = "003"<br/>        ###NOTMATCHED-YET###bcdDevice = "0002"</font></div><div><br/></div><div>The three <i>Cannot load</i> errors are not present in my notes and I suspect they could be the root cause of successive errors.</div><div><br/></div><div>My <b>/etc/nut/ups.conf</b> is as follows:</div><div><br/></div><div># Wait 10 seconds for the driver to finish starting.<br/>maxstartdelay = 10<br/><br/># Try 3 times to start the driver, before giving up.<br/>maxretry = 3<br/><br/># Wait 5 seconds between attempts to start the driver.<br/>retrydelay = 5<br/><br/># Poll the ups every 5 seconds<br/>pollinterval = 5<br/><br/></div><div>[pve1]<br/>  # PowerWalker<br/>  driver = usbhid-ups<br/>  port = auto<br/>  desc = "Cypress Semiconductor USB to Serial"<br/>  vendorid = 0665<br/>  productid = 5161<br/>  # if the charge is less than 75 percent trigger a LB status<br/>  override.battery.charge.low = 75<br/>  # Some drivers reset battery.charge.low. lowbatt addresses this<br/>  lowbatt = 75<br/>  # if the remaining charge is less than 1200s (20 minutes) trigger a low battery status<br/>  override.battery.runtime.low = 1200<br/>  # Wait 10 minutes before attempting to restart the ups load after a power cut<br/>  ondelay = 600<br/>  # wait 5 minutes for ups to power off<br/>  override.ups.delay.shutdown = 300<br/>  # Could offdelay act as an override for override.ups.delay.shutdown?<br/>  offdelay = 300<br/>  serial = 20100826</div><div><br/></div><div><br/></div><div>When I execute 
<b>upsdrvctl start</b> I get the following repeated 3 times</div><div><font face="monospace">Network UPS Tools - UPS driver controller 2.8.1<br/>Network UPS Tools - Generic HID driver 0.52 (2.8.1)<br/>USB communication driver (libusb 1.0) 0.46<br/>libusb1: Could not open any HID devices: insufficient permissions on everything<br/>No matching HID UPS found<br/>upsnotify: notify about state 4 with libsystemd: was requested, but not running as a service unit now, will not spam more about it<br/>upsnotify: failed to notify about state 4: no notification tech defined, will not spam more about it<br/>Driver failed to start (exit status=1)</font></div><div><br/></div><div>Thanks,</div><div>Alan</div></div>
</div></div>
</body></html>