Spectrum database not loading
search cancel

Spectrum database not loading

book

Article ID: 403953

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

Trying to restore the spectrum SSDB from a backup using this syntax:

../SS-Tools/SSdbload -il <file>

And it is failing with this error:

- Do you want to initialize the databas? (Y or N): y

Initializing database…
Database already locked by: spectrum,

By process: ../SS-Tools/SSdbload.
by process ID: 154608;

I am not seeing any VNM.lock files.

Environment

Spectrum:: All Supported Versions

Cause

 The lock file begins with . and is a hidden file.

Resolution

Please remove the .VNMDB.LOCK file in the $SPECROOT/SS directory and then try it again.

When it says it's locked it means there's a .VNMDB.LOCK file.

This is a hidden file, need to run

ls -al

To see it.