ORACLE安装过程中检查步骤出现的错误和解决方法【转】

Checking operating system requirements ...
Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
Actual Result: redhat-4
Check complete. The overall result of this check is: Passed
=======================================================================

Checking operating system package requirements ...
Checking for make-3.79; found make-1:3.80-5. Passed
Checking for binutils-2.14; found binutils-2.15.92.0.2-10.EL4. Passed
Checking for gcc-3.2; found gcc-3.4.3-9.EL4. Passed
Checking for libaio-0.3.96; found Not found. Failed <<<<
Check complete. The overall result of this check is: Failed <<<<
Problem: Some packages required for the Oracle Database 10g to function properly are missing (see above).
Recommendation: Install the required packages before continuing with the installation.
=======================================================================

Checking kernel parameters
Checking for semmsl=250; found semmsl=250. Passed
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=100. Passed
Checking for semmni=128; found semmni=128. Passed
Checking for shmmax=536870912; found shmmax=2147483648. Passed
Checking for shmmni=4096; found shmmni=4096. Passed
Checking for shmall=2097152; found shmall=2097152. Passed
Checking for file-max=65536; found file-max=65536. Passed
Checking for VERSION=2.6.9; found VERSION=2.6.9-5.ELsmp. Passed
Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000. Passed
Checking for rmem_default=262144; found rmem_default=110592. Failed <<<<
Checking for rmem_max=262144; found rmem_max=131071. Failed <<<<
Checking for wmem_default=262144; found wmem_default=110592. Failed <<<<
Checking for wmem_max=262144; found wmem_max=131071. Failed <<<<
Check complete. The overall result of this check is: Failed <<<<
Problem: The kernel parameters do not meet the minimum requirements (see above).
Recommendation: Perform operating system specific instructions to update the kernel parameters.
=======================================================================

Checking Recommended glibc version
Expected result: ATLEAST=2.3.2-95.27 
Actual Result: 2.3.4-2
Check complete. The overall result of this check is: Passed
=======================================================================

Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 1000MB
Check complete. The overall result of this check is: Passed
=======================================================================

Checking available swap space requirements ...
Expected result: 1500MB
Actual Result: 5090MB
Check complete. The overall result of this check is: Passed
=======================================================================

Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses.  However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly.  See the Installation Guide for more details on installing the software on systems configured with DHCP.
=======================================================================

Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed
=======================================================================

Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed
=======================================================================

Checking for proper system clean-up....
Check complete. The overall result of this check is: Passed
=======================================================================

Checking for Oracle Home incompatibilities ....
Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed
=======================================================================

////解决问题如下

针对以下问题:

Checking for rmem_default=262144; found rmem_default=110592. Failed <<<<
Checking for rmem_max=262144; found rmem_max=131071. Failed <<<<
Checking for wmem_default=262144; found wmem_default=110592. Failed <<<<
Checking for wmem_max=262144; found wmem_max=131071. Failed <<<<
Check complete. The overall result of this check is: Failed

一 
打开/etc/sysctl.conf 复制如下内容

kernel.shmall =
kernel.shmmax =
kernel.shmmni =
kernel.sem =
fs.file-max =
net.ipv4.ip_local_port_range =
net.core.rmem_default=
net.core.wmem_default=
net.core.rmem_max=
net.core.wmem_max=

使用/sbin/sysctl -p 是文件重新加载

二  在第三张光盘里面的安装一个 libaio 程序包
对于出现以下情况
Checking for libaio-0.3.96; found Not found. Failed <<<<
Check complete. The overall result of this check is: Failed <<<<

针对以下问题
Checking for rmem_default=262144; found rmem_default=110592. Failed <<<<
Checking for rmem_max=262144; found rmem_max=131071. Failed <<<<
Checking for wmem_default=262144; found wmem_default=110592. Failed <<<<
Checking for wmem_max=262144; found wmem_max=131071. Failed <<<<
Check complete. The overall result of this check is: Failed 
三 生问题后,搜索了很多网上的资源,其中发现竟然有很多我都遇到了和我相同的问题,于是,通过ORACLE安装光盘,打开ORACLE提供的标准安装文档(该文档NNNN多内容,所以一开始并没有仔细看),仔细看了文档关于网络环境的配置,终于找到了解决方法,并在实际环境测试通过:
以ROOT用户进入,修改/ETC/HOSTS文件的以下内容:
示例:

127.0.0.1 localhost.localdomain localhost
180.84.33.121 oracle.team02

注:xxxx.xxxx.xxxx.xxxx是本地IP地址 xxxx.com是本地的域名全名,使用hostname命令取出 xxxx是域名简写 ORA

上一篇:android正在运行进程和后台缓存进程的区别


下一篇:发布FireBird数据库所需要DLL文件