Directory management ui is failing to start with the following error:
-bash-4.4$ ./dxmgmtuiserver start
./dxmgmtuiserver: line 17: /node_modules/.bin/forever: No such file or directory
Starting Management UI server ...
./dxmgmtuiserver: line 25: /node_modules/.bin/forever: No such file or directory
Management UI server failed to start
Check the .dxprofile (usually under /opt/CA/Directory folder) on your system. Most common cause is missing the setup of DXUIHOM environment variable and related PATH setting.
If the following lines/section is not present, add these at the end of the file.
# Management UI
DXUIHOME=/opt/CA/Directory/management-ui
if [ "`echo $PATH | grep /opt/CA/Directory/management-ui`" = "" ]; then
PATH=/opt/CA/Directory/management-ui:${PATH}
fi
export DXUIHOME PATH
After that logout of the existing putty or SSH session and log in again. This time it should work to start the mgmt UI successfully.