Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2919786
  • 博文数量: 454
  • 博客积分: 4860
  • 博客等级: 上校
  • 技术积分: 6375
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-13 10:08
个人简介

10年工作经验,专研网站运维。

文章分类

全部博文(454)

文章存档

2017年(11)

2016年(13)

2015年(47)

2014年(36)

2013年(147)

2012年(64)

2011年(136)

分类: 系统运维

2013-04-18 17:32:43

报错信息:
报错信息一:

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

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