10年工作经验,专研网站运维。
全部博文(454)
分类: 系统运维
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