一.引入问题
今天在虚拟机上安装一个10g的Oracle,RedHat 6.2 64位的版本,不过Linux上基本都差不多,所以按照以前的步骤,迅速的操作起来,结果遇到N多以前没有遇到过的错误。
1.1 ins_ctx.mk 问题
[oracle@zhang 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@zhang 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.mk 问题
[oracle@zhang 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 问题
[oracle@zhang 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
解决:修改bash_porfile 添加
LD_LIBRARY_PATH=$ORACLE_HOME/lib
1.4 ins_net_client.mk 问题
[oracle@zhang 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 问题
[oracle@zhang 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 问题
[oracle@zhang 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 问题
[oracle@zhang 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 问题
[oracle@zhang 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 问题
[oracle@zhang 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 问题
[oracle@zhang 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 问题
[oracle@zhang 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
一般情况都是缺包,用yum 把需要的包全部打上之后,再次安装就没有问题了。
yum install libXp.i686 libXp-devel.i686 libXt.i686 libXt-devel.i686 libXtst.i686 libXtst-devel.i686 make.x86_64 gcc.x86_64 libaio.x86_64 glibc-devel.i686 libgcc.i686
glibc-devel.x86_64 compat-libstdc++-33 -y
yum install glibc* gcc* make* compat-db* libstdc* libXp* libXtst* compat-libstdc++* -y
其次就是环境变量的问题 看看PATH 和 LD_LIBRARY_PATH
都要加上$ORACLE_HOME/lib
64位加上 $ORACLE_HOME/lib64
- 浏览: 73808 次
- 性别:
- 来自: 杭州
最新评论
发表评论
-
Oracle 删除用户和表空间
2014-12-22 16:25 542Oracle 使用时间长了, 新增了许多user 和tabl ... -
Oracle 删除用户和表空间
2014-12-22 16:25 553Oracle 使用时间长了, 新增了许多user 和tabl ... -
linux 下oracle 中文乱码、编码设置
2014-12-16 14:18 608查看oracle服务器端字符集 Sql代码 ... -
Oracle中Service Name、Database name、Instance Name的区别
2014-12-16 14:16 5951,数据库名是Oracle数据库的内部标识,一般在安装完后不 ... -
linux下连接oracle数据库出错:ORA-12514 cannot...
2014-12-16 14:13 864今天连接数据库时出了错,监听启动正常,/ 下启动数据库也正常, ... -
You do not have sufficient permissions to access the inventory '/u01/app/oracle/
2014-12-16 14:11 3452安装Oracle数据库和应用时经常会遇到下面的错误: A ... -
Solaris 命令 小结
2014-12-06 23:06 493(一)基本命令 命令格式: 命令 参数 ★1. ls ... -
FreeBSD下修改安装源的方法
2014-12-05 14:38 1238FreeBSD默认是从官方的源下载软件包的,速度比较慢,可以 ... -
Linux 下 Weblogic 集群配置
2014-12-04 21:32 1095域,集群,管理服务器和被管服务器之间的关系 ... -
使用Sudo让Solaris更加安全
2014-12-04 17:23 1176【IT专家网独家】一、sudo简介 Sudo是 ... -
Linux 引导流程解析
2014-12-01 12:38 552本文主要记录下linux的引导流程(实例采用centOS 5 ... -
RHEL6系统启动过程解析
2014-12-01 12:37 651在 Red Hat Enterprise Linux 6 中 ... -
Linux学习之CentOS--Linux系统启动详解
2014-12-01 10:46 613在这篇随笔里面将对Linux系统的启动进行一个详细的解释!我 ... -
Solaris 10安装Oracle 10g(1、准备工作)
2014-11-27 14:42 1085这一篇带来的是在Solaris 10上安装Oracle 10 ... -
solaris10下卸载oracle
2014-11-26 22:31 6311.使用SQL*PLUS停止数据库 [oracle@Ora ... -
Solaris安装Oracle的Bug解决
2014-11-26 21:44 742Solaris安装Oracle的Bug解决 平台so ... -
solaris10下安装oracle10g文档
2014-11-25 20:18 525安装文档主要来自网络,经亲自检验、修改。请验证一下solari ... -
solaris10下安装oracle10g
2014-11-25 20:16 445请验证一下solaris和oracle的版本信息,如果版本 ... -
在Solaris10下安装oracle
2014-11-25 20:15 956环境: OS:Solaris 10 DB:10.2.0 ... -
suse 11 Linux 静态路由的添加方法
2014-11-24 13:48 2156系统:suse 11 Linux 版本:SUSE Linu ...
相关推荐
在Linux CentOS7 中安装oracle 11g数据库过程中弹出错误:Error in invoking target 'install' of makefile '/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. See '/home/oracle/app/...
修复oracle安装过程中,出现的两个错位,内含有具体操作方法和脚本,两键修复Error in invoking target 'install' of makefile '/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. See '/...
oracle10G以及11G 安装时候报错(如:error in invoking target install of makefile ctx/lib/ins_ctx.mk),所缺少的依赖包!
该文档是在linux的centos7上安装oracle11g的详细步骤,亲测可用,还包含了一些报错的解决办法
Centos 7静默安装oracle 11g R2(无图形化界面) 注解:#代表root用户 $代表oracle用户 1、提高安装成功率,关闭防火墙(本地安装无特殊考虑)
EPS8266在线升级例程,OTA例程。
安装oracle11g必备包 在安装linux X86-64的Oracle11g时,在链接过程中出现... 详细错误信息为: Error in invoking target ‘install’ of makefile ‘/opt/oracle/product/10.2/ctx/lib/ins_ctx.mk’ 安装此rpm可解决
Error in invoking target ‘install’ of makefile ‘/opt/oracle/product/10.2/ctx/lib/ins_ctx.mk’. See ‘/opt/oracle/oraInvertory/logs/installActions2010-09-28_10-27-06AM.log’ for details. 安装此包
在aix6.1系统上安装11gR2报Error in invoking target 'agent nmb nmo nmhs' of makefile '/u01/app/oracle/product/11.2.0/sysman/lib/ins_emage http://blog.csdn.net/Makaveli/article/details/6310814 给oracle...
Oracle 11g for ubuntu 安装教程
Makefile教程,Makefile是一个程序构建工具,可以在Unix、Linux和它们的变体上运行。本教程可增强您对makefile结构和实用程序的了解。
called FILELIST.DOC, which will appear in the target directory you specify during installation. - After your initial installation, you can run INSTALL again to add elements you omitted the first ...
called FILELIST.DOC, which will appear in the target directory you specify during installation. - After your initial installation, you can run INSTALL again to add elements you omitted the first ...
An Introduce to Invoking Matlab using Jave
Learn and master the new features in the JSF 2.3 MVC web framework in this definitive guide written by two of the JavaServer Faces (JSF) specification leads. The authors take you through real-world ...
* This static method create an instance of the ExceptionManager by invoking the * constructor <code>ExceptionManager(String msg)</code>. * * @param msg The message will pass the specified ...
The address of the trampoline is placed in a target pointer. The detour function can either replace the target function, or extend its semantics by invoking the target function as a subroutine ...
Invoking web methods from a C++ console application。
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked. doFilter(ServletRequest, ...
2)....Fixed: Range check error in processes information for x64 machines (affects startup of any EurekaLog-enabled module) 3)....Fixed: Auto-detect personality by project extension if --el_mode switch...