How To Remove A Non-Existent Server From DSCC (Doc ID 1920317.1)

Last updated on JUNE 17, 2017

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 unregister 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 /home/oracle/11.1.1.7ODSEE/6389
Enter DSCC administrator's password:
/home/oracle/11.1.1.7ODSEE/6389 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 6389 has already been deleted by running dsadm delete  -



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

$ ls -l /home/oracle/11.1.1.7ODSEE/6389 ls: /home/oracle/11.1.1.7ODSEE/6389: 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
----------  ----  -----  ----  ------  -----  -------------------------------  ----  ----  -----
odsee-lab6  6951  6952   DPS   oracle  -      /home/oracle/11.1.1.7ODSEE/6951  Ok    Ok    Ok
odsee-lab6  5971  5972   DS    oracle  -      /home/oracle/11.1.1.7ODSEE/5971  Ok    Ok    Ok
odsee-lab6  6389  6636   DS    oracle  -      /home/oracle/11.1.1.7ODSEE/6389  Down  Down  Down
odsee-lab6  1795  1796   DS    oracle  -      /home/oracle/11.1.1.7ODSEE/1795  Ok    Ok    Ok


 

Solution

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