Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install oracle 10g under RHEL6

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This seems to be missing 32-bit package, you try to install 32-bit installation package try

yum install libXt.i686 libXtst.i686 libXp.i686 --setopt=protected_multilib=false

Error: Protected multilib versions:

yum -y install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make sysstat

configured

#groupadd oinstall

#groupadd dba

#useradd -m -g oinstall -G dba oracle

#mkdir -p /u01/app/oracle

#chown -R oracle:oinstall /u01

#chmod -R 775 /u01

kernel.shmall = 2097152

kernel.shmmax = 2147483648

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

fs.file-max = 65536

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default = 262144

net.core.rmem_max = 262144

net.core.wmem_default = 262144

net.core.wmem_max = 262144

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

TMP=/tmp

TMPDIR=$TMP

ORACLE_BASE=/u01/app/oracle

ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1

ORACLE_SID=orcl

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

PATH=$ORACLE_HOME/bin:$PATH

export TMP TMPDIR ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH

ORA-27125 error was encountered during startup after successful installation of ORACLE, which was also recorded in blog ORA-27125: unable to create shared memory segment and blog ORA-27125, so follow the solution to do the following:

[root@DB-Server cdrom]# id oracle

uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)

[root@DB-Server cdrom]# more /proc/sys/vm/hugetlb_shm_group

[root@DB-Server cdrom]# echo 502 >/proc/sys/vm/hugetlb_shm_group

Then add the parameter vm.hugetlb_shm_group = 502 to/etc/sysctl.conf, so that the ORA-27125 error will not be reported on the next boot.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report