Running OID 10g Bulkload.sh In Cygwin Session On Windows Fails With: cp: cannot stat `C:\\<ORACLE_HOME>/ldap/admin/*.ctl': No such file or directory (Doc ID 1082192.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4 to 10.1.2 [Release 10gR1 to 10gR2]
Information in this document applies to any platform.

Symptoms

Using bulk tools in Oracle Internet Directory (OID) 10g (9.0.4 or 10.1.2) on Windows platform.

Already followed tips and recommendations from different documents, including <Document 305338.1>, <Document 375812.1>, <Document 580495.1>.

Setup the environment variables as follows, for example:

export ORACLE_HOME=C:\\infra
export ORACLE_SID=orcl
export ORA_NLS=$ORACLE_HOME\\ocommon\\nls\\admin\\data
export ORA_NLS33=$ORA_NLS
export NLS_LANG=american_america.utf8
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/ldap/bin:$PATH


These worked well for running bulkdelete.sh.


However when running the bulkload.sh command, it fails with:

cp: cannot stat `C:\\infra/ldap/admin/*.ctl': No such file or directory


For example:

$ bulkload.sh -connect orcl -check -generate -restore /cygdrive/c/infra/ldap/bin/user.ldif

Verifying node "OID"
-----------------------------
This tool can only be executed if you know database user password
for OiD on OID
Enter OiD password ::

------------------------------------------------------------------
Checking Internet Directory current schema state
------------------------------------------------------------------

cp: cannot stat `C:\\infra/ldap/admin/*.ctl': No such file or directory
-------------------------------------------------------------------
Checking and Generating Internet Directory data for bulk loading
-------------------------------------------------------------------

Schema Check Errors are logged in : C:\infra/ldap/log/bulkload.log

No Bad Entries found.

No Duplicate DN Entries.

-------------------------------------------------------------------
Data Generated for bulk loading
-------------------------------------------------------------------

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