GC安装错误5:agent安装Can't find the jar utility

69 篇文章 0 订阅
13 篇文章 0 订阅

错误如下:

Can't find the jar utility. Add jar to your PATH and try again.
Removing the copied stuff.....
Removed: /apps/oracle/agentDownload10.2.0.1.0Oui/oui_linux.jar
Removed: /apps/oracle/agentDownload10.2.0.1.0Oui/agent_download.rsp
Removed:/apps/oracle/agentDownload10.2.0.1.0Oui/Disk1

问题原因:

jdk路径设置有问题,设置正确即可。

解决过程:

[oracle@dbserver1 ~]$ export JAVA_HOME=$ORACLE_HOME/jdk
[oracle@dbserver1 ~]$ export PATH=$PATH:$JAVA_HOME/bin

错误详细情况:

[oracle@dbserver1 oracle]$ ./agentDownload.linux -b /apps/oracle/
agentDownload.linux invoked on Sun Apr 22 11:53:42 CST 2012 with Arguments "-b /apps/oracle/"
Platform=Linux, OS=linux
GetPlatform:returned=0, and os is set to: linux, platform=Linux
Creating /apps/oracle/agentDownload10.2.0.1.0Oui ...
LogFile for this Download can be found at: "/apps/oracle/agentDownload10.2.0.1.0Oui/agentDownload.linux042212115342.log"
Running on Selected Platform: Linux
Installer location: /apps/oracle/agentDownload10.2.0.1.0Oui
Downloading Agent install response file ...
--11:53:42--  http://dbserver2.domain:4889/agent_download/10.2.0.1.0/agent_download.rsp
           => `agent_download.rsp'
Resolving dbserver2.domain... 10.27.76.184
Connecting to dbserver2.domain|10.27.76.184|:4889... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20,007 (20K) [text/plain]

100%[========================================================================================>] 20,007        --.--K/s            

11:53:42 (18.95 MB/s) - `agent_download.rsp' saved [20007/20007]

Finished Downloading with Status=0
Downloaded response with status=0
Downloading Oracle Installer ...
--11:53:43--  http://dbserver2.domain:4889/agent_download/10.2.0.1.0/linux/oui/oui_linux.jar
           => `oui_linux.jar'
Resolving dbserver2.domain... 10.27.76.184
Connecting to dbserver2.domain|10.27.76.184|:4889... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46,620,679 (44M) [application/java-archive]

100%[========================================================================================>] 46,620,679    22.63M/s            

11:53:45 (22.58 MB/s) - `oui_linux.jar' saved [46620679/46620679]

Downloaded Oracle Installer with status=0
Downloading  Unzip Utility ...
--11:53:45--  http://dbserver2.domain:4889/agent_download/10.2.0.1.0/linux/agent/install/unzip
           => `unzip'
Resolving dbserver2.domain... 10.27.76.184
Connecting to dbserver2.domain|10.27.76.184|:4889... connected.
HTTP request sent, awaiting response... 200 OK
Length: 101,448 (99K) [text/plain]

100%[========================================================================================>] 101,448       --.--K/s            

11:53:45 (9.15 MB/s) - `unzip' saved [101448/101448]

Adding execute permissions to unzip ...
Downloaded UnzipUtility with status=0
which: no jar in (/apps/oracle/product/10.2.0/db_1/bin:/apps/oracle/product/10.2.0/crs/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/bin)
The jar to be used=
which: no jar in (/apps/oracle/product/10.2.0/db_1/bin:/apps/oracle/product/10.2.0/crs/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/bin)
Can't find the jar utility. Add jar to your PATH and try again.
Removing the copied stuff.....
Removed: /apps/oracle/agentDownload10.2.0.1.0Oui/oui_linux.jar
Removed: /apps/oracle/agentDownload10.2.0.1.0Oui/agent_download.rsp
Removed:/apps/oracle/agentDownload10.2.0.1.0Oui/Disk1
[oracle@dbserver1 oracle]$

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值