配置oracle 监听和oracle EM
2013-11-12 18:29
330 查看
配置和启动Oracle Enterprise Manager
关闭顺序:EM、isql*plus---->监听---->数据库
启动顺序:监听---->数据库----->EM、isql*plus
启动详解:(注意网络的配置)配置、启动监听
① 先配置监听程序:
[oracle@oracle_2~]$ netcaOracleNet Services Configuration:
Warning:Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1"to type FontStruct
ConfiguringListener:LISTENER
Next
Next
…..
Next
Finish
② 启动监听程序:
[oracle@oracle_2~]$ lsnrctl startLSNRCTLfor Linux: Version 10.2.0.1.0 - Production on 10-NOV-2013 19:27:49
Copyright(c) 1991, 2005, Oracle. All rightsreserved.
Starting/u01/app/oracle/product/10.2.0/bin/tnslsnr: please wait...
TNSLSNRfor Linux: Version 10.2.0.1.0 - Production
Systemparameter file is /u01/app/oracle/product/10.2.0/network/admin/listener.ora
Logmessages written to /u01/app/oracle/product/10.2.0/network/log/listener.log
Listeningon: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle_2)(PORT=1521)))
Listeningon: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Connectingto (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle_2)(PORT=1521)))
STATUSof the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version10.2.0.1.0 - Production
StartDate 10-NOV-2013 19:27:49
Uptime 0 days 0 hr. 0 min. 0 sec
TraceLevel off
Security ON: Local OS Authentication
SNMP OFF
ListenerParameter File /u01/app/oracle/product/10.2.0/network/admin/listener.ora
ListenerLog File /u01/app/oracle/product/10.2.0/network/log/listener.log
ListeningEndpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle_2)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
ServicesSummary...
Service"PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", statusUNKNOWN, has 1 handler(s) for this service...
Thecommand completed successfully
③ 启动数据库
[oracle@oracle_2~]$ sqlplus / as sysdbaSQL*Plus:Release 10.2.0.1.0 - Production on Sun Nov 10 19:30:40 2013
Copyright(c) 1982, 2005, Oracle. All rightsreserved.
Connectedto an idle instance.
SYS@orcl>startup
ORACLEinstance started.
TotalSystem Global Area 285212672 bytes
FixedSize 1218992 bytes
VariableSize 92276304 bytes
DatabaseBuffers 188743680 bytes
RedoBuffers 2973696 bytes
Databasemounted.
Databaseopened.
SYS@orcl>
④ 启动isql*plus
[oracle@oracle_2~]$ isqlplusctl startiSQL*Plus10.2.0.1.0
Copyright(c) 2003, 2005, Oracle. All rightsreserved.
StartingiSQL*Plus ...
iSQL*Plusstarted.
[oracle@oracle_2~]$
[oracle@oracle_2~]$ netstat -tulnp|grep 5560
(Notall processes could be identified, non-owned process info
will not be shown, you would have to be rootto see it all.)
tcp 0 0 0.0.0.0:5560 0.0.0.0:* LISTEN 11889/java
可以通过物理机的IE浏览器看一下是否启动:
http://192.168.12.70:5560/isqlplus/ (192.168.12.70是你的IP地址)
注:EM一旦建立以后,Linux服务器的主机名字就不要改变
⑤ 启动Enterprise Manager (EM)
[oracle@oracle_2~]$ emctl start dbconsoleTZset to PRC
OracleEnterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright(c) 1996, 2005 Oracle Corporation. Allrights reserved.
http://oracle_2:1158/em/console/aboutApplication
StartingOracle Enterprise Manager 10g Database Control ............................started.
------------------------------------------------------------------
Logsare generated in directory/u01/app/oracle/product/10.2.0/oracle_2_orcl/sysman/log
[oracle@oracle_2~]$
[oracle@oracle_2~]$ netstat -tulnp|grep 1158
(Notall processes could be identified, non-owned process info
will not be shown, you would have to be rootto see it all.)
tcp 0 0 0.0.0.0:1158 0.0.0.0:* LISTEN 17917/java
[oracle@oracle_2~]$
此时可以登录到EM看一下是否可以登录:
http://192.168.12.70:1158/em/
相关文章推荐
- Oracle EM配置失败后,提示用户名、密码失效(未配置监听)
- 使用database control 配置数据库时,要求在当前oracle主目录中配置监听程序,必须运行Netca以配置监听程序,然后才能继续。或者可以选择继续,但是不要使用database cont
- Oracle安装-------实例化EM 配置文件时出错问题 ( 转 )
- Oracle 数据库监听配置
- 如何重新配置Oracle的EM Database Control
- ORACLE 监听配置,ORA-01086,事务,序列,savepoint,flashback,修改表数据和结构
- Oracle配置监听和连接,以及一些比较容易混淆的相关概念
- oracle 11g 安装及监听配置的问题 1521端口被其他软件使用
- oracle入门很简单:三、配置oracle监听程序
- Oracle 数据库监听配置
- Oracle修改配置文件实现多个监听
- Oracle监听配置详解
- Oracle监听程序的配置
- Oracle监听配置及访问方式完全解析
- [转]通过Net Manager 配置Oracle 11g本地监听服务(listener service)
- oracle监听错误与hosts文件配置
- Oracle 12c pdb/cdb 监听和tns 配置
- Oracle配置:监听程序
- ORACLE 10g手动配置监听
- Oracle Enterprise Linux 64-bit 下Oracle11g的监听配置改动及測试步骤