The Spectrum SpectroSERVER process is starting and stopping automatically

Document ID : KB000021149
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The SpectroServer.exe starts and stops automatically and the Spectrum Control Panel (SCP) shows the following message:

The SpectroSERVER has been shut down because the Landscape is not initialized

Figure 1

Solution:

This situation could happen if the SpectroServer.exe had crashed and it was configured to AUTORESTART in the $SPECROOT/lib/SDPM/partslist/SS.idb file;

Figure 2

The .VNMDB.LOCK file will exist under $SPECROOT/SS directory and the Spectrum Process Daemon will try to start the SpectroSERVER every time.

Based on this behavior when the SpectroSERVER.exe attempts to start it sees there is a .VNMDB.LOCK file and therefore cannot start the SpectroSERVER.

Looking into the VNM.out file you can see the following messages as an example:

Database already locked by: spectrum,
...
...
Could not open the database. VNM exiting.
Landscape not initialized. VNM exiting.

In this case the solution is:

  • Close SCP
  • Stop the "SPECTRUM Process Daemon" service
  • Delete the $SPECROOT/SS/.VNMDB.LOCK file
  • Restore a previously saved SpectroSERVER database from prior to the crash.
  • Start the "SPECTRUM Process Daemon" service

Note: Knowing this behavior, evaluate whether you need to have the SS automatically start after a reboot. Please note that after a SS crash you must restore the last good backup to avoid database corruption.