oracle进程怎么开启,杀死进程后,oracle数据库无法启动

报错信息:

报错信息一:

You are running addbctl.sh version 120.1

Starting the database PROD ...

SQL*Plus: Release 11.1.0.7.0 - Production on Thu Apr 18 17:18:44 2013

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

Connected.

ORA-01081: cannot start already-running ORACLE - shut it down first

Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

addbctl.sh: exiting with status 9

报错信息二:

ORA-00205: error in identifying control file, check alert log for more info

Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

addbctl.sh: exiting with status 9

原因:

上次关闭数据库是通过杀死进程的方式。  所以这次无法正常启动。

解决方法:

1. ps查看ora的进程,然后将其全部杀死,用kill -9命令。

2. 删除文件: /d01/penske/ora11g/product/11.2.0/dbhome_1/dbs/lkPROD

如果不删除这个文件,数据库还是启动不起来。

3. 删除共享内存段:

查看共享内存段:  ipcs

将属于oracle的用户的删除:

ipcrm -m 0

ipcrm -s 0

序号根据   man  ipcrm 来查找即可。

4. 正常启动即可。

/d01/penske/ora11g/product/11.2.0/dbhome_1/appsutil/scripts/PROD_plaspashcn13/addbctl.sh start

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值