$ perl $PATCH_TOP/5473858/fnd/patch/115/bin/txk
Errors encountered running $PATCH_TOP/5473858/fnd/patch/115/bin/txk
*******FATAL ERROR*******
PROGRAM : ($PATCH_TOP/5473858/fnd/patch/115/bin/tx
TIME : Tue Jul 3 11:52:34 2007
FUNCTION: TXK::IO::open [ Level 3 ]
MESSAGES:
error = Unable to open file by ref
errorno = Illegal seek
STACK TRACE
TXK::Error::abort('TXK::Error', 'HASH(0x1c788c)') called at $PATCH_TOP/5473858/fnd/perl/TXK/Common.p
TXK::Common::doError('TXK::IO=HASH(0x9e7
TXK::Common::setError('TXK::IO=HASH(0x9e
TXK::IO::open('TXK::IO=HASH(0x9e71b8)', 'HASH(0xce27fc)') called at $PATCH_TOP/5473858/fnd/perl/TXK/SQLPLUS.p
TXK::SQLPLUS::_doExecute('TXK::SQLPLUS=H
TXK::SQLPLUS::validateConnectInfo('TXK::S
TXK::SQLPLUS::setConnectInfo('TXK::SQLPL
TXK::TechstackDB::validateDBPassword('TX
TXK::RunScript::validateInputParameters(
require $PATCH_TOP/5473858/fnd/patch/115/bin/txk
TXK::RunScript::require('TXK::RunScript'
eval {...} called at $PATCH_TOP/5473858/fnd/perl/TXK/Script.p
TXK::Script::run('TXK::Script=HASH(0x4ea
The perl environment is set correctly and there are no periods in the directory names from where the perl file is being called.
$ env |grep PERL
ADPERLPRG=$IAS_ORACLE_HOME/Apache/perl/b
PERL5LIB=$IAS_ORACLE_HOME/Apache/perl/li
Simple solution to the problem:
Check your current shell by doing echo $SHELL. If it returns "sh", then it is a shell issue. Instead of using sh, use ksh. That means, before launching the txkprepatch.pl command, on unix prompt type:
$ ksh
Then issue the txkprepatch.pl command:
$ perl $PATCH_TOP/5473858/fnd/patch/115/bin/txk
You will not get any errors this time.
Metalink Note 335822.1 does describe a similar problem in AIX, but we are on Solaris. Here's a copy paste from that note:
=====================================
Cause
This issue is happening on tiers that are not webNodes.
The reason is that the Perl executable in iAS 1.0 on these
tiers (o/s HP or AIX) is not compatible to run this script.
Solution
To implement the solution, please execute the following steps:Solutions:
1. Upgrade the iAS on this tier
Probably not desirable since this is not a primary Web Tier
but a valid solution.
2. Use the o/s version of Perl if it is higher than the iAS
If upgrading the perl version see AutoConfig FAQ Note 218089.1
for information on how to propogate this change in apps.
Either of the above will resolve this issue.
========================================
I downloaded perl 5.8.8 and installed it on the concurrent tier.
Changed these environment variables:
ADPERLPRG=/usr/local/bin/perl
PERL5LIB=/usr/local/lib/perl5/5.8.8: /usr/local/lib/perl5/site_perl/5.8.8: $AU_TOP/perl
$ /usr/local/bin/perl txkprepatchcheck.pl -script=ValidateRollup -outfile=txkValidateRollup.html \
> -appspass=apps
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** STDOUT = $APPLRGF/TXK/txkValidateRollup_Tue_Jul_3
Reportfile txkValidateRollup.html generated successfully.
No comments:
Post a Comment