Red Hat Linux 9 using init.d and not systemd startup scripts in CCS 12.6.1
searchcancel
Red Hat Linux 9 using init.d and not systemd startup scripts in CCS 12.6.1
book
Article ID: 281353
calendar_today
Updated On: 08-07-2024
Products
Control Compliance Suite Standards ServerControl Compliance SuiteControl Compliance Suite Standards Module
Issue/Introduction
The CCS Agent is not starting up after a reboot on newer Linux servers such as Red Hat Enterprise Linux 9 as the agent is still using the old init.d startup scripts.
Environment
CCS 12.6, 12.6.1, and 12.7 CCS Linux agent
Resolution
How to deploy systemd compatible scripts ========================================
Download the attached scripts esmd.service migrate_esmrc_to_systemd.sh
Copy these in a directory on the target unix machine, where CCS agent in running.
Grant executable permission to migrate_esmrc_to_systemd.sh
Execute the migrate_esmrc_to_systemd.sh script
What does migrate_esmrc_to_systemd.sh do? ==========================
The migration script, stops the ESM Agent
Removes the existing esmrc file from /etc/
Installs esmd.service
Configures esmd, by reloading deamon and enabling the esmd.