Comments (15)
I have the same problem, nut won't start anymore. My log looks almost exactly the same, the problem seems to be:
Error loading shared library libnetsnmp.so.35: No such file or directory (needed by /usr/lib/nut/snmp-ups)
Thomas
from addon-nut.
If you can please test the latest version on the Edge repo (as I have added the missing libraries). I have some concerns if SNMPv3 may or may not work.
from addon-nut.
I will need instructions on how to load/install an alternative version of the addon.
from addon-nut.
Add the repo (Supervisor/Add-on Store) three dots, repositories
Paste in https://github.com/hassio-addons/repository-edge
You should then be able to install from the edge repo (scroll down to see the addons in the list). Please note any sensors in HA itself may or may not work based on how they are configured.
from addon-nut.
Well the addon started, but the sensors were not working, so I deleted the integration and tried to add it back but it is unable to connect. Is the addon hostname still a0d7b954-nut
when running from "Edge" repo? It's been awhile since I configured this, maybe something else I'm missing?
from addon-nut.
The sensors not being recognised is expected (the addon has a different internal docker name). Can you post the startup log so I can validate, then I will push an update.
from addon-nut.
Just to add, if you really want to validate the name should be 40817795-nut
from addon-nut.
Successful startup (or at least it doesn't terminate):
[18:55:47] INFO: Configuring user: nutuser
[18:55:48] DEBUG: Password SHA1: xxxxx
[18:55:48] DEBUG: Requested API resource: https://api.pwnedpasswords.com/range/52817
[18:55:48] DEBUG: API HTTP Response code: 200
[18:55:48] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[18:55:48] INFO: Configuring Device named apcups...
[18:55:48] INFO: Starting the UPS drivers...
Network UPS Tools - UPS driver controller 2.7.4
0.000000 Starting UPS: apcups
Network UPS Tools - Generic SNMP UPS driver 0.97 (2.7.4)
Created directory: /var/lib/net-snmp
Created directory: /var/lib/net-snmp/mib_indexes
No matching MIB found for sysOID '.1.3.6.1.4.1.318.1.3.27'!
Please report it to NUT developers, with an 'upsc' output for your device.
Going back to the classic MIB detection method.
Detected Smart-UPS 1500 on host apc01.local (mib: apcc 1.2)
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.3.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.3.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.3.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.4.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.4.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.4.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.6.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.6.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.6.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.7.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.7.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.7.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.8.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.8.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.8.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.2.1.4.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.2.2.7.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.2.3.5.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.2.2.9.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.2.3.6.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.2.2.5.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.2.2.6.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.2.1.4.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.3.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.3.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.3.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.4.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.4.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.4.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.5.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.5.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.5.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.7.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.7.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.7.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.8.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.8.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.8.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.9.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.9.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.9.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.10.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.10.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.10.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.11.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.11.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.11.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.12.1.1.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.12.1.1.2
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.3.3.1.12.1.1.3
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.2.1.1.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.10.1.2.2.1.3.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.10.1.2.2.1.4.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.2.1.2.0
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.10.1.2.2.1.6.1
[apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.10.1.2.2.1.7.1
[cont-init.d] nut.sh: exited 0.
[cont-init.d] nutclient.sh: executing...
[cont-init.d] nutclient.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:55:52] INFO: Starting the UPS information server...
Network UPS Tools upsd 2.7.4
0.000000 fopen /var/run/nut/upsd.pid: No such file or directory
0.000321 listening on 0.0.0.0 port 3493
0.000596 Connected to UPS [apcups]: snmp-ups-apcups
0.001241 /etc/nut/upsd.users is world readable
[18:55:52] INFO: Starting the UPS monitor and shutdown controller...
Network UPS Tools upsmon 2.7.4
0.000000 fopen /var/run/upsmon.pid: No such file or directory
0.000157 Using power down flag file /etc/killpower
0.000315 UPS: apcups@localhost (master) (power value 1)
0.000372 debug level is '1'
0.000376 Warning: running as one big root process by request (upsmon -p)
0.000538 Trying to connect to UPS [apcups@localhost]
0.007873 User [email protected] logged into UPS [apcups]
0.001040 Logged into UPS apcups@localhost
from addon-nut.
Did you receive the same messages previously from the SNMP mib i.e. [apcups] unhandled ASN 0x81 received from .1.3.6.1.4.1.318.1.1.1.9.2.3.1.3.1.1.1
?
from addon-nut.
I do not recall if that message was there before. As far as I can tell I have the sensors I expect.
from addon-nut.
Thanks, I will push the release.
from addon-nut.
Should be fixed with v0.3.1
from addon-nut.
Thanks for the help @kkellner 👍
from addon-nut.
Switched from Edge to v3.1. Working fine. Thanks for the fast fix!
from addon-nut.
Fixed with 0.3.1! thanks a lot!!!
from addon-nut.
Related Issues (20)
- The HOST is rebooted after the add-on is launched HOT 12
- NUT fails to start using SNMP. HOT 8
- Only one BX1500M is seen HOT 18
- Missing MIB HOT 4
- NUT not starting (No such file or directory)
- Fails with 2 UPSes HOT 11
- UPS monitoring fails randomly with "Poll UPS [myups@localhost] failed - Data stale" HOT 2
- Manufacturer details missing HOT 1
- Manufacturer details missing HOT 1
- Option 'pollonly' does not exist HOT 4
- NUT fails to start: Can't claim USB device: Other error / Driver failed to start HOT 21
- Server not listening on port 3943 HOT 1
- Two identical Cyberpower UPS's HOT 3
- Data stale error HOT 2
- Unstable experience with APC UPs HOT 5
- driver: snmp-ups - 2 devices - no data for second device HOT 2
- Wrong Output Voltage value HOT 4
- Addon Fails to Start: /etc/cont-init.d/nut.sh exited 1 HOT 3
- No password prompt on password change in integration / password logged in plaintext "log_mode: trace"? HOT 1
- UPS load information not available with NUT addon HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-nut.