My Oracle Support Banner

ODSEE - How to Remove a Non-Existent Server from DSCC (Doc ID 1920317.1)

Last updated on JANUARY 02, 2024

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.7.1 and later
Information in this document applies to any platform.

Goal


To remove a non-existent server from DSCC

Can not un-register a server from the DSCC (that has already been deleted by running dsadm delete) due to the "does not exist" error.

For example -

$ ./dsccreg remove-server /$ODSEE_INSTANCE_PATH/$DS_INSTANCE1
Enter DSCC administrator's password:
/$ODSEE_INSTANCE_PATH/$DS_INSTANCE does not exist

When running dsccreg list-servers, the instance (that has already been deleted by running dsadm delete) is still listed.
For example, the instance with port <LDAPS_PORT1>  has already been deleted by running dsadm delete  -

Hostname Port sPort Type Owner Flags iPath Description
---------- ---- ----- ---- ------ ----- ------------------------------- -----------
<HOSTNAME> <LDAP_PORT2> <LDAPS_PORT2> DS oracle - /$ODSEE_INSTANCE_PATH/<LDAP_PORT2>
<HOSTNAME> <LDAP_PORT3> <LDAPS_PORT3> DS oracle - /$ODSEE_INSTANCE_PATH/<LDAP_PORT3>
<HOSTNAME> <LDAP_PORT4> <LDAPS_PORT4> DPS oracle - /$ODSEE_INSTANCE_PATH/<LDAP_PORT4>
<HOSTNAME> <LDAP_PORT1> <LDAPS_PORT1> DS oracle - /$ODSEE_INSTANCE_PATH/$DS_INSTANCE1


From the output above, the value for iPath (for the instance on port <LDAP_PORT1>) also does not exist -

$ ls -l /$ODSEE_INSTANCE_PATH/$DS_INSTANCE ls: /$ODSEE_INSTANCE_PATH/$DS_INSTANCE1: No such file or directory

When running dsccreg list-servers with the -C option (Verify that each registered server instance is accessible from DSCC), it shows the server as down -

Hostname    Port  sPort  Type  Owner   Flags  iPath                            LDAP  sTLS  LDAPS
----------  ----  -----  ----  ------  -----  -------------------------------  ----  ----  -----
<HOSTNAME>  <LDAP_PORT4>  <LDAPS_PORT4>   DPS   oracle  -      /$ODSEE_INSTANCE_PATH/<LDAP_PORT4>  Ok    Ok    Ok
<HOSTNAME>  <LDAP_PORT3>  <LDAPS_PORT3>   DS    oracle  -      /$ODSEE_INSTANCE_PATH/<LDAP_PORT3>  Ok    Ok    Ok
<HOSTNAME>  <LDAP_PORT1>  <LDAPS_PORT1>   DS    oracle  -      /$ODSEE_INSTANCE_PATH/$DS_INSTANCE1  Down  Down  Down
<HOSTNAME>  <LDAP_PORT2>  <LDAPS_PORT2>   DS    oracle  -      /$ODSEE_INSTANCE_PATH/<LDAP_PORT2>  Ok    Ok    Ok


 

Solution

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
Goal
Solution
 To Remove And Unregister an Existing Instance From the DSCC
 To Remove a Non-Existent Instance From the DSCC


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