PRB: Problems with Altering Model Database to Move SyslogsLast reviewed: April 25, 1997Article ID: Q67932 |
The information in this article applies to:
- Microsoft SQL Server version 4.2 for OS/2 - Microsoft SQL Server versions 4.2, 4.21, and 4.21a
SYMPTOMSIf you alter the model database to move the syslogs to a separate device, create some tables within a model, and then bring the SQL Server down, when an attempt is made to bring the server back up the server will not start. The following error messages are written to the error log:
... Recovering database 'model' clearing temp db Error 806, Severity: 21, State: 1 Could not find virtual page for logical page 358 Error: 1619, Severity:21, State: 1 Could not open TEMPDB, unable to continue. CAUSESQL Server looks for information within the model database when it rebuilds tempdb. Problems occur when the syslogs of the two databases are not the same size.
WORKAROUNDTo avoid this situation, alter both the model and tempdb in the following manner: NOTE: Make sure the master device is large enough:
alter database model on master=2 go alter database tempdb on master=2 go sp_logdevice model, master go sp_logdevice tempdb,master go |
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |