centos5.5 x64安装oracle11g…

来源:互联网 发布:淘宝改评价内容 编辑:程序博客网 时间:2024/04/29 14:05

1、[oracle@dba ~]$ sqlplus / as sysdba
sqlplus: error while loading shared libraries:/u01/oracle/product/10.2.0/lib/libclntsh.so.11.1: cannot restoresegment prot after reloc: Permission denied
方法:
[root@dba CentOS]# service iptables stop
清除防火墙规则:                                          [确定]
把 chains 设置为 ACCEPT 策略:natfilter                  [确定]
正在卸载 Iiptables模块:                                 [确定]
[root@dba CentOS]# setenforce 0
[root@dba CentOS]# getenforce
Permissive

之后就可以登录了:sqlplus / as sysdba

2、oracle11g安装时遇到的软件问题,和系统参数和之前的10g不一样

11g:
vim /etc/sysctl.conf
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
fs.file-max = 6815744
fs.aio-max-nr = 1048576
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576

软件问题:
centos5.5安装所需软件包 
for i in  binutils-2.17.50.0.6compat-libstdc++-33-3.2.3  elfutils-libelf-0.125elfutils-libelf-devel-0.125 \
    gcc-4.1.2gcc-c++-4.1.2 glibc-2.5-24  glibc-common-2.5glibc-devel-2.5 glibc-headers-2.5 ksh-20060214 \
     libaio-0.3.106 libaio-devel-0.3.106 libgcc-4.1.2  libgcc-4.1.2 libstdc++-4.1.2libstdc++-devel 4.1.2 \
     make-3.81 sysstat-7.0.2 unixODBC-2.2.11 unixODBC-devel-2.2.11
do
        rpm -q $i &>/dev/null || F="$F$i"
done ;echo $F;unset F 
 
之后还是缺少:sysstat-5.0.5,镜像里没有网上下载

原创粉丝点击