Sunday, May 9, 2021

perl txkGenCDBTnsAdmin.pl

ON DATABASE SERVER  

perl txkGenCDBTnsAdmin.pl FAILS

 perl txkGenCDBTnsAdmin.pl -dboraclehome=/u01/app/oracle/product/19.0.0 -cdbname=CDB  -cdbsid=CDB -dbport=1521 -outdir=$ORACLE_HOME/appsutil/log

Can't locate TXK/ARGS.pm in @INC (you may need to install the TXK::ARGS module) (@INC contains: /u01/app/oracle/product/19.0.0/perl/lib/5.28.1/x86_64-linux-thread-multi /u01/app/oracle/product/19.0.0/perl/lib/5.28.1 /u01/app/oracle/product/19.0.0/perl/lib/site_perl/5.28.1/x86_64-linux-thread-multi /u01/app/oracle/product/19.0.0/perl/lib/site_perl/5.28.1 /u01/app/oracle/product/19.0.0/perl/lib/site_perl/5.28.1/x86_64-linux-thread-multi /u01/app/oracle/product/19.0.0/perl/lib/site_perl/5.28.1 /u01/app/oracle/product/19.0.0/perl/lib/5.28.1/x86_64-linux-thread-multi /u01/app/oracle/product/19.0.0/perl/lib/5.28.1) at txkGenCDBTnsAdmin.pl line 71.


Solution 

export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/site_perl/5.10.0:$ORACLE_HOME/appsutil/perl

export PATH=$ORACLE_HOME/perl:$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/bin:$PATH

No comments: