您好,登錄后才能下訂單哦!
這篇文章主要介紹“怎么解決啟動Oracle報錯ORA-27102問題”,在日常操作中,相信很多人在怎么解決啟動Oracle報錯ORA-27102問題問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”怎么解決啟動Oracle報錯ORA-27102問題”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!
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
# 報錯原因
# 查看內核參數配置文件,發現關于內存的內核參數被修改成很小的值,這個值遠遠低于數據庫SGA、PGA內存參數設置的值;進而導致數據庫無法啟動。
$ 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
# 解決方法
# 注釋掉錯誤的參數,重新刷新內核參數
[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.
到此,關于“怎么解決啟動Oracle報錯ORA-27102問題”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注億速云網站,小編會繼續努力為大家帶來更多實用的文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。