- 论坛徽章:
- 0
|
首先我启动了监听程序
- LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 01-DEC-2011 05:06:48
- Copyright (c) 1991, 2009, Oracle. All rights reserved.
- Starting /home/oracle/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
- TNSLSNR for Linux: Version 11.2.0.1.0 - Production
- System parameter file is /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
- Log messages written to /home/oracle/app/oracle/diag/tnslsnr/lysddp/listener/alert/log.xml
- Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
- Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
- Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
- STATUS of the LISTENER
- ------------------------
- Alias LISTENER
- Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
- Start Date 01-DEC-2011 05:06:48
- Uptime 0 days 0 hr. 0 min. 0 sec
- Trace Level off
- Security ON: Local OS Authentication
- SNMP OFF
- Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
- Listener Log File /home/oracle/app/oracle/diag/tnslsnr/lysddp/listener/alert/log.xml
- Listening Endpoints Summary...
- (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
- (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
- The listener supports no services
- The command completed successfully
复制代码 接着打开控制太出错,按提示的那样,确实是缺少那个文件。- [oracle@lysddp ~]$ $ORACLE_HOME/bin/emctl start dbconsole
- OC4J Configuration issue. /home/oracle/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_lysddp_lys not found.
复制代码 然后百度了下,重新配置emctl ,接着执行命令:emca -config dbcontrol db,然后就提示我监听程序没启动。- 输入以下信息:
- 数据库 SID: lys
- 监听程序端口号: 1521
- 监听程序 ORACLE_HOME [ /home/oracle/app/oracle/product/11.2.0/dbhome_1 ]:
- SYS 用户的口令:
- DBSNMP 用户的口令:
- SYSMAN 用户的口令:
- 通知的电子邮件地址 (可选):
- 通知的发件 (SMTP) 服务器 (可选):
- -----------------------------------------------------------------
- 已指定以下设置
- 数据库 ORACLE_HOME ................ /home/oracle/app/oracle/product/11.2.0/dbhome_1
- 本地主机名 ................ lysddp
- 监听程序 ORACLE_HOME ................ /home/oracle/app/oracle/product/11.2.0/dbhome_1
- 监听程序端口号 ................ 1521
- 数据库 SID ................ lys
- 通知的电子邮件地址 ...............
- 通知的发件 (SMTP) 服务器 ...............
- -----------------------------------------------------------------
- 是否继续? [是(Y)/否(N)]: y
- 2011-12-1 5:10:59 oracle.sysman.emcp.EMConfig perform
- 信息: 正在将此操作记录到 /home/oracle/app/oracle/cfgtoollogs/emca/lys/emca_2011_12_01_05_10_36.log。
- 2011-12-1 5:11:00 oracle.sysman.emcp.EMConfig perform
- 严重: 监听程序未启动或数据库服务未注册到该监听程序。启动该监听程序并注册数据库服务, 然后重新运行 EM Configuration Assistant。
- 有关详细资料, 请参阅 /home/oracle/app/oracle/cfgtoollogs/emca/lys/emca_2011_12_01_05_10_36.log 中的日志文件。
- 无法完成配置。 有关详细资料, 请参阅 /home/oracle/app/oracle/cfgtoollogs/emca/lys/emca_2011_12_01_05_10_36.log 中的日志文件。
复制代码 下面我是我/etc/hosts的情况:- 192.168.1.100 lysddp # Added by NetworkManager
- 127.0.0.1 localhost.localdomain localhost
- ::1 lysddp localhost6.localdomain6 localhost6
复制代码 请问大大们这个要怎么解决,旁边也没同学弄过整个,麻烦大家指点下吧。 |
|