Recently after installing graphite and starting carbon-cache.py I got following error:
Traceback (most recent call last):
File “bin/carbon-cache.py”, line 28, in <module>
from carbon.util import run_twistd_plugin
File “/opt/graphite/lib/carbon/util.py”, line 19, in <module>
from twisted.scripts._twistd_unix import daemonize
ImportError: cannot import name daemonize
To resolve this issue I did following things:
Install daemonize module with pip
$ ping install daemonize
After installing daemonize module open file /opt/graphite/lib/carbon/util.py and change following line:
from twisted.scripts._twistd_unix import daemonize
to
import daemonize
After doing above changes now try to start carbon-cache.py