DMS: Source End point error. No permissions to access sys.obj$ Endpoint

0

I am trying to create a source EP for a pluggable database, and I get this error when I do a connection test

"Test Endpoint failed: Application-Status: 1020912, Application-Message: No permissions to access sys.obj$ Endpoint initialization failed "

The permission is there SQL> SELECT * FROM DBA_TAB_PRIVS where grantee = 'DATAMIG' and table_name ='OBJ$';

GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRA HIE COM TYPE


DATAMIG SYS OBJ$ SYS SELECT NO NO NO TABLE

The Endpoint settings also has

"UseBFile": true, "UseLogminerReader": false

and still I get the error, please help!

已提问 1 年前401 查看次数
3 回答
2
已接受的回答

Hi, You may want to follow section of "Resolve native database errors" of https://repost.aws/knowledge-center/dms-endpoint-connectivity-failures to investigate your issue.

Additionally, your select seems to show that your grantee doesn't have full auth on the db schema to be migrated. I would start by allowing the grantee to do any action on (test) database and then tighten the auths to a minimum set by restricting them incrementally to finally reach the minimum set.

And maybe, before doing that, I would follow best practice: check that I have proper end-to-end connectivity (routing, sec groups) between the vpc on which the DMS replication instance and my source database, which seems to be remote in your use case.

Best,

Didier

profile pictureAWS
专家
已回答 1 年前
1

Thanks, I realized was missing GRANT SELECT ON V_$CONTAINERS TO db_user;

This is required for pluggable databases.

已回答 1 年前
0

Hi, Can you provide all the grants as per this documentation and test the endpoint

AWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则