ubuntu,debian,redhat,fedora,centos
« »
2008-06-10Oracle

44

How to start oracle em manully?

可能出现的错误如下,没有ORACLE_SID的 环境变量, 可能网络地址和环境发生变化,比如主机名修改等.

oracle@Martin:~/product/10.2/db_1/bin> ./emctl start dbconsole
TZ set to PRC
EM Configuration issue. /opt/oracle/product/10.2/db_1/localhost_orcl not found.

oracle@Martin:~/product/10.2/db_1/bin> ./emctl start dbconsole
TZ set to PRC
OC4J Configuration issue. /opt/oracle/product/10.2/db_1/oc4j/j2ee/OC4J_DBConsole_localhost_orcl not found.


修正方式:

oracle@Martin:~/product/10.2/db_1/oc4j/j2ee> cp -R OC4J_DBConsole_Martin.bmc.com_orcl OC4J_DBConsole_localhost_orcl

oracle@Martin:~/product/10.2/db_1> cp -R Martin.bmc.com_orcl/ localhost_orcl

oracle@Martin:~/product/10.2/db_1> bin/emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://Martin.bmc.com:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ………………………. started.
——————————————————————
Logs are generated in directory /opt/oracle/product/10.2/db_1/localhost_orcl/sysman/log

启动了后访问:

http://localhost:1158/em/

手工启动Oracle实例的方法

1) sqlplus

sqlplus /nolog

connect sys/manager as sysdba

startup

2) rcoracle

需要修改如下几个文件:/etc/oraInst.loc? /etc/oratab /? /etc/sysconfig/oracle /opt/oracle/product/10.2/db_1/bin/dbstart /usr/sbin/rcoracle 修改这些文件中的路径等信息知道 rcoracle start 命令不出错为止。

您还可能感兴趣的内容

日志信息 »

该日志于2008-06-10 09:43由 x72 发表在Oracle分类下, 通告目前不可用,你可以至底部留下评论。

没有评论

发表评论 »

返回顶部