pi@raspberrypi : ~ $ cat /etc/os-release
PRETTY_NAME=“Raspbian GNU/Linux 10 (buster)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“10”
VERSION=“10 (buster)”
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/”
SUPPORT_URL=“RaspbianForums - Raspbian”
BUG_REPORT_URL=“RaspbianBugs - Raspbian”
pi@raspberrypi : ~ $ sudo systemctl restart collectd
Job for collectd.service failed because the control process exited with error code.
See “systemctl status collectd.service” and “journalctl -xe” for details.
pi@raspberrypi : ~ $ sudo journalctl --no-pager -u collectd | tail -n40
Nov 01 15:26:21 raspberrypi systemd[1]: Failed to start Statistics collection and monitoring daemon.
Nov 01 15:26:31 raspberrypi systemd[1]: collectd.service: Service RestartSec=10s expired, scheduling restart.
Nov 01 15:26:31 raspberrypi systemd[1]: collectd.service: Scheduled restart job, restart counter is at 131.
Nov 01 15:26:31 raspberrypi systemd[1]: Stopped Statistics collection and monitoring daemon.
Nov 01 15:26:31 raspberrypi systemd[1]: Starting Statistics collection and monitoring daemon…
Nov 01 15:26:31 raspberrypi collectd[19044]: ERROR: ld.so: object ‘/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Nov 01 15:26:31 raspberrypi collectd[19045]: ERROR: ld.so: object ‘/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “syslog” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “rrdtool” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “table” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “interface” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “cpu” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “aggregation” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “match_regex” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “df” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “disk” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: plugin_load: plugin “python” successfully loaded.
Nov 01 15:26:31 raspberrypi collectd[19045]: Traceback (most recent call last):
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/site.py”, line 554, in
Nov 01 15:26:31 raspberrypi collectd[19045]: main()
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/site.py”, line 536, in main
Nov 01 15:26:31 raspberrypi collectd[19045]: known_paths = addusersitepackages(known_paths)
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/site.py”, line 272, in addusersitepackages
Nov 01 15:26:31 raspberrypi collectd[19045]: user_site = getusersitepackages()
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/site.py”, line 247, in getusersitepackages
Nov 01 15:26:31 raspberrypi collectd[19045]: user_base = getuserbase() # this will also set USER_BASE
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/site.py”, line 237, in getuserbase
Nov 01 15:26:31 raspberrypi collectd[19045]: USER_BASE = get_config_var(‘userbase’)
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/sysconfig.py”, line 587, in get_config_var
Nov 01 15:26:31 raspberrypi collectd[19045]: return get_config_vars().get(name)
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/sysconfig.py”, line 533, in get_config_vars
Nov 01 15:26:31 raspberrypi collectd[19045]: _init_posix(_CONFIG_VARS)
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/sysconfig.py”, line 417, in _init_posix
Nov 01 15:26:31 raspberrypi collectd[19045]: from _sysconfigdata import build_time_vars
Nov 01 15:26:31 raspberrypi collectd[19045]: File “/usr/lib/python2.7/_sysconfigdata.py”, line 6, in
Nov 01 15:26:31 raspberrypi collectd[19045]: from _sysconfigdata_nd import *
Nov 01 15:26:31 raspberrypi collectd[19045]: EOFError: EOF read where object expected
Nov 01 15:26:31 raspberrypi systemd[1]: collectd.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 15:26:31 raspberrypi systemd[1]: collectd.service: Failed with result ‘exit-code’.
Nov 01 15:26:31 raspberrypi systemd[1]: Failed to start Statistics collection and monitoring daemon.
pi@raspberrypi : ~ $