您好,登錄后才能下訂單哦!
這篇文章主要介紹“怎么解決啟動(dòng)Oracle報(bào)錯(cuò)ORA-27102問題”,在日常操作中,相信很多人在怎么解決啟動(dòng)Oracle報(bào)錯(cuò)ORA-27102問題問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對(duì)大家解答”怎么解決啟動(dòng)Oracle報(bào)錯(cuò)ORA-27102問題”的疑惑有所幫助!接下來,請(qǐng)跟著小編一起來學(xué)習(xí)吧!
SQL> startup pfile='/u01/oracle/product/11gr2/db_home/dbs/initerp.ora'
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
# 報(bào)錯(cuò)原因
# 查看內(nèi)核參數(shù)配置文件,發(fā)現(xiàn)關(guān)于內(nèi)存的內(nèi)核參數(shù)被修改成很小的值,這個(gè)值遠(yuǎn)遠(yuǎn)低于數(shù)據(jù)庫SGA、PGA內(nèi)存參數(shù)設(shè)置的值;進(jìn)而導(dǎo)致數(shù)據(jù)庫無法啟動(dòng)。
$ cat sysctl.conf
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 536870912
net.ipv4.ip_local_port_range = 9000 65500
kernel.shmall = 2097152
kernel.shmmax = 2147483648
# 解決方法
# 注釋掉錯(cuò)誤的參數(shù),重新刷新內(nèi)核參數(shù)
[root@erp2 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
SQL> startup pfile='/u01/oracle/product/11gr2/db_home/dbs/initerp.ora'
ORACLE instance started.
Total System Global Area 1.0689E+10 bytes
Fixed Size 2216344 bytes
Variable Size 1946160744 bytes
Database Buffers 8724152320 bytes
Redo Buffers 16945152 bytes
Database mounted.
Database opened.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
到此,關(guān)于“怎么解決啟動(dòng)Oracle報(bào)錯(cuò)ORA-27102問題”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注億速云網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。