Skip to content

carbon-cache.py start server not starting - Import Error #187

@bindugh

Description

@bindugh

Hi

Could you please help on configuring the StatsD + Graphite. Carbon cache file is not starting.

I am configuring StatsD + Graphite on Ubuntu. When I was trying to execute
"carbon-cache.py start"
ImportError: /usr/lib/python2.7/lib-dynload/pyexpat.so: undefined symbol: XML_SetHashSalt

Original exception was:
Traceback (most recent call last):
File "/opt/graphite/bin/carbon-cache.py", line 30, in
run_twistd_plugin(file)
File "/opt/graphite/lib/carbon/util.py", line 94, in run_twistd_plugin
config.parseOptions(twistd_options)
File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 614, in parseOptions
usage.Options.parseOptions(self, options)
File "/usr/lib/python2.7/dist-packages/twisted/python/usage.py", line 269, in parseOptions
raise UsageError("Unknown command: %s" % sub)
twisted.python.usage.UsageError: Unknown command: carbon-cache

When I install Carbon - message below:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running install
running build
running build_py
package init file 'lib/twisted/plugins/init.py' not found (or not a regular file)
package init file 'lib/twisted/plugins/init.py' not found (or not a regular file)
running build_scripts
running install_lib
running install_scripts
changing mode of /opt/graphite/bin/carbon-client.py to 755
changing mode of /opt/graphite/bin/carbon-relay.py to 755
changing mode of /opt/graphite/bin/validate-storage-schemas.py to 755
changing mode of /opt/graphite/bin/carbon-cache.py to 755
changing mode of /opt/graphite/bin/carbon-aggregator.py to 755
running install_data
running install_egg_info
Removing /opt/graphite/lib/carbon-0.9.9-py2.7.egg-info
Writing /opt/graphite/lib/carbon-0.9.9-py2.7.egg-info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions