无法安装 SQL 2008 RC2

无法安装 SQL 2008 RC2

安装后我无法运行 SQL 服务器。

它正在查找e:,但我没有电子驱动器。我已尝试重置注册表项,如下所示这里所有答案这里

日志档案:

2011-05-19 21:22:39.63 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2011-05-19 21:22:39.63 Server      Detected 16 CPUs. This is an informational message; no user action is required.
2011-05-19 21:22:39.65 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2011-05-19 21:22:39.65 Server      Lock partitioning is enabled.  This is an informational message only. No user action is required.
2011-05-19 21:22:39.70 Server      Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2011-05-19 21:22:39.73 spid7s      Starting up database 'master'.
2011-05-19 21:22:39.80 spid7s      2 transactions rolled forward in database 'master' (1). This is an informational message only. No user action is required.
2011-05-19 21:22:39.80 spid7s      0 transactions rolled back in database 'master' (1). This is an informational message only. No user action is required.
2011-05-19 21:22:39.80 spid7s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2011-05-19 21:22:39.85 spid7s      FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'EXP'.
2011-05-19 21:22:39.86 spid7s      SQL Trace ID 1 was started by login "sa".
2011-05-19 21:22:39.86 spid7s      Starting up database 'mssqlsystemresource'.
2011-05-19 21:22:39.88 spid7s      The resource database build version is 10.50.1600. This is an informational message only. No user action is required.
2011-05-19 21:22:39.99 spid7s      Server name is 'CT4417\EXP'. This is an informational message only. No user action is required.
2011-05-19 21:22:39.99 spid10s     Starting up database 'model'.
2011-05-19 21:22:40.00 spid10s     Error: 17204, Severity: 16, State: 1.
2011-05-19 21:22:40.00 spid10s     FCB::Open failed: Could not open file e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\model.mdf for file number 1.  OS error: 3(The system cannot find the path specified.).
2011-05-19 21:22:40.00 spid7s      Informational: No full-text supported languages found.
2011-05-19 21:22:40.00 spid10s     Error: 5120, Severity: 16, State: 101.
2011-05-19 21:22:40.00 spid10s     Unable to open the physical file "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\model.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
2011-05-19 21:22:40.00 spid7s      Starting up database 'msdb'.
2011-05-19 21:22:40.00 spid10s     Error: 17207, Severity: 16, State: 1.
2011-05-19 21:22:40.00 spid10s     FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\modellog.ldf'. Diagnose and correct the operating system error, and retry the operation.
2011-05-19 21:22:40.00 spid7s      Error: 17204, Severity: 16, State: 1.
2011-05-19 21:22:40.00 spid7s      FCB::Open failed: Could not open file e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBData.mdf for file number 1.  OS error: 3(The system cannot find the path specified.).
2011-05-19 21:22:40.00 spid10s     File activation failure. The physical file name "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\modellog.ldf" may be incorrect.
2011-05-19 21:22:40.00 spid7s      Error: 5120, Severity: 16, State: 101.
2011-05-19 21:22:40.00 spid7s      Unable to open the physical file "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBData.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
2011-05-19 21:22:40.00 spid10s     Error: 945, Severity: 14, State: 2.
2011-05-19 21:22:40.00 spid10s     Database 'model' cannot be opened due to inaccessible files or insufficient memory or disk space.  See the SQL Server errorlog for details.
2011-05-19 21:22:40.00 spid10s     Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event log that may indicate why the tempdb files could not be initialized.
2011-05-19 21:22:40.00 spid10s     SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2011-05-19 21:22:40.00 spid7s      Error: 17207, Severity: 16, State: 1.
2011-05-19 21:22:40.00 spid7s      FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf'. Diagnose and correct the operating system error, and retry the operation.
2011-05-19 21:22:40.00 spid7s      File activation failure. The physical file name "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf" may be incorrect.

答案1

首选:重新安装。

如果您确实必须尝试保存它:加载 SQL Server 配置管理器。在 SQL Server 服务下找到该服务,右键单击以查看属性,然后更改高级下的文件位置。这可能有效,也可能无效。

答案2

五个小时后,我可以启动新的 SQL Server 实例。请按照以下步骤操作:

1.启动发动机:

NET START MSSQL$SQLEXPRESS /f /T3608

2.检查路径是否无效: 从 sys.master_files 中选择名称、物理名称、状态描述,按数据库 ID 排序;GO

3. 改变路径 ALTER DATABASE 模型修改文件(NAME = modeldev,FILENAME = 'C:\Archivos de programa\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\model.mdf');ALTER DATABASE 模型修改文件(NAME = modellog,FILENAME = 'C:\Archivos de programa\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\modellog.ldf');

更改数据库 msdb 修改文件(名称 = MSDBData,文件名 = 'C:\Archivos de programa\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\MSDBData.mdf'); 更改数据库 msdb 修改文件(名称 = MSDBLog,文件名 = 'C:\Archivos de programa\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\MSDBLog.ldf');

更改数据库 tempdb 修改文件(名称 = tempdev,文件名 = 'C:\Archivos de programa\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\temp.mdf'); 更改数据库 tempdb 修改文件(名称 = templog,文件名 = 'C:\Archivos de programa\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\temp.ldf');

4.退出:

出口;

5.停止发动机:

网络停止 MSSQL$SQLEXPRESS

准备好了!!!现在正常启动发动机。

相关内容