剛剛安裝完的 Exchange 2019,重啟再登陸 ECP 或者是 OWA 就 …… 下圖所示
瞬間懷疑人生,我做錯了什麼?只是重啟而已 …… 再重啟還是一樣 ……
進去服務看了一下,我勒個去 …… 可能 UAT 硬件配置太差所以 EX 直接罷工
你可能會想,直接啟動服務應該可以恢復正常,你這個想法很好,問題是這麼多服務,一個個啟動 …… 我太難了
直接交個 PowerShell 不是 Exchange PowerShell
# 直接查看關於 Exchange 的服務
Get-Service -Name "MSExch*"
下圖有發現什麼不對的地方嗎?看到 ... 了嗎?哈哈哈哈 ~~~
我們修正一下
# 顯示完整的服務名稱
Get-Service -Name "MSExch*" | ft -auto
直接啟動
# 直接重啟 Exchange 已經停止的服務
Get-Service -Name "MSExchange*" | Where-Object {$_.Status -eq "Stopped"} | Restart-Service
當服務被禁用的情況下,通過 CMD 啟動服務,sc config MSExchangeADTopology start= auto
sc config MSExchangeAntispamUpdate start= auto
sc config MSExchangeCompliance start= auto
sc config MSExchangeDagMgmt start= auto
sc config MSExchangeDelivery start= auto
sc config MSExchangeDiagnostics start= auto
sc config MSExchangeEdgeSync start= auto
sc config MSExchangeFastSearch start= auto
sc config MSExchangeFrontEndTransport start= auto
sc config MSExchangeHM start= auto
sc config MSExchangeHMRecovery start= auto
sc config MSExchangeImap4 start= auto
sc config MSExchangeIMAP4BE start= auto
sc config MSExchangeIS start= auto
sc config MSExchangeMailboxAssistants start= auto
sc config MSExchangeMailboxReplication start= auto
sc config MSExchangePop3 start= auto
sc config MSExchangePOP3BE start= auto
sc config MSExchangeRepl start= auto
sc config MSExchangeRPC start= auto
sc config MSExchangeServiceHost start= auto
sc config MSExchangeSubmission start= auto
sc config MSExchangeThrottling start= auto
sc config MSExchangeTransport start= auto
sc config MSExchangeTransportLogSearch start= auto
sc config HostControllerService start= auto
Note
1、如果你的 UAT 是用普通硬盤,我估計這個故障率是很高的
2、實測發現 Win 2019 + Ex 2019 都很喜歡 SSD,至少我另外一個 SSD 的 UAT 沒出現過
3、感謝 5dmail 的基友提供 PowerShell 協助
正文完
文章赞赏 謝謝支持
![post-qrcode](https://www.ianext.com/wp-content/uploads/2024/06/2024-06-18-08-20-39.webp)