Hi,
I have collectd error when I try to enable UPS remote monitoring from plugin settings (checkbox):
Code
# systemctl status collectd.service
● collectd.service - Statistics collection and monitoring daemon
Loaded: loaded (/lib/systemd/system/collectd.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/collectd.service.d
└─openmediavault.conf
Active: activating (auto-restart) (Result: exit-code) since Mon 2023-05-08 09:54:06 CEST; 793ms ago
Docs: man:collectd(1)
man:collectd.conf(5)
https://collectd.org
Process: 7394 ExecStartPre=/usr/sbin/collectd -t (code=exited, status=0/SUCCESS)
Process: 7396 ExecStart=/usr/sbin/collectd (code=exited, status=1/FAILURE)
Main PID: 7396 (code=exited, status=1/FAILURE)
CPU: 47ms
Alles anzeigen
Code
# journalctl -xe
░░
░░ Automatic restarting of the unit collectd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
May 08 10:15:55 pandora systemd[1]: Stopped Statistics collection and monitoring daemon.
░░ Subject: A stop job for unit collectd.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit collectd.service has finished.
░░
░░ The job identifier is 5576 and the job result is done.
May 08 10:15:55 pandora systemd[1]: Starting Statistics collection and monitoring daemon...
░░ Subject: A start job for unit collectd.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit collectd.service has begun execution.
░░
░░ The job identifier is 5576.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "cpu" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "df" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "interface" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "load" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "memory" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: Could not find plugin "nut" in /usr/lib/collectd
May 08 10:15:55 pandora collectd[10788]: There is configuration for the `nut' plugin, but the plugin isn't loaded. Please check your configuration.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "rrdcached" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "syslog" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "unixsock" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: plugin_load: plugin "uptime" successfully loaded.
May 08 10:15:55 pandora collectd[10788]: Error: Parsing the config file failed!
May 08 10:15:55 pandora systemd[1]: collectd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit collectd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
May 08 10:15:55 pandora systemd[1]: collectd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit collectd.service has entered the 'failed' state with result 'exit-code'.
May 08 10:15:55 pandora systemd[1]: Failed to start Statistics collection and monitoring daemon.
░░ Subject: A start job for unit collectd.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit collectd.service has finished with a failure.
░░
░░ The job identifier is 5576 and the job result is failed.
Alles anzeigen
To get it working again I have to remove openmediavault-nut running the following command:
apt-get remove openmediavault-nut
At this point, if I try to install NUT again from the UI, in the settings plugin I find the plugin already activated, but with the remote monitoring checkbox deactivated. As I try to activate it I get the error again with collectd. How can I do to solve?
Thank you
P.S. it's the last remaining problem, after a problematic upgrade from OMV 5 to 6