

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 疑難排解
<a name="troubleshooting"></a>

本節包含如何監控系統以及如何疑難排解特定問題的相關資訊。

**Topics**
+ [一般偵錯和監控](res-troubleshooting-general.md)
+ [發行 RunBooks](res-troubleshooting-issue-runbooks.md)
+ [已知問題](res-troubleshooting-known-issues.md)

詳細內容：
+ [一般偵錯和監控](res-troubleshooting-general.md)
  + [有用的日誌和事件資訊來源](res-troubleshooting-general.md#res-troubleshooting-general-info)
    + [尋找環境變數的位置](res-troubleshooting-general.md#res-troubleshooting-general-info-env-vars)
    + [環境 Amazon EC2 執行個體上的日誌檔案](res-troubleshooting-general.md#res-troubleshooting-general-info-logs)
    + [CloudFormation 堆疊](res-troubleshooting-general.md#res-troubleshooting-cf-stacks)
    + [因問題而發生系統故障，並由 Amazon EC2 Auto Scaling 群組活動反映](res-troubleshooting-general.md#res-troubleshooting-asg-activity)
  + [典型的 Amazon EC2 主控台外觀](res-troubleshooting-general.md#res-troubleshooting-ec2-console)
    + [基礎設施主機](res-troubleshooting-general.md#res-troubleshooting-ec2-console-infra)
    + [基礎設施主機和虛擬桌面](res-troubleshooting-general.md#res-troubleshooting-ec2-console-virtual)
    + [處於終止狀態的主機](res-troubleshooting-general.md#res-troubleshooting-ec2-console-hosts-terminated)
    + [實用的 Active Directory (AD) 相關命令以供參考](res-troubleshooting-general.md#res-troubleshooting-ec2-console-active-dir)
  + [Windows DCV 偵錯](res-troubleshooting-general.md#res-troubleshooting-windows-dcv)
  + [尋找 Amazon DCV 版本資訊](res-troubleshooting-general.md#res-troubleshooting-find-nice-dcv)
+ [發行 RunBooks](res-troubleshooting-issue-runbooks.md)
  + [安裝問題](res-troubleshooting-issue-runbooks.md#installation-issues)
    + [CloudFormation 堆疊無法建立 ，並顯示訊息「WaitCondition 收到失敗的訊息。Error：States.TaskFailed"](res-troubleshooting-issue-runbooks.md#cf-stack-fails)
    + [CloudFormation 堆疊建立成功後未收到電子郵件通知](res-troubleshooting-issue-runbooks.md#email-invitation-not-received)
    + [執行個體循環或處於失敗狀態的 vdc-controller](res-troubleshooting-issue-runbooks.md#instances-cycling)
    + [由於相依物件錯誤，環境 CloudFormation 堆疊無法刪除](res-troubleshooting-issue-runbooks.md#object-error)
    + [環境建立期間 CIDR 區塊參數發生錯誤](res-troubleshooting-issue-runbooks.md#cidr-block-error)
    + [環境建立期間的 CloudFormation 堆疊建立失敗](res-troubleshooting-issue-runbooks.md#cf-stack-creation-fails)
    + [使用 AdDomainAdminNode CREATE\_FAILED 建立外部資源 （示範） 堆疊失敗](res-troubleshooting-issue-runbooks.md#demo-environment-stack-fails)
  + [身分管理問題](res-troubleshooting-issue-runbooks.md#troubleshooting-identity-management)
    + [我未獲得執行 iam:PassRole 的授權](res-troubleshooting-issue-runbooks.md#res-troubleshooting-issue-runbooks-unauth-passrole)
    + [我想要允許 AWS 帳戶外的人員存取我的 Research and Engineering Studio on AWS 資源](res-troubleshooting-issue-runbooks.md#res-troubleshooting-issue-runbooks-outside-acct)
    + [登入環境時，我立即返回登入頁面](res-troubleshooting-issue-runbooks.md#return-to-login)
    + [嘗試登入時發生「找不到使用者」錯誤](res-troubleshooting-issue-runbooks.md#user-not-found)
    + [在 Active Directory 中新增使用者，但 RES 中遺失](res-troubleshooting-issue-runbooks.md#user-missing)
    + [建立工作階段時無法使用使用者](res-troubleshooting-issue-runbooks.md#session-user-unavailable)
    + [CloudWatch cluster-manager 日誌中超出大小限制的錯誤](res-troubleshooting-issue-runbooks.md#sizelimit-exceeded-error)
  + [儲存](res-troubleshooting-issue-runbooks.md#res-troubleshooting-storage)
    + [我透過 RES 建立檔案系統，但未掛載在 VDI 主機上](res-troubleshooting-issue-runbooks.md#res-troubleshooting-storage-created)
    + [我透過 RES 加入檔案系統，但未掛載在 VDI 主機上](res-troubleshooting-issue-runbooks.md#res-troubleshooting-storage-onboarded)
    + [我無法從 VDI 主機讀取/寫入](res-troubleshooting-issue-runbooks.md#res-troubleshooting-storage-rw)
      + [處理使用案例的許可範例](res-troubleshooting-issue-runbooks.md#res-troubleshooting-storage-rw-example)
    + [我從 RES 建立 Amazon FSx for NetApp ONTAP，但未加入我的網域](res-troubleshooting-issue-runbooks.md#res-troubleshooting-storage-join)
  + [快照](res-troubleshooting-issue-runbooks.md#res-troubleshooting-snapshots)
    + [快照的狀態為失敗](res-troubleshooting-issue-runbooks.md#res-troubleshooting-snapshots-failed)
    + [快照無法套用至表示無法匯入資料表的日誌。](res-troubleshooting-issue-runbooks.md#res-troubleshooting-snapshots-not-imported)
  + [基礎設施](res-troubleshooting-issue-runbooks.md#res-troubleshooting-infrastructure)
    + [沒有運作狀態良好執行個體的負載平衡器目標群組](res-troubleshooting-issue-runbooks.md#res-troubleshooting-infrastructure-load-balancer)
  + [啟動虛擬桌面](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops)
    + [我需要在 RES Web 入口網站中啟動/繼續大量 VDIs](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-resume-vdis)
    + [Windows 虛擬桌面的登入帳戶設定為管理員](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-windows-admin)
    + [使用外部資源 CertificateRenewalNode 時，憑證過期](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-certificate-expires)
    + [先前正常運作的虛擬桌面無法再成功連線](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-was-working)
    + [我只能啟動 5 個虛擬桌面](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-only-five)
    + [桌面 Windows 連線嘗試失敗，並顯示「連線已關閉。傳輸錯誤"](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-transport-error)
    + [VDIs卡在佈建狀態](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-stuck-prov)
    + [啟動後，VDIs會進入錯誤狀態](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-error-after)
    + [登入後，VDI 工作階段會進入空白畫面](res-troubleshooting-issue-runbooks.md#res-troubleshooting-virtual-desktops-vdi-blank-screen)
  + [虛擬桌面元件](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-component)
    + [Amazon EC2 執行個體在主控台中重複顯示已終止](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-component-ec2-terminated)
    + [由於無法加入 AD/eVDI 模組，vdc-controller 執行個體正在循環，顯示 API 運作狀態檢查失敗](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-component-cycling)
    + [編輯軟體堆疊以新增專案時，專案不會出現在下拉式清單中](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-component-not-in-pulldown)
    + [cluster-manager Amazon CloudWatch 日誌顯示「<user-home-init> 帳戶尚無法使用。正在等待使用者同步」（其中帳戶是使用者名稱）](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-component-acct-unavailable)
    + [登入時 Windows 桌面顯示「您的帳戶已停用。請洽詢您的管理員"](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-component-acct-disabled)
    + [外部/客戶 AD 組態的 DHCP 選項問題](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-component-dhcp)
    + [Firefox 錯誤 MOZILLA\_PKIX\_ERROR\_REQUIRED\_TLS\_FEATURE\_MISSING](res-troubleshooting-issue-runbooks.md#res-troubleshooting-vd-firefox)
  + [Env 刪除](res-troubleshooting-issue-runbooks.md#res-troubleshooting-env-deletion)
    + [res-xxx-cluster 堆疊處於「DELETE\_FAILED」狀態，且無法手動刪除，因為「角色無效或無法擔任」錯誤](res-troubleshooting-issue-runbooks.md#res-troubleshooting-env-deletion-role-invalid)
    + [收集日誌](res-troubleshooting-issue-runbooks.md#res-troubleshooting-env-deletion-collect-logs)
    + [下載 VDI 日誌](res-troubleshooting-issue-runbooks.md#res-troubleshooting-env-deletion-download-logs)
    + [從 Linux EC2 執行個體下載日誌](res-troubleshooting-issue-runbooks.md#res-troubleshooting-env-deletion-linux-ec2-logs)
    + [從 Windows EC2 執行個體下載日誌](res-troubleshooting-issue-runbooks.md#res-troubleshooting-env-deletion-windows-ec2-logs)
    + [收集 WaitCondition 錯誤的 ECS 日誌](res-troubleshooting-issue-runbooks.md#res-troubleshooting-env-deletion-waitcondition)
  + [示範環境](res-troubleshooting-issue-runbooks.md#res-troubleshooting-demo-env)
    + [處理身分提供者的身分驗證請求時發生示範環境登入錯誤](res-troubleshooting-issue-runbooks.md#demo-environment-login-error)
    + [示範堆疊 keycloak 無法運作](res-troubleshooting-issue-runbooks.md#demo-environment-stack-keycloak)
  + [Active Directory 問題](res-troubleshooting-issue-runbooks.md#active-directory-issues)
    + [我的 VDI 長時間卡在佈建狀態，或在 VDI 就緒後，我無法以 AD 使用者身分登入我的 VDI](res-troubleshooting-issue-runbooks.md#active-directory-issues-vdi-stuck)
    + [設定 SSO 後，我無法登入 RES Web 入口網站](res-troubleshooting-issue-runbooks.md#active-directory-issues-res-web-portal)
    + [即使成功啟動 Linux VDIs，AD 使用者也無法使用檔案瀏覽器存取主目錄](res-troubleshooting-issue-runbooks.md#active-directory-issues-home-directory-access)
    + [啟用 SSH 存取後，AD 管理員使用者無法存取堡壘主機](res-troubleshooting-issue-runbooks.md#active-directory-issues-bastion-host-access)
    + [檢視和管理 RES 外部資源堆疊部署的 Active Directory](res-troubleshooting-issue-runbooks.md#active-directory-issues-external-resource-stack)
+ [2024.x 已知問題](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x)
  + [(2024.12 和 2024.12.01) 註冊新 Cognito 使用者時發生 Regex 失敗](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-regex-failure-cognito)
  + [(2024.12.01 及更早版本） 使用自訂網域連線至 VDI 時出現無效的憑證錯誤](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-invalid-bad-cert)
  + [(2024.12 和 2024.12.01) Active Directory 使用者無法 SSH 到堡壘主機](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-ad-users-cannot-ssh)
  + [(2024.10) 針對部署在隔離 VPCs 中的 RES 環境，VDI 自動停止中斷](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-vdi-auto-stop-broken)
  + [(2024.10 及更早版本） 無法啟動 VDI for Graphic 增強型執行個體類型](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-fail-to-launch-vdi)
  + [(2024.08) 準備基礎設施 AMI 失敗](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-prep-infra-ami-fail)
  + [(2024.08) 虛擬桌面無法掛載具有根儲存貯體 ARN 和自訂字首的讀取/寫入 Amazon S3 儲存貯體](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-vdi-fails-to-mount-s3)
  + [(2024.06) 當 AD 群組名稱包含空格時，套用快照失敗](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-apply-snapshot-fails)
  + [(2024.06 及更早版本） AD 同步期間未同步至 RES 的群組成員](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-group-not-synced)
  + [(2024.06 及更早版本） CVE-2024-6387、RegreSSHion、RHEL9 和 Ubuntu VDIs中的安全漏洞](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-regresshion)
  + [(2024.04-2024.04.02) 提供的 IAM 許可界限未連接到 VDI 執行個體的角色](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-iam-boundary)
  + [(2024.04.02 及更早版本） ap-southeast-2 （雪梨） 中的 Windows NVIDIA 執行個體無法啟動](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-nvidia-instances)
  + [(2024.04 和 2024.04.01) GovCloud 中的 RES 刪除失敗](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-delete-fail)
  + [(2024.04 - 2024.04.02) 重新啟動時，Linux 虛擬桌面可能卡在「繼續」狀態](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-linux-stuck-resuming)
  + [(2024.04.02 及更早版本） 無法同步 SAMAccountName 屬性包含大寫字母或特殊字元的 AD 使用者](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-samaccountname)
  + [(2024.04.02 及更早版本） 用於存取堡壘主機的私有金鑰無效](res-troubleshooting-known-issues.md#res-troubleshooting-known-issues-2024x-private-key)