2016-08-11 23 views
1

私のクライアントシステムの1つでこの問題に直面しています。我々はSSMSを介してSQLサーバー2008 DBエンジンに接続しているとき は、私がアクセスできないファイルまたはメモリまたはディスク容量が不足しているため、データベース 'msdb'を開くことができません

Database 'msdb' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details. (Microsoft SQL Server, Error: 945)

が続いても、データベースに接続するエラーを取得しています。しかし、クライアントデータベースは見えません。 「システムデータベース」または「セキュリティ」または「管理」をもう一度展開しようとすると、このエラーが発生します。 > SQL Serverのプロパティを - - >選択した「この - >としてログオン

ハードディスクは80ギガバイトの空き容量があり、アカウントがSQL Server構成マネージャでのみ

を読まれていない権限、.mdfファイルと.ldfファイルを持っていますアカウント 'を使用し、アカウント名' admin 'とそのパスワードを使用します。

他のPCのアプリケーションからデータ操作を行うことができます。問題はSSMSからのアクセスのみです。我々は

2016-08-10 18:02:56.17 spid13s  Error: 824, Severity: 24, State: 2. 
2016-08-10 18:02:56.17 spid13s  SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0x2411d175; actual: 0x2411dfd1). It occurred during a read of page (2:0) in database ID 4 at offset 0000000000000000 in file 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf'. Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online. 
2016-08-10 18:02:56.17 spid13s  Error: 5105, Severity: 16, State: 1. 
2016-08-10 18:02:56.17 spid13s  A file activation error occurred. The physical file name 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf' may be incorrect. Diagnose and correct additional errors, and retry the operation. 
2016-08-10 18:02:56.17 spid13s  File activation failure. The physical file name "C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf" may be incorrect. 
2016-08-10 18:02:56.17 spid13s  The log cannot be rebuilt because there were open transactions/users when the database was shutdown, no checkpoint occurred to the database, or the database was read-only. This error could occur if the transaction log file was manually deleted or lost due to a hardware or environment failure. 
2016-08-10 18:02:56.17 spid36s  Error: 945, Severity: 14, State: 2. 
2016-08-10 18:02:56.17 spid36s  Database 'msdb' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details. 
2016-08-10 18:02:56.17 spid36s  Problems recording information in the msdb..suspect_pages table were encountered. This error does not interfere with any activity except maintenance of the suspect_pages table. Check the error log for more information. 

を見ることができ、エラーログに

は、我々はこの

+0

これはディスクメモリの問題のようです。まずスペースを確認してください。詳細については、http://www.blog.sqlrecoverytool.com/fix-sql-error-945.html https://www.mssqltips.com/sqlservertip/3658/how-to-fix-a-corrupt-msdbを参照してください。 -sql-server-database / –

答えて

1

を是正することができますどのように私を提案してください私のMSDBファイルが破損して、システムのDBのバックアップを持っていなかったので、私は、MSDBデータベースを再構築する必要があると幸いにも、仕事や警告などはありませんでした....私はリンクをたどるステップを試しました Rebuild System Databases

instmsdb.sqlからRebuild MSDBの6番目のステップで実行計画の変更が1つだけでした。 エラーが発生したため、コマンドプロンプトでSQL Serverサービスを停止し、構成マネージャーから起動しました。 その後、SSMSを開いてDBエンジンに接続しました。エラーが発生しました。そのためにOKをクリックして、 C:¥Program Files¥Microsoft SQL Server¥MSSQL10.MSSQLSERVER¥MSSQL¥Install¥instmsdbからinstmsdb.sqlを開きました。 SQLと実行されます。

関連する問題