首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从AWS DMS连接到Oracle DB时出现问题

从AWS DMS连接到Oracle DB时出现问题
EN

Stack Overflow用户
提问于 2019-05-22 15:11:11
回答 1查看 1.4K关注 0票数 2

我想运行一个DMS任务,将数据从本地Oracle DB复制到AWS上的Mysql。我已经获得了防火墙访问权限,并且能够从AWS ec2实例远程登录到oracle DB服务器。此外,我可以使用来自sql developer的相同用户名/pwd和连接字符串登录到数据库,但当我在DMS上测试我的端点时,它会失败,并显示以下错误。

仅供参考,DMS实例与我获得防火墙许可的VPC属于同一个VPC。

代码语言:javascript
复制
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

我在网络和数据库端都进行了检查,似乎没有问题。请提个建议。

EN

回答 1

Stack Overflow用户

发布于 2019-05-31 11:38:08

另一次我遇到了类似的问题,我认为使用相同的VPC创建DMS和Oracle实例可以保证它们之间的连接。我还假设添加条目规则以打开DMS和Oracle实例之间的端口也可以,但它们之间的连接失败,我找到了两种方法:

第一步:创建没有公网IP地址的DMS实例,目的连接通过验证。它第一次起作用了

第二:通过打开条目允许所有IP地址,实例之间的连接将会成功。

看起来不错!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56251178

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档