你的位置:
问答吧
-> 数据库
-> 问题详情
oracle 启动不起来 吐血了 !
系统是 SuSE 10.2 ,文本和图形 界面都安装试过 ,启动企业管理器时都是同样的问题 ,要吐血了 !~
试过很多中方法 , 刚装好时 emctl start dbconsole 提示少 **文件 ,于是就自己创建了那些提示少的文件和文件夹 :
代码:
/opt/oracle/product/10.2/db_1/oc4j/j2ee/OC4J_DBConsole_null_orcl/
/opt/oracle/product/10.2/db_1/null_orcl/sysman
/opt/oracle/product/10.2/db_1/null_orcl/sysman/config/emd.properties
/opt/oracle/product/10.2/db_1/null_orcl/sysman/config /opt/oracle/product/10.2/db_1/oc4j/j2ee/OC4J_DBConsole_null_orcl/config
/opt/oracle/product/10.2/db_1/oc4j/j2ee/OC4J_DBConsole_null_orcl/config/http-web-site.xml下面是那个http-web-site.xml的内容 :
port=5500
不知写对没有 呵呵
还有那个emd.properties 是没内容的 ,只是创建了而已
这样搞了之后 ,它自己是有启动的过程了,但还是不行的 ,可能是上面那些文件错吧 ?这里哪位大侠有正确的文件的 ,在这里发一下,总之系统上总没有那些文件 ,感激万分 !下面是错误代码 :
代码:
SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/10.2/db_1/dbs/initorcl.ora'
代码:
oracle@linux:~>product/10.2/db_1/bin/lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 27-DEC-2006 19:27:12
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/oracle/product/10.2/db_1//bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Log messages written to /opt/oracle/product/10.2/db_1/network/log/listener.log
Error listening on: (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Linux Error: 2: No such file or directory
Listener failed to start. See the error message(s) above...
代码:
oracle@linux:~>product/10.2/db_1/bin/emctl start dbconsole
TZ set to PRC
Exception in getting local host
java.net.UnknownHostException: linux: linux
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at oracle.sysman.emSDK.conf.TargetInstaller.getLocalHost(TargetInstaller.java:4977)
at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3758)
Exception in getting local host
java.net.UnknownHostException: linux: linux
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at oracle.sysman.emSDK.conf.TargetInstaller.getLocalHost(TargetInstaller.java:4977)
at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3758)
Exception in getting local host
java.net.UnknownHostException: linux: linux
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at oracle.sysman.emSDK.conf.TargetInstaller.getLocalHost(TargetInstaller.java:4977)
at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3758)
Exception in getting local host
java.net.UnknownHostException: linux: linux
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at oracle.sysman.emSDK.conf.TargetInstaller.getLocalHost(TargetInstaller.java:4977)
at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3758)
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://:/em/console/aboutApplication
Error opening logfile for output in nmeula_new
Error opening logfile for output in nmeula_new
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /opt/oracle/product/10.2/db_1/null_orcl/sysman/logSuSE 10.2 上装了两次了 ,SLES 上也一样 ,同样的问题 ,ISQLPLUS 是能启动 的 ,没学过Oracle ,已经很多次了,这里哪位高手一定要帮忙解决下 ,先谢了
吐血L 。。。。。 T.T
作者: hellfox
发布时间: 2006-12-28
安装之后测试一下是否安装正确
startup
shutdown
如果不能关闭或者启动,证明安装出错。这样就只能重装。
如果是重启之后启不了的,想一下,安装过程是否与官方文档上讲的一致??
楼主要不到 CU 论坛上发帖问问??
我不知道怎么弄。不写了,咳嗽中.........
作者: huohuliaisili
发布时间: 2006-12-29
很简单的问题,第一个错误是,你没有创建orcl instance,很有可能没有这个orcl数据库
第二个错误,你没有设定listener.ora文件,10g可以使用netca命令启动图形界面来创建listener***
作者: daniey
发布时间: 2006-12-30
感谢带病给我回复 哦 想到了 可能安装时选错了选项 没选要创建数据库 只选了装软件 像以前装 apache 时一样 没装例子包 永远也不会出现 index.htm 所以永远也打不开主页 恍然大误 3Q 明天再搞 已太晚了
作者: hellfox
发布时间: 2006-12-30
sels10 suse10.2 都装上ORACLE,可以使用,但安装时有警告和错误,10.2的多一点.
所以在那个有什么自定义还是什么意思那里打勾它就给安装.
这样装完的可能是不完整或有些东东用不了(系统是中文的,便ORACLE中的表注释不能显示中文)
.不管了,学一点先.到时再重装.
作者: uljling
发布时间: 2007-01-04
建议去oracle的otn下本oracle安装手册看看把。。。。这些错误提示很明显得。。。。
第一个市参数文件没有,第二个市监听的参数文件的 ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521 host 后面每东西的?
作者: dancingpig
发布时间: 2007-02-06
不能关闭和启动不一定就是 安装错误
如果按照这样的逻辑如果彭倒介质恢复的话难道都要重装阿???
作者: dancingpig
发布时间: 2007-02-06
你没有配置实例,或着是实例文件丢失。could not open parameter file '/opt/oracle/product/10.2/db_1/dbs/initorcl.ora'是说这个文件不存在,你可以用dbca创建一个实例以及实例文件。
作者: zwangxin
发布时间: 2007-03-03