Problem Description
Creating standby database using Dbvisit fails when Dbvisit attempts to restore a standby control file on the standby server:
channel C_DBVISIT: restoring control file RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 02/20/2014 10:16:35 RMAN-10038: database session for channel C_DBVISIT terminated unexpectedly
Errors showing in the alert log:
ORA-15183: ASMLIB initialization error [driver/agent not installed] WARNING: FAILED to load library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so Errors in file /u01/app/oracle/diag/rdbms/mls/mls/trace/mls_rbal_8058.trc: ORA-15183: ASMLIB initialization error [driver/agent not installed] ORA-00600: internal error code, arguments: [17090], [], [], [], [], [], [], [], [], [], [], [] ORA-00600: internal error code, arguments: [kfioTranslateIO03], [], [], [], [], [], [], [], [], [], [], []
Solution
The problem lies outside Dbvisit product:
https://support.oracle.com/epmos/faces/DocumentDisplay?id=1336846.1
Anna MacNaughtan February 21, 2014 10:52
regarding to this knowledge base article: http://support.dbvisit.com/hc/en-us/articles/216894457-RMAN-10038-When-Restoring-Standby-Control-File
the problem should be fixed by following steps:
Solution #1] Group information for $RDBMS_HOME/bin/oracle should be changed to the group that can read/write to ASM devices.
Please execute the following action plan from note 1084186.1.
$ su - grid
$ cd /bin
$ ./setasmgidwrap o=<11.2 RDBMS Home>/bin/oracle
Solution #2] Reinstall correct ASMlib that matches up to Linux version on the server.
Solution #3] Change config.c entry to "asmadmin" and "relink all" as grid user after unlocking GRID home
See note Oracle Support note 1536057.1 on how to unlock GRID home for relink all.