RHEL7.0 VNC remote Oracle 11gR2 installation error Solution
Oracle 11gR2 is installed on a 64-bit vmmachine RHEL7.0 64-bit system. There are two problems encountered during the installation process, and the installation using 6.2 and 6.6 has not occurred. I do not know the specific reason.
1. Error in invoking target 'install' of makefile'/u01/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk 'is prompted during installation to 68% '. see '/u01/app/oraInventory/logs/installActions2015-01-22_09-39-03AM.log' for details.
Most of the solutions on the Internet are due to the lack of glibc packages.
# Rpm -- all -- query -- queryformat "% {NAME}-% {VERSION}-% {RELEASE}-(% {ARCH}) \ n" | grep glibc
After the command is executed, the installation package of glibc-devel and glibc 32-bit is displayed. After installation, exit oracle and delete the files in the installation directory. reinstall the installation package. The ins_ctx.mk compilation error is still prompted.
Note that the log has the following errors:
INFO:/lib64/libstdc ++. so.5: undefined reference to 'memcpy @ GLIBC_2.14'
INFO: collect2: error: ld returned 1 exit status
INFO: make: *** [ctxhx] Error 1
The solution is as follows:
Download glibc-static-2.17-55.el7.x86_64.rpm installation ,:
------------------------------------------ Split line ------------------------------------------
Free in http://linux.bkjia.com/
The username and password are both www.bkjia.com
The specific download directory is in the/June/22nd/RHEL7.0 VNC Remote Installation of Oracle 11gR2. An error is reported.
For the download method, see
------------------------------------------ Split line ------------------------------------------
This package contains a static Link Library:/usr/lib64/libc.
Modify/u01/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk and set
Ctxhx: $ (CTXHXOBJ)
$ (LINK_CTXHX) $ (CTXHXOBJ) $ (INSO_LINK)
To:
Ctxhx: $ (CTXHXOBJ)
-Static $ (LINK_CTXHX) $ (CTXHXOBJ) $ (INSO_LINK)/usr/lib64/stdc.
Click Retry to continue the installation. The Error in invoking target 'agent nmhs 'of makefile'/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk is displayed. ', solution: Add parameters linking the libnnz11 Library to the makefile.
Modify/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk and set
$ (MK_EMAGENT_NMECTL): $(MK_EMAGENT_NMECTL)-lnnz11
Click Retry to continue the installation.
Installed successfully!
In addition, the following error is prompted during Remote Installation using VNC:
>>> Cocould not execute auto check for display colors using command/usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <
Solution: Check whether the DISPLAY variable is set:
1. Run # xdpyinfo under root to record the string after name of display, for example, 39.
2. Run # xhost + under root.
The returned information is: access control disabled, clients canconnect from any host.
3. Switch to an Oracle user: # su-oracle
4. Run the following command in Oracle: export DISPLAY =: 39
5. Run the xdpyinfo command in Oracle. If the command is displayed normally, the setting is successful.
Re-install.