Before You Begin
If the production databases appear to be present but you see “Database 'production' could not be opened.” in the log files, the misc file in the production database or the config.ds file are damaged. You can replace the misc file, recreate the production database, or recreate the entire structure to resolve this issue.
Steps
To replace the misc file (if it is the only damaged file):
- Create a new temporary database using the following command:
manager\bin\tqdbu -i -d temp
- Copy the misc file in the \data\temp directory and replace the misc file in the \data\production directory.
- Clean up the temp database using the following command:
manager\bin\tqdbu -r -d temp
- Test the new database.
Note: Running the tqdbu -l command can cause the same problem if the database is not readable.
To recreate the production database:
Note: This option might result is lost data.
- Create a new temporary database using the following command:
manager\bin\tqdbu -i -d temp
- Copy the contents of the \data\temp folder and replace the contents in the \data\production folder.
- Clean up the temp database using the following command:
manager\bin\tqdbu -r -d temp
- Test the new database.
Note: Running the tqdbu -l command can cause the same problem if the database is not readable.
To recreate the entire structure:
- Shut down the TeamQuest Manager service.
- Check that no processes are running by looking for tq processes.
- Delete the config.ds file from the \data\cf\manager directory.
- Delete the \data\production folder.
- Run the following command:
manager\bin\tqmgr -init
Services should now be running against a production default database.
Last Modified On:
No, open a new Support Case