Syntax Error During Adpreclone.pl command

Subject:

Syntax Error During Adpreclone.pl command

 

 

 

 

Doc ID:

Note:420462.1

Type:

PROBLEM

 

Last Revision Date:

06-JUN-2007

Status:

PUBLISHED

In this Document

  Symptoms

  Cause

  Solution

  References


Applies to:

Application Install - Version: 11.5.10.1

This problem can occur on any platform.

Symptoms

When trying to run the adpreclone commands in both Apps and DB tier,

they fails with the following error message :

 

ERROR

Global symbol "$resultclone" requires explicit package name at adpreclone.pl line 525.

syntax error at adpreclone.pl line 527, near "$resultclone !"

syntax error at adpreclone.pl line 531, near "}"

Execution of adpreclone.pl aborted due to compilation errors.

Cause

This is explained in the following unpublish bug:

Bug.<5235401> - ADPRECLONE.PL DBTIER FAILS WITH SYNTAX ERROR

 

The cause of this issue is because adpreclone.pl has a code issue on version 11.5.49 and must be

fixed.

 

The following code from adpreclone.pl 115.49 is wrong and must be fixed:

------------------------------------

print "/t$syscmd/n";

$resultclone = system "$syscmd";

# added for bug #<4448838>

if($resultclone ! = 0 )

------------------------------------

 

 

 

Solution

To implement the solution, please execute the following steps :

 

1. Download and review the readme and pre-requisites for Patch.<5225940>

 

2. Ensure that you have taken a backup of your system before applying the recommended patch.

 

3. Apply the patch in a test environment.

 

4. Confirm the following file versions:

adpreclone.pl version 115.50.

You can use the commands like the following:

strings -a $XX_TOP/filename |grep '$Header'

 

5. Retest the issue.

 

6. Migrate the solution as appropriate to other environments.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值