AMP Upgrade Fails: awrrdtool unexpectedly exited at /usr/local/airwave/lib/perl/Mercury/RRDTool.pm line 179

By Arunkumar posted Jun 27, 2014 12:27 PM

  

During the upgrade from AMP 7.2.x, you may see the following:

****THIS IS AN EXCERPT FROM THE ATTACHED FAILED UPGRADE LOG****
bin/update_db.pl
RRDTool restarted: flush_all
awrrdtool unexpectedly exited at /usr/local/airwave/lib/perl/Mercury/RRDTool.pm line 179.
make[1]: *** [updatedb] Error 255
make[1]: Leaving directory `/root/svn/mercury'
make: *** [upgrade] Error 2
make: Leaving directory `/root/svn/mercury'

This is typically the result of corrupt temporary caches of graph data. You can clear the caches and allow them to rebuild by doing the following:

# rm -rf /var/airwave/cache/rrdcached/rrd.journal*
# rm -rf /var/lib/airwave/cache/fastmmap/awrrdtool_write_cache
# service rrdcached restart

Once you've done this, you can complete the upgrade by doing:
# root
# make

Last Updated: 08/10/2011



Attachments

Log.txt
0 comments
0 views