EM cannot be restarted; with rocksdb exception: no such file or directory
search cancel

EM cannot be restarted; with rocksdb exception: no such file or directory

book

Article ID: 103748

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction



EM cannot be started, with the following error:

[ERROR] [main] [Manager] The EM failed to start. org.rocksdb.RocksDBException: Corruption: Can't access /xyz.sst: IO error: data/metadata/xyz.sst: No such file or directory 

How to solve this issue?

 

Environment

APM 10.7

Resolution

This is due to a corrupted metadata file.

First try the steps in the document:
https://knowledge.broadcom.com/external/article?articleId=6378 

If unable to fix the issue, try restoring from backup or following steps:

1.) Make a backup of the folder /opt/CA/APM/data 
2.) Remove or  rename this directory. (the goal is to have no "data" directory in this path). 
3.) Restart the EM. It will create a new "data" directory.