We initially installed graphite on a 10 GB filesystem and it filled up. After shutting down services and expanding the filesystem to 120 GB, i'm unable to start the carbon-cache service. The httpd and grafana-server services start fine. Below is the error:
# service carbon-cache start
Starting carbon-cache:a...
Traceback (most recent call last):
File "bin/carbon-cache.py", line 32, in <module>
run_twistd_plugin(__file__)
File "/opt/graphite/lib/carbon/util.py", line 94, in run_twistd_plugin
config.parseOptions(twistd_options)
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 669, in parseOptions
usage.Options.parseOptions(self, options)
File "/usr/lib64/python2.6/site-packages/twisted/python/usage.py", line 231, in parseOptions
self.subOptions.parseOptions(rest)
File "/usr/lib64/python2.6/site-packages/twisted/python/usage.py", line 241, in parseOptions
self.postOptions()
File "/opt/graphite/lib/carbon/conf.py", line 256, in postOptions
self.handleAction()
File "/opt/graphite/lib/carbon/conf.py", line 348, in handleAction
pid = int(pf.read().strip())
ValueError: invalid literal for int() with base 10: ''
[FAILED]
I found another post with a solution to delete the following file and it would be re-generated
/opt/graphite/storage/whisper/netapp
but it made no difference. I'm guessing the db was corrupted once the filesystem filled up. Any ideas?