Description:This article describes how to troubleshoot "TIBCO Spotfire Server will not be started. Database consistency verification failed". You may encounter this when TIBCO Spotfire server does not start and the following error is logged in "Server.log" (<Server installation folder>\tomcat\logs).
--------------------------------------------------------------------------------------------------------------------------------------------------
TIBCO Spotfire Server will not be started. Database consistency verification failed. Errors found:
Incorrect number of procedures. Expected 12 but was 0
Missing procedures: usp_updateItem
Missing procedures: usp_finishDelete
Missing procedures: pathToGuid
Missing procedures: usp_moveItem
Missing procedures: usp_updateExternallyStoredItem
Missing procedures: usp_verifyAccess
Missing procedures: usp_finishCopy
Missing procedures: usp_copyItem
Missing procedures: usp_insertItem
Missing procedures: usp_insertDepencency
Missing procedures: usp_verifyWriteAccessOnDescendants
Missing procedures: usp_deleteItem
-------------------------------------------------------------------------------------------------------------------------------
Symptoms:After a new installation or upgrade, TIBCO Spotfire Server fails to start and the following error is seen in the server.log file:
----------------------------------------------------------------------------------------------------------------------
TIBCO Spotfire Server will not be started. Database consistency verification failed. Errors found:
Incorrect number of procedures. Expected 12 but was 0
Missing procedures: usp_updateItem
Missing procedures: usp_finishDelete
Missing procedures: pathToGuid
Missing procedures: usp_moveItem
Missing procedures: usp_updateExternallyStoredItem
Missing procedures: usp_verifyAccess
Missing procedures: usp_finishCopy
Missing procedures: usp_copyItem
Missing procedures: usp_insertItem
Missing procedures: usp_insertDepencency
Missing procedures: usp_verifyWriteAccessOnDescendants
Missing procedures: usp_deleteItem
--------------------------------------------
Cause:
There are two possible causes which are as follows:
1. It might be possible that the procedures mentioned under Symptoms above have not been created along with the Spotfire Database when you run the Spotfire Database script.
OR
2. The database user credentials used to create bootstrap does not have access to these essential Spotfire procedures.