Fixing a broken 'reporting' cron job

Status
Not open for further replies.

StephenFry

Contributor
Joined
Apr 9, 2012
Messages
171
Every 5 minutes I get this e-mail:

Traceback (most recent call last):
File "/usr/local/bin/graph.py", line 468, in <module>
GenerateCpuGraph()
File "/usr/local/bin/graph.py", line 189, in GenerateCpuGraph
'GPRINT:avg4:LAST:%5.2lf Last\l',
rrdtool.error: This RRD was created on another architecture

and in FreeNAS, the graphs-tab is empty.

How would I go about repairing this issue?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Look in /data for any RRD files and delete them.
You will need to do "mount -uw /" first.
After you delete any rrd files, do "mount -ur /"

Don't delete any freenas-v1.db file or factory-v1.db file.
 

StephenFry

Contributor
Joined
Apr 9, 2012
Messages
171
That seems to have done the job! What a strange error, as I have only ever used the x64 version.

Thank you for guiding me through my FreeNAS/BSD noobism, this is a really great way to get to know the OS - without too much frustration or doing damage.
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
I had the same problem after upgrading from 8.0.3 to 8.0.4-p1.

I remember checking my architecture and noting that it was x64, so I downloaded the upgrade file for x64. The GUI presently confirms x64 is installed and running.

Maybe I goofed and the 8.0.3 installation really was x86? Otherwise maybe there's a bug...?

Thanks for the update on how to solve the massive amounts of e-mail. :o)
 
Status
Not open for further replies.
Top