My Oracle Support Banner

Running OID 10g 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 OCTOBER 18, 2019

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.


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 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

However when running the command, it fails with:

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

For example:

$ -connect <OID_DB> -check -generate -restore /cygdrive/c/<ORACLE_HOME>/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:\\<ORACLE_HOME>/ldap/admin/*.ctl': No such file or directory
Checking and Generating Internet Directory data for bulk loading

Schema Check Errors are logged in : C:\<ORACLE_HOME>/ldap/log/bulkload.log

No Bad Entries found.

No Duplicate DN Entries.

Data Generated for bulk loading


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.