日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) >

oracle fuser lk,oracle错误集锦

發(fā)布時(shí)間:2025/3/21 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle fuser lk,oracle错误集锦 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

1、 啟動(dòng)oracle11g數(shù)據(jù)庫(kù)時(shí):

SQL> startup;

ORA-01078: failure in processing system parameters

LRM-00109: could not open parameter file '/u01/oracle11/app/oracle/product/db_1/dbs/initGLORY7.ora'

oracle默認(rèn)將使用spfile啟動(dòng)數(shù)據(jù)庫(kù),如果spfile不存在,則就會(huì)出現(xiàn)上述錯(cuò)誤

解決辦法:拷貝文件并授權(quán)

[oracle@oracle dbs]$ cp /u01/oracle11/app/admin/orcl/pfile/init.ora.0182012151041 /u01/oracle11/app/oracle/product/db_1/dbs/initGLORY7.ora

[oracle@oracle dbs]$?chmod 755 /u01/oracle11/app/oracle/product/db_1/dbs/initGLORY7.ora

2、tmpfs ? ? ? ? ? ? ? ?1006M ?482M ?525M ?48% /dev/shm

SQL> startup;

ORA-00845: MEMORY_TARGET not supported on this system

解決辦法:把虛擬內(nèi)存增大到要求的最低值以上

[root@oracle ~]# mount -o remount,size=4G /dev/shm

[root@oracle ~]# cat /etc/fstab

LABEL=/ ? ? ? ? ? ? ? ? / ? ? ? ? ? ? ? ? ? ? ? ext3 ? ?defaults ? ? ? ?1 1

LABEL=/boot ? ? ? ? ? ? /boot ? ? ? ? ? ? ? ? ? ext3 ? ?defaults ? ? ? ?1 2

tmpfs ? ? ? ? ? ? ? ? ? /dev/shm ? ? ? ? ? ? ? ?tmpfs ? defaults,size=4G ? ? ? ?0 0

3、lk 文件沒(méi)有被釋放

SQL> startup;

ORACLE instance started.

Total System Global Area ?839282688 bytes

Fixed Size ? ?2149040 bytes

Variable Size ?482346320 bytes

Database Buffers ?352321536 bytes

Redo Buffers ? ?2465792 bytes

ORA-01102: cannot mount database in EXCLUSIVE mode

是lk文件造成的,該文件位于ORALCE_HOME下的dbs目錄下

[root@oracle dbs]# fuser -u lkORCL

lkORCL: ? ? ? ? ? ? ? 8393(oracle) ?8401(oracle) ?8403(oracle) ?8409(oracle) ?8411(oracle) ?8413(oracle) ?8415(oracle) ?8417(oracle) ?8419(oracle) ?8421(oracle) ?8423(oracle) ?8437(oracle) ?8439(oracle) ?8441(oracle) ?8455(oracle) ?8522(oracle) ?8524(oracle) ?8526(oracle) 13334(oracle) 13356(oracle)

該文件沒(méi)釋放,用fuser命令kill掉:

[root@oracle dbs]# fuser -k lkORCL

lkORCL: ? ? ? ? ? ? ? 8393 ?8401 ?8403 ?8409 ?8411 ?8413 ?8415 ?8417 ?8419 ?8421 ?8423 ?8437 ?8439 ?8441 ?8455 ?8522 ?8524 ?8526 13334

[root@oracle dbs]# fuser -u lkORCL

[root@oracle dbs]#

關(guān)閉數(shù)據(jù)庫(kù),再startup;即可啟動(dòng)

總結(jié)

以上是生活随笔為你收集整理的oracle fuser lk,oracle错误集锦的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。