Chinaunix首页 | 论坛 | 博客
  • 博客访问: 526761
  • 博文数量: 159
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1264
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-20 14:15
个人简介

LoveMoney

文章存档

2016年(2)

2015年(8)

2014年(148)

2011年(1)

分类: 系统运维

2014-09-28 15:58:22

报错信息:
报错信息一:

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

阅读(1730) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~