← Back to team overview

graphite-dev team mailing list archive

[Question #208411]: Console.log full of Can not write to errors

 

New question #208411 on Graphite:
https://answers.launchpad.net/graphite/+question/208411


I am net to Graphite and have obviously done something stupid, please help

I have installed 0.9.10 in line with http://graphite.readthedocs.org/en/latest/ and got pretty far, however I am not getting any data.

/opt/graphite/storage/log/carbon-cache/carbon-cache-a/console.log is full of messages like the below.  The files all exist and it does not matter if I run carbon as a user or as root.  If I delete the files they get re-created empty and I get the same error.  

Any idea where I am going wrong?



12/09/2012 23:45:58 :: Error writing to /opt/graphite/storage/whisper/carbon/agents/Ivy-a/avgUpdateTime.wsp
12/09/2012 23:45:58 :: Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 167, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/opt/graphite/lib/carbon/writer.py", line 158, in writeForever
    writeCachedDataPoints()
--- <exception caught here> ---
  File "/opt/graphite/lib/carbon/writer.py", line 124, in writeCachedDataPoints
    whisper.update_many(dbFilePath, datapoints)
  File "/usr/local/lib/python2.7/dist-packages/whisper.py", line 538, in update_many
    return file_update_many(fh, points)
  File "/usr/local/lib/python2.7/dist-packages/whisper.py", line 545, in file_update_many
    header = __readHeader(fh)
  File "/usr/local/lib/python2.7/dist-packages/whisper.py", line 184, in __readHeader
    raise CorruptWhisperFile("Unable to read header", fh.name)
whisper.CorruptWhisperFile: Unable to read header (/opt/graphite/storage/whisper/carbon/agents/Ivy-a/avgUpdateTime.wsp)




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