/etc/oratab
文件内容:
# This file is used by ORACLEutilities. It is created by root.sh 这个文件被ORACLEutilities使用,由root.sh创建。
# and updated by the Database ConfigurationAssistant when creating 当创建数据库时,Database Configuration Assistant(DBCA)会更新这个文件。
# a database.
# A colon, ':', is used as the fieldterminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', arecomments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y|W>: $ORACLE_SID:$ORACLE_HOME:<N|Y|W>
# N:数据库随系统启动而不会自动启动
# The first and second fields are thesystem identifier and home Y:数据库随系统启动而启动
# directory of the databaserespectively. The third filed indicates 此配置文件被$ORACLE_HOME/bin/dbstart|dbshut读取,进而实现相应的启动选择。
# 调用dbstart时应将其写入/etc/rc.local里
# Multiple entries with the same$ORACLE_SID are not allowed.
#
#
sales:/u01/app/oracle/product/11.2.0.3/dbhome_1:N