Skip Headers
Oracle® Identity Management User Reference
10g Release 2 (10.1.2)
B15883-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

2.7 stopodiserver.sh

If you used the odisrv command to start an Oracle Directory Integration and Provisioning server, you must then stop that server process with the stopodiserver.sh command. You should only use these commands in a client-only installation, where the Oracle Internet Directory Monitor and Control tools are not available. The stopodiserver.sh tool is located in the $ORACLE_HOME/ldap/odi/admin directory.

2.7.1 Syntax for stopodiserver.sh

$ORACLE_HOME/ldap/odi/admin/stopodiserver.sh -LDAPhost oid_hostname -LDAPport ldap_port -binddn admin_dn -bindpass admin_password -instance instance_number [-clean]

2.7.2 Arguments for stopodiserver.sh

-LDAPhost oid_hostname

Required. The host name of the Oracle Internet Directory server. If not specified, then the default of localhost is used.

-LDAPport ldap_port

Required. The port number used to connect to the Oracle Internet Directory server. If not specified, then the default of 389 is used.

-binddn admin_dn

Required. The DN of the Oracle Internet Directory super user needed to bind to the directory (for example, cn=orcladmin).

-bindpass admin_password

Required. The super user password needed to bind to the directory.

-instance instance_number

Required. The instance number of the Oracle Directory Integration and Provisioning server instance to stop.

-clean

Optional. If the Oracle Directory Integration and Provisioning server is stopped by any means other than the oidctl or stopodiserver.sh command, then the server cannot be started from the same host. In that case, the footprint of the previous execution in the directory needs to be removed by using the -clean argument.

2.7.3 Tasks and Examples for stopodiserver.sh

Using the stopodiserver.sh command you can perform the following task:

2.7.3.1 Stopping a Standalone Oracle Directory Integration and Provisioning Server

The following example shows how to stop an Oracle Directory Integration and Provisioning server in a client-only installation. Use the -clean argument to remove the footprint of the previous execution in the directory:

Example:

$ORACLE_HOME/ldap/admin/stopodiserver.sh -LDAPhost oidhost.company.com -LDAPport 389 -binddn cn=orcladmin -bindpass welcome -instance 1 -clean

2.7.4 Related Command-Line Tools for stopodiserver.sh