The purpose of this article is to document how to enable automatic startup of the XCOM for Linux xcomd daemon at server start by creating a system service using the Linux systemd system and service manager.
XCOM™ Data Transport® for UNIX/Linux 11.6, 12.0
The XCOM installer does not setup the system to automatically start the xcomd daemon at system startup and therefore by default it needs to be started manually.
The complete path to start xcomd would be /opt/CA/XCOM/sbin/xcomd or the path where XCOM is installed.
On Unix/Linux platforms, the native OS facilities can be used to define the service and be configured to start XCOM automatically on reboot. Refer to steps below to learn how to define a system service and enable for auto start on RHEL versions 8 or 9.
Validate the steps provided below and consult with the system administrator in order to customize it according to needs.
[Unit]Description = XCOMD Scheduler serviceAfter = network.targetStartLimitIntervalSec=30StartLimitBurst=5[Service]Type = forkingEnvironment=XCOM_HOME=/opt/CA/XCOMExecStart=/sbin/xcomdExecStop=/sbin/xcomd -sRestart=on-failureRemainAfterExit=noRestartSec=3[Install]WantedBy = multi-user.targetsystemctl start xcomdsystemctl stop xcomdsystemctl status xcomdsystemctl enable xcomdIf encountering problems with the automatic startup of xcomd, it is worth checking if SELinux is preventing xcomd from running in the background.
Use commands like these to check for any error messages and address them with the Linux administrator: