SQL Server cannot start, MSSQL 18052 error: 9003, severity: 20, Status: 1. _mssql

Source: Internet
Author: User
Tags microsoft sql server mssql system log

Problem phenomenon:
System log files (Control Panel – Admin tools – System log)
You can find the following two errors:
17052:
Unable to recover master database. is exiting.
18052:
Error: 9003, severity: 20, Status: 1.

Workaround One:

Rename the Microsoft SQL server/mssql/data directory to the Data_bak directory, and then put Master.mdf,master.ldf,model.mdf on the other machine, Modellog.ldf to put it anywhere (or directly copy the data directory), can not be placed in the Microsoft SQL server/mssql/data this directory.

Then open the C:/Program files/microsoft SQL Server/80/tools/binn folder on the server, locate the Rebuildm.exe file and run it, reinitialize the master table, select the file, click Next to browse, Point to the folder just copied from the side of the computer, click OK to start reinitialization, prompt success (sometimes may also prompted failure, but it does not matter, because it is copied from another computer, the database file link is not the same), the point is OK to start the SQL service, Sometimes can not start the machine to restart it on it, then the database before attaching to the line, the display of doubts are deleted.

Workaround Two:

Reinstall SQL Server, generally first to remove the control Panel, and then remove the C:\Program files\sql Server installation directory, if you are installed to another disk, the other disk X:\Program Files\sql The folder for the server is also deleted, and then reinstalled.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.