Sometimes You can get “RMAN-06136: ORACLE error from auxiliary database: string ” error.
Details of error are as follows.
RMAN-06136: ORACLE error from auxiliary database: string
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-03002: failure of Duplicate Db command at 10/12/2015 14:27:46
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-19741: 156 exceeds maximum allowable length of 64 for parameter ‘service’
This error is related with the bug 22154632: RMAN-06136: ORACLE ERROR FROM AUXILIARY DATABASE: ORA-19741: 156 EXCEEDS MAXIMUM
This bug reports a limit of 64 characters for the ‘from service’ used by RMAN with the active duplicate. The fix for the bug will increase the limit.
To solve this error, Check for patch availability.
Workaround the bug by creating a TNS alias, reducing the size of the service to less than 64 characters.
connect target <USERNAME>@<TNS ALIAS TARGET> connect auxiliary <USERNAME>@<TNS ALIAS AUX> ... duplicate ....
NOTE: One customer reported that using the undocumented ‘USING COPY’ option in duplicate also resolved the issue. For example :
duplicate target database to <AUX SID> from active database using copy
Do you want to learn more details about RMAN, then read the following articles.
2,066 views last month, 1 views today