I.Introduction Problems
Help me install a 10 Gb Oracle on CentOS. As a result, my friend's CentOS version is 6.2, the latest version, but it is basically the same on Linux, so follow the previous steps, quick operations result in N errors that have not been encountered before. The installation is forced to be interrupted. If you try to ignore the previous errors, you may encounter other errors.
Oracle Installation documentation for 64-bit Linux
How to build a database server platform
1.1 ins_ctx.mk Problem
[Oracle @ xd logs] $ tail installActions2012-05-05_01-20-00PM.log
INFO: collect2: ld returned 1 exit status
INFO: make: *** [ctxhx] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/ctx/lib/ins_ctx.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log' for details.
Exception Severity: 1
[Oracle @ xd logs] $ yum install gcc
Loaded plugins: fastestmirror, refresh-packagekit, security
You need to be root to perform thiscommand.
[Oracle @ xd logs] $ rpm-qa -- queryformat "% {NAME}-% {VERSION}-% {RELEASE} (% {ARCH}) \ n" | grep libgcc
Libgcc-4.4.6-3.el6 (i686)
Libgcc-4.4.6-3.el6 (x86_64)
1.2 ins_rdbms.mkProblem
[Oracle @ xd logs] $ tail installActions2012-05-05_01-20-00PM.log
INFO: make [1]: Leaving directory '/u01/app/oracle/product/10.2.0/db_1/rdbms/lib'
INFO: make: *** [extproc32] Error 2
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all _ no_orcl 'of makefile'/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log' for details.
Exception Severity: 1
1.3 ins_emdb.mk Problem
[Oracle @ xd logs] $ tail installActions2012-05-05_01-20-00PM.log
INFO: make [1]: Leaving directory '/u01/app/oracle/product/10.2.0/db_1/sysman/lib'
INFO: make: *** [nmccollector] Error 2
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'collector 'of makefile'/u01/app/oracle/product/10.2.0/db_1/sysman/lib/ins_emdb.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log' fordetails.
Exception Severity: 1
1.4 ins_net_client.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
INFO:/usr/bin/ar:/u01/app/oracle/product/10.2.0/db_1/lib32/nnfgt. o: No such file or directory
INFO: make: *** [nnfgt. o] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'nnfgt. o 'of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.5 ins_precomp.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
INFO:/bin/chmod: cannot access'/u01/app/oracle/product/10.2.0/db_1/precomp/lib/proc': No such file ordirectory
INFO: make: *** [/u01/app/oracle/product/10.2.0/db_1/precomp/lib/proc] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'relink' of makefile'/u01/app/oracle/product/10.2.0/db_1/precomp/lib/ins_precomp.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.6 ins_plsql.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
Collect2: ld returned 1 exit status
INFO: make: *** [wrap] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/plsql/lib/ins_plsql.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.7 ins_net_server.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
Collect2: ld returned 1 exit status
INFO: make: *** [tnslsnr] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_server.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.8 ins_nau.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
INFO: ld returned 1 exit status
INFO: make: *** [oklist] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'ioklist iokinit iokdstry 'of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_nau.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.9 ins_ldap.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
Collect2: ld returned 1 exit status
INFO: make: *** [ldapadd] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'clientonlyinstall' of makefile'/u01/app/oracle/product/10.2.0/db_1/ldap/lib/ins_ldap.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.10 ins_srvm.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
INFO: ld returned 1 exit status
INFO: make: *** [rawutl] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/srvm/lib/ins_srvm.mk '. see '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.
Exception Severity: 1
1.11 ins_has.mk Problem
[Oracle @ xd logs] $ tailinstallActions2012-05-05_01-51-59PM.log
Collect2: ld returned 1 exit status
INFO: make: *** [/u01/app/oracle/product/10.2.0/db_1/racg/lib/racgmain] Error 1
INFO: End output from spawned process.
INFO :----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Because Oracle has not been installed on CentOS 6.2 before, it is difficult to analyze the specific situation. After a lap, we finally find that there are fewer packages before installation, some Binary Options cannot be linked during installation. After you use yum to add all the required packages, you can install them again.
Here we need to understand the concept of Binary Options, which is the Oracle component. When we install Oracle on the system, we will perform a link operation on these components, link cannot be performed because the package is missing.
OracleBinary Options description
This time it was too big. I didn't check whether the package was fully installed before the installation, because based on previous experience, I can simply add the packages that I don't have. I didn't expect other packages to be missing. Therefore, be sure to follow the steps in this document.
In fact, in Linux 6 platform, you can use the oracle-rdbms-server-11gR2-preinstall package to operate, this package will help us solve a lot of problems, including the dependency of the early package and related parameter configuration work, about the use of the package, for details, refer:
Description of Oracle RDBMS Server 11gR2 Preinstall RPM package in Oracle Linux6
In Oracle Linux5, refer:
Oracle ValidatedConfigurations installation instructions