Skip to content
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

Error when running setup.py in raspberry pi #103

Open
fertrevino opened this issue Mar 24, 2022 · 0 comments
Open

Error when running setup.py in raspberry pi #103

fertrevino opened this issue Mar 24, 2022 · 0 comments

Comments

@fertrevino
Copy link

fertrevino commented Mar 24, 2022

The following error appears when running setup.py in a raspberry pi. After this, collectd is unable to start as shown below. Deleting the /etc/collectd-cloudwatch.conf makes collectd usable again. The generated cloudwatch conf is shown below. What is the possible cause and solution for this?

Error:

Plugin configuration written successfully.
CloudWatch collectd plugin is already configured in the existing collectd.conf file.
Stopping collectd process ... NOT OK
Starting collectd process ... NOT OK
Installation cancelled due to an error.
Executed command: '/usr/sbin/collectd'.
Error output: '[2022-03-24 11:46:29] plugin_load: plugin "logfile" successfully loaded.
Error: Parsing the config file failed!'.

Running sudo collectd generates this:

[2022-03-24 11:51:09] plugin_load: plugin "logfile" successfully loaded.
Error: Parsing the config file failed!
cat /etc/collectd-cloudwatch.conf 
LoadPlugin python

<Plugin python>
    ModulePath "/opt/collectd-plugins/"
    LogTraces true
    Interactive false
    Import "cloudwatch_writer"
</Plugin>

collectd version:

sudo apt-cache policy collectd
collectd:
  Installed: 5.12.0-7+rpi1
  Candidate: 5.12.0-7+rpi1
  Version table:
 *** 5.12.0-7+rpi1 500
        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
        100 /var/lib/dpkg/status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant