成人午夜视频全免费观看高清-秋霞福利视频一区二区三区-国产精品久久久久电影小说-亚洲不卡区三一区三区一区

sqlplus中prelim/assysdba宕機(jī)且無法進(jìn)入怎么辦-創(chuàng)新互聯(lián)

這篇文章主要介紹sqlplus中prelim / as sysdba宕機(jī)且無法進(jìn)入怎么辦,文中介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們一定要看完!

創(chuàng)新互聯(lián)建站一直在為企業(yè)提供服務(wù),多年的磨煉,使我們?cè)趧?chuàng)意設(shè)計(jì),成都全網(wǎng)營銷到技術(shù)研發(fā)擁有了開發(fā)經(jīng)驗(yàn)。我們擅長(zhǎng)傾聽企業(yè)需求,挖掘用戶對(duì)產(chǎn)品需求服務(wù)價(jià)值,為企業(yè)制作有用的創(chuàng)意設(shè)計(jì)體驗(yàn)。核心團(tuán)隊(duì)擁有超過10余年以上行業(yè)經(jīng)驗(yàn),涵蓋創(chuàng)意,策化,開發(fā)等專業(yè)領(lǐng)域,公司涉及領(lǐng)域有基礎(chǔ)互聯(lián)網(wǎng)服務(wù)成都服務(wù)器托管、APP應(yīng)用開發(fā)、手機(jī)移動(dòng)建站、網(wǎng)頁設(shè)計(jì)、網(wǎng)絡(luò)整合營銷。

遇到一個(gè)系統(tǒng),數(shù)據(jù)庫無法正常運(yùn)行,查看數(shù)據(jù)庫的進(jìn)程發(fā)現(xiàn)數(shù)據(jù)庫已宕,結(jié)果如下:

[oracle@xiaowu ~]$ ps -ef | grep ora_

oracle 6218 6161 0 09:39 pts/2 00:00:00 grep ora_

用超級(jí)管理員用戶登錄數(shù)據(jù)庫時(shí),系統(tǒng)報(bào) ORA-00020 的錯(cuò)誤,很奇怪,數(shù)據(jù)庫未啟動(dòng),還報(bào)進(jìn)程數(shù)超上限的錯(cuò)誤。

[oracle@xiaowu ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Oct 23 10:48:12 2013

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

ERROR:

ORA-00020:maximum number of processes (500) exceeded

Enter user-name:

解決 ORA-00020 錯(cuò)誤,加大processes的參數(shù)值即可,但是需要正常啟動(dòng)數(shù)據(jù)庫并成功登陸后才能修改,但是現(xiàn)在數(shù)據(jù)庫都無法正常啟動(dòng),一時(shí)想不到解決方法,最后求助資深DBA解決,方法如下:

首先通過加參數(shù) “-prelim” 成功登陸數(shù)據(jù)庫

[oracle@xiaowu ~]$ sqlplus -prelim / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Oct 23 11:10:09 2013

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

SQL> 

此時(shí)就可以正常關(guān)閉和開啟數(shù)據(jù)庫,安裝如下命令操作解決問題:

shutdown immediate;

startup;

show parameter processes;

alter system set processes=1000 scope=spfile;

startup force;

show parameter processes;

exit;

************************************************************************************************
未完全關(guān)閉數(shù)據(jù)庫導(dǎo)致ORA-01012: not logged的解決
首先使用SHUTDOWN NORMAL方式關(guān)閉數(shù)據(jù)庫,在數(shù)據(jù)庫未關(guān)閉時(shí)CTRL+Z停止執(zhí)行,退出用SQLPLUS重登陸,出現(xiàn)報(bào)錯(cuò):ORA-01012: not logged on

實(shí)驗(yàn)如下:

首先執(zhí)行

SYS@bys1>shutdown

ORA-01013: user requested cancel of current operation

[oracle@bys001 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Sat Sep 7 09:05:08 2013

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

Connected.

ERROR:

ORA-01012: not logged on

Process ID: 0

Session ID: 0 Serial number: 0

SYS@bys1>startup

ORA-01012: not logged on

SYS@bys1>conn / as sysdba

Connected to an idle instance.

ERROR:

ORA-01012: not logged on

Process ID: 0

Session ID: 0 Serial number: 0

SYS@bys1>conn bys/bys

ERROR:

ORA-01090: shutdown in progress - connection is not permitted

Process ID: 0

Session ID: 0 Serial number: 0

Warning: You are no longer connected to ORACLE.

解決方法:

找到進(jìn)程,kill掉就可以了。

[oracle@bys001 ~]$ ps -ef |grep ora_dbw0_

oracle    6519     1  0 Sep06 ?        00:00:15 ora_dbw0_bys1

oracle   20947 20924  0 09:08 pts/0    00:00:00 grep ora_dbw0_

[oracle@bys001 ~]$ kill -9 6519

[oracle@bys001 ~]$ ps -ef |grep ora_dbw0_

oracle   20949 20924  0 09:08 pts/0    00:00:00 grep ora_dbw0_

[oracle@bys001 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Sat Sep 7 09:08:22 2013

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

Connected to an idle instance.

SYS@bys1>startup

ORACLE instance started.

Total System Global Area  631914496 bytes

Fixed Size                  1338364 bytes

Variable Size             264242180 bytes

Database Buffers          360710144 bytes

Redo Buffers                5623808 bytes

Database mounted.

Database opened.

SYS@bys1>

以上是“sqlplus中prelim / as sysdba宕機(jī)且無法進(jìn)入怎么辦”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對(duì)大家有幫助,更多相關(guān)知識(shí),歡迎關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司行業(yè)資訊頻道!

當(dāng)前標(biāo)題:sqlplus中prelim/assysdba宕機(jī)且無法進(jìn)入怎么辦-創(chuàng)新互聯(lián)
標(biāo)題鏈接:http://jinyejixie.com/article46/ggehg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站營銷做網(wǎng)站、網(wǎng)站制作、微信小程序、品牌網(wǎng)站建設(shè)、虛擬主機(jī)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

營銷型網(wǎng)站建設(shè)
辉南县| 察隅县| 南溪县| 福州市| 黄梅县| 萝北县| 张家口市| 屏东县| 吴桥县| 会泽县| 东至县| 武胜县| 山阴县| 孝感市| 镇坪县| 赣州市| 楚雄市| 南涧| 南汇区| 吉水县| 长沙县| 东兰县| 宜川县| 靖远县| 鄂伦春自治旗| 密云县| 承德市| 开原市| 原平市| 新晃| 陆丰市| 邵阳县| 嘉鱼县| 和林格尔县| 九寨沟县| 饶平县| 汨罗市| 武乡县| 陕西省| 绥化市| 个旧市|