

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

# 針對 Amazon EFS 整合進行疑難排解
<a name="oracle-efs-integration.troubleshooting"></a>

您的 RDS for Oracle 資料庫執行個體會監控與 EFS 檔案系統的連線。當監控偵測到問題時，它可能會嘗試修正該問題，並在 RDS 主控台中發佈事件。如需詳細資訊，請參閱[檢視 Amazon RDS 事件](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ListEvents.html)。

請使用此節中的資訊，協助您診斷並修正在您使用 Amazon EFS 整合時常見的問題。


| 通知 | Description | Action | 
| --- | --- | --- | 
| `The EFS for RDS Oracle instance {{instance_name}} isn't available on the primary host. NFS port 2049 of your EFS isn't reachable.` | 資料庫執行個體無法與 EFS 檔案系統通訊。 | 請確定下列情況：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 
| `The EFS isn't reachable.` | 安裝 `EFS_INTEGRATION` 選項期間發生錯誤。 | 請確定下列情況：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 
| `The associated role with your DB instance wasn't found.` | 安裝 `EFS_INTEGRATION` 選項期間發生錯誤。 | 請確定您已將 IAM 角色與 RDS for Oracle 資料庫執行個體建立關聯。 | 
| `The associated role with your DB instance wasn't found.` | 安裝 `EFS_INTEGRATION` 選項期間發生錯誤。RDS for Oracle 在 `USE_IAM_ROLE` 選項設定為 `TRUE` 的情況下，從資料庫快照還原。 | 請確定您已將 IAM 角色與 RDS for Oracle 資料庫執行個體建立關聯。 | 
| `The associated role with your DB instance wasn't found.` | 安裝 `EFS_INTEGRATION` 選項期間發生錯誤。RDS for Oracle 在 `USE_IAM_ROLE` 選項設定為 `TRUE` 的情況下，從多合一 CloudFormation 範本建立。 | 請完成下列步驟以解決此問題：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 
| `PLS-00302: component 'CREATE_DIRECTORY_EFS' must be declared` | 當您使用的是不支援 Amazon EFS 的 RDS for Oracle 版本時，可能會發生此錯誤。 | 請確定您使用的是 RDS for Oracle 資料庫執行個體版本 19.0.0.0.ru-2022-07.rur-2022-07.r1 或更新版本。 | 
| `Read access of your EFS is denied. Check your file system policy.` | 您的資料庫執行個體無法讀取 EFS 檔案系統。 | 請確定您的 EFS 檔案系統允許透過 IAM 角色或在 EFS 檔案系統層級進行讀取存取。 | 
| N/A | 您的資料庫執行個體無法寫入至 EFS 檔案系統。 | 採取下列步驟：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/AmazonRDS/latest/UserGuide/oracle-efs-integration.troubleshooting.html) | 