針對 Service Manager 部署問題進行疑難排解Troubleshoot Service Manager deployment issues

重要

此版本的 Service Manager 已達到終止支援,建議您 升級至 Service Manager 2019This version of Service Manager has reached the end of support, we recommend you to upgrade to Service Manager 2019.

安裝 System Center – Service Manager 時,會捕捉安裝記錄檔。An installation log file is captured during the installation of System Center – Service Manager. 在 Service Manager 執行之後,會在 Windows 事件記錄檔中捕捉各種事件。After Service Manager is running, various events are captured in the Windows Event Log. 此外,您可以使用一些 Windows PowerShell 命令來疑難排解資料倉儲作業。In addition, there are some Windows PowerShell commands that you can use to help troubleshoot data warehouse jobs. 如需詳細資訊,請參閱 疑難排解資料倉儲工作For more information, see Troubleshoot Data Warehouse Jobs.

安裝記錄檔Installation log files

SCSMInstall.log 記錄檔會擷取安裝的進度。A log file, SCSMInstall.log, captures the progress of the installation. 您可以使用這個記錄檔,針對失敗的安裝作業進行疑難排解。You can use this log file to troubleshoot a failed installation. 您可在 %temp% 資料夾中找到這個記錄檔。You can find this log file in the %temp% folder. 若要疑難排解安裝問題,您可以開啟記錄檔,然後搜尋讀取傳回 值 3的行。To troubleshoot installation problems, you can open the log files and search for a line that reads Return Value 3. 如果您在記錄檔案找到這一行,請在此行上方尋找特定步驟執行失敗的任何指示。If you find such a line in the log file, look above this line for any indication that a particular step failed.

事件記錄檔Event logs

Service Manager 事件記錄檔位於 [ Application And Service logs/Microsoft/Operations Manager ] 資料夾中的事件檢視器。Service Manager event logs are located in Event Viewer, in the Application and Service Logs/Microsoft/Operations Manager folder.

建立資料庫錯誤Create database error

在安裝期間,當您設定 Service Manager 或資料倉儲資料庫時,系統會讓您指定為每個資料庫配置的磁碟空間。During setup, when you were configuring Service Manager or data warehouse databases, you were given the opportunity to specify how much disk space to allocate for each database. 預設設定為 2,000 MB (2 GB)。The default setting is 2,000 megabytes (MB) (2 gigabytes (GB)). 除了資料庫所需的磁碟空間之外,Service Manager 為檔案群組和記錄檔設定額外的空間。In addition to the disk space that is required for the database, Service Manager sets aside additional space for file groups and log files. 檔案群組和記錄檔所需的額外空間可能會等於資料庫所需的空間。The additional space that is required for the file groups and log files can be equal to the space that is required for the database.

如果沒有足夠的可用磁碟空間,就會出現一則訊息,指出執行自訂動作期間發生錯誤: _CreateDatabaseIf there is insufficient disk space available, a message appears, indicating that an error occurred during execution of a custom action: _CreateDatabase. 安裝作業會在做出永久變更之前停止。The installation stops before permanent changes are made. 如果您檢查 Service Manager 安裝記錄檔,您會發現下列字串:If you examine the Service Manager setup log, you find the following string:

Additional Error Description : MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file

您必須增加可用磁碟空間量,或減少 Service Manager 為資料庫配置的空間量,然後再次嘗試安裝。You have to either increase the amount of free disk space that is available or reduce the amount of space that Service Manager allocates for the database, and then attempt the installation again. 如果您要在非生產環境中安裝 Service Manager,您可以指定資料庫的最小為 500 MB。If you are installing Service Manager in a nonproduction environment, you can specify as little as 500 MB for the database.

後續步驟Next steps