今天SharePoint再次遇到0x80040E14的錯誤,登陸到伺服器上發現又是資料庫膨脹導致系統硬碟空間滿了,這回與上次情況(可以參看這裡)不同,原因引起是由於SharePoint_Config資料庫的記錄檔膨脹到很大,17G,導致磁碟沒有空間,開啟後剩餘空間為0位元組……居然還能遠程登入操作資料庫,幸運啊。
解決方案:收縮內容資料庫日誌。
方法一:
USE DatabaseName
GO
DBCC SHRINKFILE(<TransactionLogName>, 1)
BACKUP LOG <DatabaseName> WITH TRUNCATE_ONLY
DBCC SHRINKFILE(<TransactionLogName>, 1)
方法二:
BACKUP LOG "SharePoint_Config" WITH NO_LOG
選中某個資料庫點右鍵後,在快顯功能表中選擇任務-收縮-檔案 在彈出的視窗 檔案類型 中選擇日誌,設定收縮的大小即可。
收縮資料庫記錄檔後,問題解決。
參考資料:
http://social.technet.microsoft.com/forums/en-US/sharepointadmin/thread/daf73588-3031-4e03-9afa-500005e3f47d/
http://www.cnblogs.com/perky_zhou/archive/2004/11/23/67317.html
http://mindsharpblogs.com/bill/archive/2005/01/14/181.aspx
http://www.itpub.net/viewthread.php?tid=1048025
http://social.technet.microsoft.com/forums/en-US/sharepointadmin/thread/daf73588-3031-4e03-9afa-500005e3f47d/
部署Sharepoint要注意SQL Server的交易記錄檔
SQL Databases, the LDF File and SharePoint Portal Server backups
http://www.itpub.net/viewthread.php?tid=1048025
文章來源:http://www.cnblogs.com/Bear-Study-Hard/archive/2009/06/05/1497133.html