t you might not have compilers and other development packages installed. Therefore make sure you have temporarily the following packages installed: gcc, cpp, glibc-devel, compat-libstdc++, kernel-headers (for RH 7.1, 7.2, 2.1AS), glibc-kernheaders (for RH 7.3, 8.0, 9.0), binutils. See also Development Packages for more information.
If for any reason the Oracle9i installation didn''''t finish successfully, you might want to clean up the following files and directories before you start over again: /etc/oraInst.loc /etc/oratab /tmp/<OtherOracleOwnedFiles> $ORACLE_BASE/* Other Problems: You might want to check out the Oracle on Linux Discussion Forum.
Oracle Installation Errors
Here is a list of Oracle 9i (9.0.1 & 9.2.0) installation problems and issues. Some issues, errors, problems, and solutions apply only to 9.0.1 and some only to 9.2.0. Since I did not experience all of the problems here, I am not able to verify the correctness of all the solutions. However, I experienced almost all of the problems listed here. If you have other problems and you were able to resolve them, then please drop me an email at webmaster_at_puschitz.com so that I can add it to the list here.
Here is a list of issues issues, errors, problems and solutions: Log Files First check always the error logs for 9.2.0 in /tmp/OraInstall (e.g /tmp/OraInstall2002-07-04_09-50-19PM), and for 9.0.1 in /tmp/OraInstall. When you get make problems, check also the file $ORACLE_HOME/install/make.log.
"Various make Problems" Make sure that gcc is installed on your system: $ which gcc /usr/bin/gcc
Here is the command to find the RPM package name for /usr/bin/gcc: $ rpm -qf /usr/bin/gcc gcc-2.96-98
Check also the other error messages below. See also Development Packages for more information.
"Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk" I saw this error only when I installed Oracle9iR2 (9.2.0). This was also the only problem I experienced with Oracle 9i R2 on Red Hat 8.0. However, this does not necessarily mean that you won''''t experience other problems described here.
When I had this problem, the following errors showed up in $ORACLE_HOME/install/make.log: /lib/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'''' /lib/libdl.so.2: undefined reference to `_dl_open@GLIBC_PRIVATE'''' /lib/libdl.so.2: undefined reference to `_dl_close@GLIBC_PRIVATE'''' /lib/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'''' /lib/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE''''
This error comes up when the following step is executed: /usr/bin/make -f ins_ctx.mk install ORACLE_HOME=/opt/oracle/product/9.2.0
Edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk, go to "INSO_LINK =", and add a "$(LDLIBFLAG)dl" to the line and save it.
Here is the full line with the added "$(LDLIBFLAG)dl" flag:
Edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk again, go to "INSO_LINK =", remove the above entry you made and add a "`cat $(LIBHOME)/sysliblist`" to the line and save it.
Here is the full line with the added "`cat $(LIBHOME)/sysliblist`" string:
ORA-27123: unable to attach to shared memory segment.
I saw this error only when I installed Oracle 9i R2 (9.2.0).
This error message came up when the Oracle Database Configuration Assistant was running. I executed the following command to temporarily increase the maximum shared memory size: su - root # cat /proc/sys/kernel/shmmax 33554432 # echo `expr 1024 \* 1024 \* 1024` > /proc/sys/kernel/shmmax # cat /proc/sys/kernel/shmmax 1073741824 # Then click "Retry" for the Oracle Database Configuration Assistant.
It is recommended to increase the shmmax setting permanently for Oracle9i. So if you want to increase the maximum shared memory size permanently, add the following line to the /etc/sysctl.conf file:
kernel.shmmax=1073741824 For more information on setting shared memory parameters for Oracle, see Setting Shared Memory.
ORA-03113: end-of-file on communication channel I saw this error when I''''ve run the "Database Configuration Assistant" and "sqlplus". When the "Database Configuration Assistant" gave me this error during Oracle9iR2 (9.2.0) installation on Red Hat 2.1 AS, I simply removed the shared memory segments owned by the Oracle user and I restarted the "Database Configuration Assistant". I''''m not sure if this is the right way but it always worked for me. Here is what I did to get the "Database Configuration Assistant" running again:
Database Configuration Assistant:
I executed the ipcs command to get the address of the shared memory segments that have been allocated by Oracle: $ su - root # ipcs
# Then I removed all shared memory segments that were owned by the Oracle user during the installation with the following command: # ipcrm shm 458755 491524 524293 557062 589831 622600 655369 688138 720907 After that I restarted the "Database Configuration Assistant". Once the installation was done I immediately restarted the DB as well. Caveat: I''''m not sure if this procedure can cause any further problems if this is done during the installation. But so far I haven''''t seen any issues with this approach.
sqlplus:
If you get this problem in connection with sqlplus, then simply make sure that the database is down and exit sqlplus. After that, follow the procedure above by removing all shared memory segments that belong to the Oracle user. To my knowledge, this should not cause any problems.
For more information on shared memory segments, see Determining Which Semaphore Sets and Shared Memory Segments Belong to Each Oracle Database or Instance.
NOTE: To solve this problem permanently, increase the kernel shmmax size. For more information, see Setting Shared