RMAN-06136: ORACLE error from auxiliary database: string

Hi,

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
Cause: This message should be accompanied by other error message(s) indicating the cause of the error.
Action: Check the accompanying errors.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
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.

Or

 

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.

https://ittutorial.org/rman-backup-restore-and-recovery-tutorials-for-beginners-in-the-oracle-database/

 

 352 views last month,  2 views today

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress mehmetsalih.deveci@outlook.com.-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  mehmetsalih.deveci@outlook.com a mail atabilirsiniz.

Check Also

ORA-01438: value larger than specified precision allowed for this column

Hi, I got ” ORA-01438: value larger than specified precision allowed for this column” error …

Leave a Reply