-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to start nut-driver after upgrade to Fedora 37 #1712
Comments
That seems to have been raised just recently on the mailing list and fedora bug tracker, and boils down to wrong packaging (no rights to write into
Thanks to @svarshavchik for letting us know. |
FYI: After a bit more digging in current codebase, I can say that NUT unprivileged daemons (drivers and upsd) default to using the This can be seen by code lines preparing a And then it gets messy in same
These latter usages imply that I'll post a clean-up PR to clarify this in Also linking to #123 which creeps out to other big discussions on PID files :) Checking references to the methods mentioned above wit a focus on
|
Should have no "nut" subdir for STATEPATH and ALTPIDPATH Follow-up for networkupstools#1030, networkupstools#1037, networkupstools#1117 May be related to networkupstools#1712
…ut" ambiguity in favor of "@ALTPIDPATH@" (and explicitly ensure "@PIDPATH@" where applicable) [networkupstools#1712]
…@PIDPATH@/nut ambiguity) [networkupstools#1712]
…(.in) to install a *.conf pattern [networkupstools#1754] Follow-up for networkupstools#1030, networkupstools#1037, networkupstools#1117 May be related to networkupstools#1712
nut-driver.service as well as upsdrvctl is unable to start any of my snmp-ups devices individually or collectively.
These are the errors I'm seeing:
[root@xxxxx run]# upsdrvctl start nutdev7
Network UPS Tools - UPS driver controller 2.8.0
Network UPS Tools - Generic SNMP UPS driver 1.21 (2.8.0)
writepid: fopen /var/run/snmp-ups-nutdev7.pid: Permission denied
Detected Smart-UPS 2200 on host 10.100.2.49 (mib: apcc 1.6)
[nutdev7] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3)
[nutdev7] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1)
Fatal error: unable to create listener socket
bind /var/run/snmp-ups-nutdev7 failed: Permission denied
Exiting.
Driver failed to start (exit status=1)
[root@xxxxx run]#
Thanks in advance.
The text was updated successfully, but these errors were encountered: