cannot import name daemonize

Recently after installing graphite and starting I got following error:

Traceback (most recent call last):
File “bin/”, line 28, in <module>
from carbon.util import run_twistd_plugin
File “/opt/graphite/lib/carbon/”, 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/ and change following line:

from twisted.scripts._twistd_unix import daemonize


import daemonize

After doing above changes now try to start


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s