这篇文章嘲讽难一下死读书自己
重装系统以后,第二天就不装oracel,由于装了很多遍了,又是再0晨装,所以有点大意。oracle检测环境时碰到标题的两个问题,觉得自己配置应该不可能有问题,系统也是新的,就忽略了进行安装,然后果断安装失败。
接下来,就是一天,重装系统,立刻再装oracle时发现还是有这三个问题,于是放弃了安装,打算好好看看安装日志,哪里出现问题。
日志中的错误记录"
INFO: Verification Result for Node:pc-mjj
INFO: Expected Value:65536
INFO: Actual Value:4096
INFO: Error Message:PRVF-4354 : Proper hard limit for resource "maximum open file descriptors" not found on node "pc-mjj" [Expected = "65536" ; Found = "4096"]
INFO: Cause: Hard limit for the resource does not meet the requirement on the specified node.
INFO: Verification Result for Node:pc-mjj
INFO: Expected Value:16384
INFO: Actual Value:14446
INFO: Error Message:PRVF-4354 : Proper hard limit for resource "maximum user processes" not found on node "pc-mjj" [Expected = "16384" ; Found = "14446"]
INFO: Cause: Hard limit for the resource does not meet the requirement on the specified node.
INFO: Action: Modify the resource limits to meet the requirement.
INFO: Cause: Soft limit for the resource does not meet the requirement on the specified node.
INFO: Action: Modify the resource limits to meet the requirement.
一看是硬件和软件的大小使用量?想到了安装前配置过得文件vi /etc/security/limits.conf
进去一看:
oracle soft nproc 2047
oracle hard nproc 16348
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
数据没错啊,再看上面的日志文件Proper hard limit for resource "maximum user processes" not found on node "pc-mjj",会发现原来自己的mjj用户根本就没有配置过。好吧,那就是说第一行的oracle 是用户名,我装在mjj用户下,改成mjj就OK了。
死读书不死谁死。