1. After some environment variables are configured during Oracle Installation, restart and log on to localhost login: Interface
Cause:
======================================
# Vi/etc/pam. d/login
Add the following content at the end of the file
Session required/lib/security/pam_limits.so
Session required pam_limits.so
======================================
After removing these two sentences, you can start the service normally.Session required/lib/security/pam_limits.so // This is not required for 64-bit systems. "I have installed 64-bit systems. Do not blindly follow these steps!
2,Run the installation command:./runInstaller
The error is as follows:
========================================================== ==========
All installer requirements are met.
Check temporary space: it must be greater than 80 MB. Actually 7004 MB passed
Check swap space: it must be greater than 150 MB. Actually 1192 MB passed
Check the monitor: The monitor configuration must display at least 256 colors that fail <
>>> The command/usr/X11R6/bin/xdpyinfo cannot be used to automatically check the display color. Check whether the DISPLAY variable is set.
Some optional prerequisite checks were not passed. Continue? (Y/n) [n] n
.......
========================================================== ==========
Set the environment variable to DISPLAY = localhost: 0.0.
Or DISPLAY = 127.0.0.1: 0.0
Or DISPLAY =: 0.0
Export DISPLAY
I can't try it. It's still bad.
Obtain the root permission and execute xhost
3. An error occurred while executing sqlplus.
Commad not found environment variable not set
Set Environment Variables
# Vi/home/oracle/. bash_profile
Export ORACLE_HOME= $ ORACLE_BASE/Product/11.2.0/dbhome_1
Export PATH= $ PATH:/$ ORACLE_HOME/bin: $ HOME/bin
[Oracle @ localhost lib] $ ../bin/sqlplus
.. /Bin/sqlplus: error while loading shared libraries:/opt/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1: cannot restore segment prot after reloc: Permission denied
Root permission execution
Semanage fcontext-a-t textrel_shlib_t/opt/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1
Restorecon-R-v/opt/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh. so.11.1