The metering database can fail to initialize if there is an existing corrupt database. In this case, VCS cannot open and initialize the database.
The following log message will appear in the engine log:
Initialization of database to save metered data failed and will not be able to get forecast. Error corrupt statlog database, error code=19, errno=0
To restore the metering and forecast functionality,
# /opt/VRTSvcs/bin/haagent -stop HostMonitor -force -sys system name
# rm /var/VRTSvcs/stats/.vcs_host_stats.data \ /var/VRTSvcs/stats/.vcs_host_stats.index
# /opt/VRTSvcs/bin/haagent -start HostMonitor -sys system name