Maison  >  Article  >  base de données  >  Oracle数据库在Linux中dbstart没有反应的解决

Oracle数据库在Linux中dbstart没有反应的解决

WBOY
WBOYoriginal
2016-06-07 16:51:231243parcourir

Linux下在安装完Oracle数据库后试图使用dbstart启动数据库但是没有反应这时需要更改一下oracle的配置su rootvi /etc/oratab*:/opt/oracle/p

Linux公社

首页 → 数据库技术

背景:

阅读新闻

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.

linux

  • 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号

    Déclaration:
    Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn