The problems encountered in installing Oracle11g on LINUX7 are as follows, record
Add group:
groupadd -g 1000 oinstall #Error: prompt group is occupied #useradd: group 'oinstall' does not exist #Query group # more /etc/group bduser:x:1000: #Modify group serial number OK groupadd -g 1003 oinstall
YUM source configuration
]# cat local.repo [base] name=yumserver baseurl=http://10.111.245.13/base/Packages enable=1 gpgcheck=0 [updates] name=yumserver baseurl=http://10.111.245.13/updates/Packages enable=1 gpgcheck=0 [extras] name=yumserver baseurl=http://10.111.245.13/extras/Packages enable=1 gpgcheck=0 [warm up] name=yumserver baseurl = http: // 10.111.245.13/epel/Packages enable = 1 gpgcheck = 0
XCLOCK:
bash: xclock: command not found...
RPM package: rmp -ivh xorg-x11-apps-7.7-6.el7.x86_64.rpm or yum install -y xorg-x11-apps
RPM package
Requirements for installing Oracle 11gR2 RDBMS version 11.2.0.4 64-bit on RHEL7 or OL7 64-bit (x86_64)
compat-libstdc ++ - 33-3.2.3 binutils-2.23.52.0.1-12.el7.x86_64 compat-libcap1-1.10-3.el7.x86_64 gcc-4.8.2-3.el7.x86_64 gcc-c ++ - 4.8。 2-3.el7.x86_64 glibc-2.17-36.el7.x86_64 glibc-devel-2.17-36.el7.x86_64 ksh libaio-0.3.109-9.el7.x86_64 libaio-devel-0.3.109-9.el7 .x86_64 libgcc - 4.8 . 2 - 3 .el7.x86_64 libstdc ++ - 4.8.2-3.el7.x86_64 libstdc ++ - devel-4.8.2-3.el7.x86_64 libXi - 1.7 . 2 - 1 .el7.x86_64 libXtst - 1.2 . 2 - 1 .el7.x86_64 make-3.82-19.el7.x86_64 sysstat-10.1.5-1.el7.x86_64
Additional instructions:
#If you install an RPM package with a lower version, you may need to install the following RPM package supplements cpp-4.8.2-16.el7.x86_64 glibc-headers-2.17-55.el7.x86_64 mpfr-3.1.1-4.el7.x86_64 #If the RPM has been installed, you can modify the following file to add a line of records /etc/pam.d/login session required pam_limits.so #Verify whether the current shell is OK, edit the /etc/profile file to write if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -u 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 be be
Memory parameters:
Change Linux memory parameters vi /etc/sysctl.conf kernel.shmall = physical RAM size/pagesize For most systems this will be the value 2097152. See note 301830.1 for more information. kernel.shmmax = 1/2 of physical RAM. For a system with 4GB of physical RAM, this would be the value 2147483648. See note: 567506.1 for more information. kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 512 x processes (e.g. 6815744 for 13312 processes) fs.aio-max-nr = 1048576 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
#Memory parameters: set test:
#Set the total amount of shared memory parameters Kernel.shmal setting memory is not enough, database startup nomount error [root@enmo ~]# free -m Mem: 2998 SQL> show parameter sga sga_max_size 500M #Query memory page block size 4K [root@enmo ~]# getconf PAGE_SIZE 4096 #Set the maximum memory size used by the linux system at one time Kernel.shmall set 400M Calculation: 400*1024*1024/4096 102400
vi /etc/sysctl.conf kernel.shmall = 102400 #effective sysctl -p SQL> startup force ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ORA-27102: out of memory #As suggested by MOS: kernel.shmall = physical RAM size/pagesize For most systems this will be the value 2097152. See note 301830.1 for more information. #reset: 767488 #effective sysctl -p kernel.shmmax = 1/2 of physical RAM. For a system with 4GB of physical RAM, this would be the value 2147483648. See note: 567506.1 for more information. The maximum size of the physical memory user shared segment. If it is too small, allocating multiple memory segments will easily cause performance degradation. If required, set shmmax > SGA_Max_size
#Graphically install the Oracle software, prompting that the following packages are missing:
pdksh-5.2.14 package missing during Oracle Database 11.2.0.4 install on Oracle Linux 7 #solve! #Start start with the following parameters: ignore $ ./runInstaller -ignorePrereq
Oracle software installation 86% error:
Error in invoking target 'agent nmhs' of makefile
Solution Add the parameters to link the libnnz11 library in the makefile and modify $ORACLE_HOME/sysman/lib/ins_emagent.mk, Change $(MK_EMAGENT_NMECTL) to: $(MK_EMAGENT_NMECTL) -lnnz11 It is recommended to backup the original file before modification [~]$ cd $ORACLE_HOME/sysman/lib [ lib]$ cp ins_emagent.mk ins_emagent.mk.bak [lib] $ vi ins_emagent.mk After entering the vi editor Enter /NMECTL in command mode to find, Quickly locate the line to be modified and append the parameter -lnnz11 The first is the letter l, the next two are the number 1 Retry after save and exit
# To avoid this problem: MOS provides patches
Patch 19692824
During installation of Oracle Database or Oracle RAC on OL7, the following linking errors may be encountered:
Error calling target 'agent nmhs' of makefile '<ORACLE_HOME>/sysman/lib/ins_emagent.mk'. See "<installation log>" for details.
If this error is encountered, the user should choose to continue . Then, after installation is complete, users must download Patch 19692824 from My Oracle Support and apply it according to the instructions contained in the patch readme.