liunx安裝oracle 12C錯誤

錯誤信息1:

 PRVF-4354 : Proper hard limit for resource "maximum open file descriptors" not found on node "localhost" [Expected = "65536" ; Found = "4096"]

解決方法:

  vim /etc/security/limits.conf文件並添加以下行:
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

 

錯誤信息2

OS Kernel Parameter: semmsl - This is a prerequisite condition to test whether the OS kernel parameter "semmsl" is properly set

 

解決方法

編輯文件 vim /etc/sysctl.conf  添加如下

kernel.sem=250 32000 100 128
fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.shmall = 2097152

kernel.shmmax = 1482344448

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65500

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048576
 

具體參數根據報錯信息設置

輸入/sbin/sysctl  -p,使配置生效

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章