PSMP servers are not working after server Upgrade from RHEL 7 to RHEL 8
Environment
12.0;12.6;13.0;13.2;14.0;14.2;14.4 Privileged Access Manager (PAM, self-hosted) PSMP
PSMP Server on RHEL7 that has been upgraded to RHEL8
Cause
The PSMP rpm packages for RHEL 7 and 8 are different. There are different permissions, packages and configurations for both OSs.
Resolution
If you upgrade from RHEL 7 to 8, uninstall the PSMP and install the right rpm package.
PrivilegedSessionManagerSSHProxy-RHELinux8-Intel64-Rls-<your version>.zip
Perform a clean uninstall as follows;
1) Use rpm -qa |grep CARK get the packages list, then remove the CARKpsmp packages one by one:
* #rpm -e CARKpsmp-infra (Ignore this if PSMP was installed with ModifiedSSH install or Yes mode)
* #rpm -e CARKpsmp
** using nopreun switch (i.e., #rpm -e --nopreun CARKpsmp) if the above command failed.
2) Delete the folders and PSMP internal users/groups in PSMP server, backup the file/folders before delete if needed:
* #rm -rf /var/opt/CARKpsmp /var/opt/CARKpsmpadb
* #rm -rf /etc/opt/CARKpsmp /etc/opt/CARKpsmpadb
* #rm -rf /opt/CARKpsmp /opt/CARKpsmpadb
* #userdel -r PSMConnect
* #userdel -r PSMShadowUser
* #groupdel PSMConnectUsers
* #groupdel PSMShadowUsers
* #groupdel PSMInternalUsers
3) Remove the PSMP users for this PSMP server from vault using PA Client
* PSMPApp_* (i.e., PSMPApp_hostname), PSMPGW_* & PSMP_ADB_*
https://community.cyberark.com/s/article/How-to-perform-a-clean-uninstall-of-PSMP-before-re-install
--------
Then install the correct rpm.