INSPRE11.PL SCRIPT FAILS WITH VARIOUS ERRORS USING THE -OP2 OPTION (Doc ID 1064916.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 10.1.4.3 and later
Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.
***Checked for relevance on 10-Mar-2013***

Symptoms




Numerous errors running inspre11.pl with -op2 option.

$OID11gR1_ORACLE_HOME/perl/bin/perl $OID11gR1_ORACLE_HOME/ldap/bin/inspre11.pl OID_HOST OID_PORT {-ssl | -nonssl} OID_COMPONENT TNS_CONNECT_STRING ODS_PASSWORD ORCLADMIN_PASSWORD -op2

I. One error when running the script may return a message about it cannot create the ldapsearch_dn.out:


sh: $ORACLE_HOME/diagnostics/logs/OID/tools/ldapsearch_dn.out: cannot create
readline() on closed filehandle ERR at $ORACLE_HOME/ldap/bin/inspre11.pl line 255.
readline() on closed filehandle OUT at $ORACLE_HOME/ldap/bin/inspre11.pl line 269.
sh: $ORACLE_HOME/diagnostics/logs/OID/tools/ldapsearch_orclreplicaid.out: cannot create
readline() on closed filehandle ERR at $ORACLE_HOME/ldap/bin/inspre11.pl line 255.
readline() on closed filehandle OUT at $ORACLE_HOME/ldap/bin/inspre11.pl line 269.
Cannot open $ORACLE_HOME/diagnostics/logs/OID/tools/selectv.sql for writing : No such file or directory

II. Another error maybe returned is it cannot find the file resultsV.txt:


Failed to open file $ORACLE_HOME/diagnostics/logs/OID/tools/resultsV.txt : No such file or directory at $ORACLE_HOME/ldap/bin/inspre11.pl line 312.

III. One other common error seen is the seealso.ldif failed to open message:


Failed to open $ORACLE_HOME/diagnostics/logs/OID/tools/seealso.ldif. Program exiting.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms