linux杀死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
總結
以上是生活随笔為你收集整理的linux杀死oracle进程,杀死进程后,oracle数据库无法启动的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: (一)prometheus与grafan
- 下一篇: linux下字符串操作,Linux Ba