registering database with oracle restart
sonidbaOct 26 2012 — edited Oct 30 2012I am using 11.2.0.1.0. Initially, I installed the rdbms software with oracle user. Then I installed oracle grid infra too using different user , grid. I am getting problem in starting database using srvctl utility.
[root@host1 ~]# id oracle
uid=501(oracle) gid=502(dba) groups=502(dba),503(oinstall),507(asmdba)
[root@host1 ~]# id grid
uid=502(grid) gid=502(dba) groups=502(dba),503(oinstall),504(asmadmin),506(asmoper),507(asmdba)
[root@host1 ~]# su - oracle
access control disabled, clients can connect from any host
[oracle@host1 ~]$ . oraenv
ORACLE_SID = [orcl] ? db11
[oracle@host1 ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[root@host1 ~]# su - grid
access control disabled, clients can connect from any host
[grid@host1 ~]$ . oraenv
ORACLE_SID = [grid] ? +ASM
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid is /u01/app/oracle
[grid@host1 ~]$
[grid@host1 ~]$ srvctl add database -d db11 -o /u01/app/oracle/product/11.2.0/db_1/
PRCD-1025 : Failed to create database db11
PRKH-1014 : Current user grid is not the same as oracle owner oracle of oracle home /u01/app/oracle/product/11.2.0/db_1/.
Any idea, why am I unable to register my database db11 with srvctl.
Thanks