Symptom:
System log files (Control Panel-management tools-system logs)
You can find the following two errors:
17052:
The master database cannot be recovered. Exiting.
18052:
Error: 9003, severity: 20, status: 1.
Solution:
Rename the Microsoft SQL Server/MSSQL/data directory to the data_bak directory, and then set the master from other machines. MDF, master. LDF, model. MDF, modellog. LDF cannot be copied to the Microsoft SQL Server/MSSQL/data directory.
Then open the C:/program files/Microsoft SQL Server/80/tools/binnfolder on the server, find the rebuildm.exe file and run it, reinitialize the master table, select the file, and Click Browse next to it, point to the folder copied from the computer next to it, click "OK" to start reinitialization. The prompt is "successful" (sometimes the prompt may fail, but it doesn't matter because it was copied from another computer, the database file links are different). Click OK to start the SQL service. If the database cannot be started, restart the machine. In this case, attach the previous database, delete all questions displayed.