Spectrum non root Secure Domain Connector install fails to install after uninstall.
search cancel

Spectrum non root Secure Domain Connector install fails to install after uninstall.

book

Article ID: 434235

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

After uninstalling the SDC, you attempt to reinstall as non root but it fails on the post install step with the following error.

./sdmc_nonroot_prepost_install.sh: line 253: /opt/CA/SDMConnector/eTPKI/setup: No such file or directory
Stopping the sdmconnector daemon from unregister_init_sdmconnector
Failed to start sdmconnector.service: Access denied
See user logs and 'systemctl --user status sdmconnector.service' for details.
executing sysctl -q -p command
 Updating the network buffers!!!
Existing wmem_default: 8388608
Existing wmem_max: 8388608
Existing rmem_default: 8388608
Existing rmem_max: 8388608
Executing Postinstallation Steps Has Ended

InstallationError.log shows the following:
Previously SDC was installed. TrapX installation over SDC is not recommended during Upgrade. Hence, aborting the upgrade.

 

Environment

Release : This affects all supported versions as of March 24th 2026 with current latest release being 25.4.5
Component : Secure Domain Connector (SDC)

Cause

Changes in how services are managed going from RHEL7 to RHEL8 causes a problem in the uninstall code causes problems when run from outside of the Uninstall directory.  It needs to be run from  /opt/CA/SDMConnector/Uninstall_DX NetOps Spectrum Secure Domain Connector.  The uninstall should be run as follows:

NOTE: The following instructions assume the SDC is installed in the default /opt/CA/SDMConnector directory. Your install directory may be different.

  • Log into the system as the non root owner
  • Shutdown the SDMConnector by running the following command:

    systemctl --user stop sdmconnector.service
    or
    /opt/CA/SDMConnector/bin/SdmConnectorService.exe --stop

  • cd /opt/CA/SDMConnector/Uninstall_DX NetOps Spectrum Secure Domain Connector
  • run

     ./'Uninstall_DX NetOps Spectrum Secure Domain Connector'

 

Resolution

If you encounter this failure please do the following:

  • Manually delete the SDC installation directory at /opt/CA/SDMConnector

  • Manually delete the SDC installation files in /opt/SPECTRUM/

    lrwxrwxrwx. 1 spectrum spectrum 24 Mar 20 12:35 lib -> bin
    -rw-rw-r--. 1 spectrum spectrum 72 Mar 20 12:46 sdmc80.env

  • Manually delete the service files at ~/.config/systemd/user/
    default.target.wants  and sdmconnector.service

  • Rerun the install

Additional Information

This is being addressed in DE184311.