分类: Oracle
2012-06-18 13:57:43
Oracle启动EM步骤记录
1,cat /etc/hosts 查看DNS映射
2,/sbin/ifconfig 查看ip
3,cat /etc/sysconfig/network 查看hostname设置
4,cat .bash_profile 查看PATH变量设置
5,cd $ORACLE_HOME/network/admin 查看监听器,TNS设置
6,cat listener.ora 查看监听器设置
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PL***tProc)
(ORACLE_HOME = /u01/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.105)(PORT = 1521))
)
)
7,cat tnsnames.ora 查看TNS设置
DV11 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.105)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dv11)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PL***tProc)
(PRESENTATION = RO)
)
)
8,cat sqlnet.ora
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
9,lsnrctl start 启动监听器
10,sqlplus /nolog 进入sqlplus
11,conn / as sysdba 连接数据库
12,startup 启动数据库
13,emctl start dbconsole 启动em
14,isqlplusctl start 启动isqlplus
15,
16,