Discussion:
[rrd-users] rrdtool.OperationalError: reached EOF while loading header rrd->stat_head
(too old to reply)
ikreb
2015-10-21 08:44:47 UTC
Permalink
Hey,

i write in python and use the rrdtool version 1.4.7.

my script works for weeks and suddently i get this error message:
rrdtool.OperationalError: reached EOF while loading header rrd->stat_head

the error occurs in the function:
rrdtool.update(file_name, 'string_with_arguments')

Any ideas? Or need you more information?



--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/rrdtool-OperationalError-reached-EOF-while-loading-header-rrd-stat-head-tp7583183.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
Steve Shipway
2015-10-21 20:15:55 UTC
Permalink
Post by ikreb
rrdtool.OperationalError: reached EOF while loading header rrd->stat_head
Looks like your rrd file has been corrupted and truncated; the RRD function
is trying to read the file header but hits end-of-file.

Either it is truncated to almost 0 length, or else the file can be opened
but not read (SELinux issues?), or you have another underlying filesystem
error. I suppose another possibility is that you're reading the wrong file
and it isn't an RRD at all.

Steve

Steve Shipway
T: +64 9 3737 599 ext 86487
E: ***@auckland.ac.nz

Loading...