# vi /etc/oratab
SINTEXA:
[NOME_DA_INSTÂNCIA]:[ORACLE_HOME]:[Y/N]
[NOME_DA_INSTÂNCIA] : USER/ORACLE $echo $ORACLE_SID;
[ORACLE_HOME] : USER/ORACLE $echo $ORACLE_HOME.
[Y/N] : Y= Automating Startup / N= No Automating Startup .
Example
root@aix(/)# su - oracle
[YOU HAVE NEW MAIL]
$ . ./profileoracle
$ echo $ORACLE_HOME
/opt/app/oracle/product/11.2.0/db_1
$ echo $ORACLE_SID
orcl
$ cat /etc/oratab
orcl:/opt/app/oracle/product/11.2.0/db_1:Y # line added by Agent
#orcl:/opt/app/oracle/product/11.2.0/db_1:N # line added by Agent
0 comentários:
Post a Comment