dmsmgr fails to remove directory

book

Article ID: 103069

calendar_today

Updated On:

Products

CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction



We want to recreate the Distribution Host - to first remove the existing DH we run:

dmsmgr -remove -dh DH__

but it is returning

Failed removing Policy Model directory.
Failed to remove DH


How to resolve this issue?

Environment

Release:
Component: CAPAMX

Resolution

Make sure you are logged on as root (the user which installed the DS component) to run the
# dmsmgr -remove -dh DH__
command.

Should it still fail to automatically delete the directory please execute these commands:
# secons -s
# rm -rf ..\CA\AccessControlServer\APMS\AccessControl\Data\DH_
_
(adjust the folder name accordingly to your specifics)


- the folder where pmdbs are stored in is specified in seos.ini

_pmd_directory_ = ...

Please delete the folder manually as indicated and recreate the DH accordingly afterwards.