← Back to team overview

graphite-dev team mailing list archive

Re: [Question #253419]: Can't start carbon-cache.py

 

Question #253419 on Graphite changed:
https://answers.launchpad.net/graphite/+question/253419

    Status: Answered => Open

Sam Weber is still having a problem:
Tried the 0.9.x branch using the following procedure:

cd /opt
sudo rm -rf graphite

Went to the graphite-web, whisper, and carbon directories and executed
"git checkout 0.9.x" (ceres has no 0.9.x branch).

Rebuilt in each directory with "sudo python setup.py install"

In conf directory, copied carbon.conf.example and storage-
schemas.conf.example to .conf equivalents.

$ sudo /opt/graphite/bin/carbon-cache.py start
Starting carbon-cache (instance a)
Traceback (most recent call last):
  File "/opt/graphite/bin/carbon-cache.py", line 32, in <module>
    run_twistd_plugin(__file__)
  File "/opt/graphite/lib/carbon/util.py", line 90, in run_twistd_plugin
    config.parseOptions(twistd_options)
  File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 614, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/usage.py", line 266, in parseOptions
    self.subOptions.parseOptions(rest)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/usage.py", line 276, in parseOptions
    self.postOptions()
  File "/opt/graphite/lib/carbon/conf.py", line 256, in postOptions
    os.mkdir(logdir)
OSError: [Errno 2] No such file or directory: '/opt/graphite/storage/log/carbon-cache/carbon-cache-a'

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.