linux下在安装完oracle数据库后试图使用dbstart启动数据库但是没有反应这时需要更改一下oracle的配置su rootvi /etc/oratab*:/opt/oracle/p
首页 → 数据库技术
背景:
阅读新闻
oracle数据库在linux中dbstart没有反应的解决
[日期:2008-03-22]来源:linux公社 作者:linux整理[字体:]
linux下在安装完oracle数据库后试图使用dbstart启动数据库但是没有反应这时需要更改一下oracle的配置
su root
vi /etc/oratab
*:/opt/oracle/product/9.2.0.4:n
ego:/opt/oracle/product/9.2.0.4:n
将对应的数据库改为y就可以
*:/opt/oracle/product/9.2.0.4:n
ego:/opt/oracle/product/9.2.0.4:y
上面是我的配置
>dbstart
can't find init file for database ego.
database ego not started.
意思就是没有找到init文件 我的数据库实例是ego
这个文件在$oracle_home/dbs/目录下
>cd $oracle_home/dbs
解决办法就是建立一个initego.ora的软连接就可以了
> ln -s spfileego.ora initego.ora
这样就可以
>dbstart
sql*plus: release 9.2.0.4.0 - production on 星期五 3月 21 14:40:10 2008
copyright (c) 1982, 2002, oracle corporation. all rights reserved.
sql> connected to an idle instance.
sql> oracle instance started.
total system global area 236000356 bytes
fixed size 451684 bytes
variable size 201326592 bytes
database buffers 33554432 bytes
redo buffers 667648 bytes
database mounted.
database opened.
sql> disconnected from oracle9i enterprise edition release 9.2.0.4.0 - production
with the partitioning, olap and oracle data mining options
jserver release 9.2.0.4.0 - production
database ego warm started.
0
rhel5.1 下安装oracle 10.2.0.1及常见错误的解决
suse中开启ldap服务致mysql无法启动的解决
相关资讯 linux oracle
图片资讯
本文评论查看全部评论 (0)
评论声明
最新资讯
本周热门
linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
本站(linuxidc)所刊载文章不代表同意其说法或描述,,仅为提供更多信息,也不构成任何建议。
copyright © 2006-2011 linux公社 all rights reserved 浙icp备06018118号