Jun 23 12:07:06 srv-rhsoft upsdrvctl: Can't chdir to /var/run/nut: No such file or directory [root@srv-rhsoft:~]$ cat /etc/tmpfiles.d/nut-client.conf D /var/run/nut 0750 nut nut - you are aware that this only works after a reboot and that /var/run/ shoud have been replaced by /run/ years ago everywhere? _______________________________________________ port Required. This is the serial port where the UPS is connected. On a Linux system, the first serial port usually is /dev/ttyS0. On FreeBSD and similar systems, it probably will be /dev/cuaa0 what a nonsense - USB - find it youself idiotic tool at least that works with https://bugzilla.redhat.com/show_bug.cgi?id=998099
(In reply to Harald Reindl from comment #0) > Jun 23 12:07:06 srv-rhsoft upsdrvctl: Can't chdir to /var/run/nut: No such > file or directory > > [root@srv-rhsoft:~]$ cat /etc/tmpfiles.d/nut-client.conf > D /var/run/nut 0750 nut nut - > > you are aware that this only works after a reboot wrong, service file takes care of that: [Service] ExecStartPre=-/usr/bin/systemd-tmpfiles --create /etc/tmpfiles.d/nut-run.conf ExecStart=/usr/sbin/upsmon -F Type=simple you must have some other problem, how did you configure and start nut? > port > > Required. This is the serial port where the UPS is connected. On a Linux > system, the first serial port usually is /dev/ttyS0. On FreeBSD and similar > systems, it probably will be /dev/cuaa0 > > what a nonsense - USB - find it youself idiotic tool RTFM man usbhid-ups """The driver ignores the "port" value in ups.conf.""" For usb ups: [myups] driver = usbhid-ups port = auto
not wrong - nut-driver.service don't create the folder and in general tmpfiles is used to ensure they are created at boot, but typically rpm-scriptlets make sure anything is present right after install i did read the FM - "driver = usbhid-ups" said no device found, yes apcupsd was stopped at that time
I will need more data. 1) what ups do you have? 2) what is your configuration? 3) output of lsusb 4) what are permissions on your system? ls -lZ /dev/bus/usb/BUS_NUMBER_FROM_LSUSB/DEVICE_NUMBER_FROM_LSUSB 5) Do you have selinux enabled? If so, could you try it with selinux in permissive mode?
/var/run/nut creation fixed
nut-2.7.4-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1c864f40a5
nut-2.7.4-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0d2525e306
nut-2.7.4-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8f17c643d3
nut-2.7.4-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8f17c643d3
nut-2.7.4-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1c864f40a5
nut-2.7.4-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0d2525e306
nut-2.7.4-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8c02066db5
nut-2.7.4-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8c02066db5
nut-2.7.4-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
nut-2.7.4-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
nut-2.7.4-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.