日期:2014-05-16  浏览次数:47891 次

启动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 = PLSExtProc)
      (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 = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

8,cat sqlnet.ora

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)  

9,lsnrctl start                                        启动监听器

10,sqlplus /nolog                                进入sqlplus

11,conn / as sysdba            &nbs