The SpectroSERVER process will not shut down after restarting from a terminated state (Legacy KB ID CNC TS31461)

Document ID : KB000051975
Last Modified Date : 14/02/2018
Show Technical Document Details
Related Issues/Questions:
The SpectroSERVER process will not shut down after restarting from a terminated state

Problem Environment:
All versions of SPECTRUM
SpectroSERVER shutdown
The user experienced a SpectroSERVER termination where the SPECTRUM Control Panel showed Terminated in the Status field. The user clicked on the Start SpectroSERVER button and restarted the SpectroSERVER. When the user then tried to shutdown the SpectroSERVER, it would not shutdown completely to an Inactive Status.

Causes of this problem:
Whenever the SpectroSERVER process is in a Terminated status, always assume database corruption. Perform one of the following to recover from database corruption.

1. If creating regular SpectroSERVER database backups, restore from the most recent SpectroSERVER database backup prior to the SpectroSERVER Terminated status.

2. If not creating regular SpectroSERVER database backups or have performed significant database changes since the last SpectroSERVER database backup and do not wish to lose those changes by restoring to a previous database save, perform the following steps:

a. Open a terminal window
b. cd to the $SPECROOT/SS directory
c. Enter the following command to create a Models Only save of the current SpectroSERVER database:

../SS-Tools/SSdbsave -m models_only

d. Enter the following command to re-initialize the database to the legacy database

../SS-Tools/SSdbload -il legacy.SSdb

e. When the above load command of the legacy.SSdb completes, enter the following command to load the models from the save created in step c

../SS-Tools/SSdbload -m models_only.SSdb

f. When the above models only load command completes, start the SpectroSERVER
g. After 100% model activation, try shutting the SpectroSERVER down to verify the corruption is gone and the SpectroSERVER shuts down properly.

(Legacy KB ID CNC TS31461 )