Oracle Grid Installation Issues
Oracle Grid Installation Issues
Infrastructure Installation
1. Check Log Files for Details
o Oracle installation issues often provide valuable clues in the log files. If the installer
seems stuck or fails, check the following logs:
▪ Install log: /u01/app/oraInventory/logs/installActions<date>.log
▪ Grid Infrastructure log: $ORACLE_BASE/cfgtoollogs/
o These logs can provide error messages and help identify the exact issue.
2. Check Permissions and Ownership
o Verify that the Oracle Grid Infrastructure installation directories have the correct
ownership and permissions.
o For example:
bash
o Make sure the grid user has permission to write to the directories where the installation
is happening.
3. Verify Swap Space and Disk Space
o Ensure that your server has sufficient swap space and disk space. Oracle can
sometimes fail silently if these requirements are not met.
o Check the swap space with:
bash
free -m
bash
df -h
bash
systemctl stop firewalld
systemctl disable firewalld
bash
setenforce 0
▪ Also check /etc/selinux/config to ensure the line SELINUX=permissive or
SELINUX=disabled.
5. Ensure Required Packages Are Installed
o Even though you've checked the packages, run the following command to double-check
that all required packages for Oracle 19c are present:
bash
o Additionally, verify that all dependencies listed in the Oracle documentation for your
OS version are installed, especially libaio, binutils, gcc, etc.
6. Set Kernel Parameters Correctly
o Kernel parameters play a crucial role in Oracle installation. Check if all required kernel
parameters have been set in /etc/sysctl.conf. You can reapply them with:
bash
sysctl -p
bash
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4398046511104
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
net.ipv4.ip_local_port_range = 9000 65500
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 65536 4194304
bash
./runInstaller -debug
o This might give you more granular information about where the installer is getting
stuck.
9. Use a Response File in Silent Mode
o If the GUI is causing issues, use the silent mode with a response file. Make sure that
the response file is properly configured, and there are no missing or incorrect
parameters.
o For example, you can create a response file (named grid_install.rsp) and run:
bash
• If you’re stuck in GUI mode, ensure that the X11 forwarding is set up correctly for remote
installations.
o For local installation:
bash
export DISPLAY=:0.0
bash
ssh -X user@host
o If there are X11 issues, silent mode with a response file is a good fallback.
• Before running the installer again, you can manually run the Oracle prerequisite check to
ensure that all requirements are met:
bash
./gridSetup.sh -executePrereqs
• This will give you a detailed report of any missing configurations or failed checks.