Red Hat Linux 9 using init.d and not systemd startup scripts in CCS 12.6.1
search cancel

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 Server Control Compliance Suite Control 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
========================================

  1. Download the attached scripts 
         esmd.service
         migrate_esmrc_to_systemd.sh
  2. Copy these in a directory on the target unix machine, where CCS agent in running. 
  3. Grant executable permission to migrate_esmrc_to_systemd.sh 
  4. Execute the migrate_esmrc_to_systemd.sh script

What does migrate_esmrc_to_systemd.sh do? 
==========================

  1.  The migration script, stops the ESM Agent 
  2.  Removes the existing esmrc file from /etc/
  3.  Installs esmd.service
  4. Configures esmd, by reloading deamon and enabling the esmd.

Attachments

esmd.service get_app
migrate_esmrc_to_systemd.sh get_app