我想运行一个DMS任务,将数据从本地Oracle DB复制到AWS上的Mysql。我已经获得了防火墙访问权限,并且能够从AWS ec2实例远程登录到oracle DB服务器。此外,我可以使用来自sql developer的相同用户名/pwd和连接字符串登录到数据库,但当我在DMS上测试我的端点时,它会失败,并显示以下错误。
仅供参考,DMS实例与我获得防火墙许可的VPC属于同一个VPC。
Test Endpoint failed: Application-Status: 1020912, Application-Message: ORA-12545:
Connect failed because target host or object does not exist OCI connection failure.,
Application-Detailed-Message: ORA-12545: Connect failed because target host or object does not exist
OCI connection failure. ORA-12545: Connect failed because target host or object does not exist OCI connection
failure. Command get_owner_list failed when creating the stream component. requested object was not found
in the repository. Failed getting stream handle requested object was not found in the repository.
create_stream_handle failed requested object was not found in the repository.
Getting DB object ('A4NOXXXXXXXXXK2N2U') info from repository failed requested object was not found in
the repository. Command get_owner_list failed when creating the stream component. requested object was not
found in the repository. Failed getting stream handle requested object was not found in the repository.
create_stream_handle failed我在网络和数据库端都进行了检查,似乎没有问题。请提个建议。
发布于 2019-05-31 11:38:08
另一次我遇到了类似的问题,我认为使用相同的VPC创建DMS和Oracle实例可以保证它们之间的连接。我还假设添加条目规则以打开DMS和Oracle实例之间的端口也可以,但它们之间的连接失败,我找到了两种方法:
第一步:创建没有公网IP地址的DMS实例,目的连接通过验证。它第一次起作用了
第二:通过打开条目允许所有IP地址,实例之间的连接将会成功。
看起来不错!
https://stackoverflow.com/questions/56251178
复制相似问题