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!

gefragt vor einem Jahr399 Aufrufe
3 Antworten
2
Akzeptierte Antwort

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
EXPERTE
beantwortet vor einem Jahr
1

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

This is required for pluggable databases.

beantwortet vor einem Jahr
0

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

AWS
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen