Installed XCOM 12.0 on a RHEL 10.1 system into directory /apps/CA/XCOM (instead of the default /opt/CA/XCOM)
Also installed latest Linux 12.0 PTF LU15770 PTF to pick up systemd support for txpi services from the earlier PTF LU11905 ("NEW TXPI SERVICES TO SUPPORT SYSTEMD ON RED HAT 9 AND SUSE 15 SP3") that first introduced it.xcomqm: CA XCOM Data Transport r12.0 25010 SP00 64bit (for <no SNA support>)
However after the PTF the new txpi services are not listening on ports 8044, 8045, 8046, 8047 i.e. netstat command does not show them:
# netstat -na|grep 804#
The firewalld is disabled and so is SELinux.
# systemctl status firewalld○ firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
#
# sestatusSELinux status: disabled#
The expected files and symbolic links to them from /etc/systemd/system are present:
# ls -al $XCOM_HOME/txpitotal 56drwxrwxr-x 2 root xcomadm 4096 Nov 10 15:10 .drwxrwxr-x 21 root root 4096 Nov 10 15:10 ..-rwxr----- 1 root xcomadm 499 Apr 22 2022 txpi-rwxr----- 1 root xcomadm 522 Apr 22 2022 txpi6-rwxr----- 1 root xcomadm 223 Nov 10 15:10 [email protected]-rwxr----- 1 root xcomadm 580 Nov 10 15:10 txpi6.socket-rwxr----- 1 root xcomadm 521 Apr 22 2022 txpis-rwxr----- 1 root xcomadm 526 Apr 22 2022 txpis6-rwxr----- 1 root xcomadm 226 Nov 10 15:10 [email protected]-rwxr----- 1 root xcomadm 586 Nov 10 15:10 txpis6.socket-rwxr----- 1 root xcomadm 208 Nov 10 15:10 [email protected]-rwxr----- 1 root xcomadm 584 Nov 10 15:10 txpi.socket-rwxr----- 1 root xcomadm 211 Nov 10 15:10 [email protected]-rwxr----- 1 root xcomadm 592 Nov 10 15:10 txpis.socket
#
# ls -ald /etc/systemd/system/txp*lrwxrwxrwx 1 root root 33 Nov 10 15:11 /etc/systemd/system/[email protected] -> /apps/CA/XCOM/txpi/[email protected]lrwxrwxrwx 1 root root 31 Nov 10 15:11 /etc/systemd/system/txpi6.socket -> /apps/CA/XCOM/txpi/txpi6.socketlrwxrwxrwx 1 root root 34 Nov 10 15:11 /etc/systemd/system/[email protected] -> /apps/CA/XCOM/txpi/[email protected]lrwxrwxrwx 1 root root 32 Nov 10 15:11 /etc/systemd/system/txpis6.socket -> /apps/CA/XCOM/txpi/txpis6.socketlrwxrwxrwx 1 root root 32 Nov 10 15:11 /etc/systemd/system/[email protected] -> /apps/CA/XCOM/txpi/[email protected]lrwxrwxrwx 1 root root 30 Nov 10 15:11 /etc/systemd/system/txpi.socket -> /apps/CA/XCOM/txpi/txpi.socketlrwxrwxrwx 1 root root 33 Nov 10 15:11 /etc/systemd/system/[email protected] -> /apps/CA/XCOM/txpi/[email protected]lrwxrwxrwx 1 root root 31 Nov 10 15:11 /etc/systemd/system/txpis.socket -> /apps/CA/XCOM/txpi/txpis.socket#
The file contents also look to be correct:
# cat [email protected][Unit]Description=XCOM Data Transport TXPI Listener ServiceAfter = network.target
[Service]ExecStart=-/usr/lib/xcom/xcomtcp REMOTE 0 # the binary to startUser=rootGroup=xcomadmStandardInput=socket# # #
# cat txpi.socket[Unit]Description=XCOM Data Transport TXPI Socket
[Socket]ListenStream=0.0.0.0:8044Accept=yes #MaxConnections=64#The maximum number of connections to simultaneously run services instances for, when Accept=yes is set. If more concurrent connections are coming in, they will be refused until at least one existing connection is terminated.#MaxConnectionsPerSource=#The maximum number of connections for a service per source IP address. This is very similar to the MaxConnections= directive above. Disabled by default.
[Install]WantedBy=sockets.target#
However the socket service status is not accessible:# systemctl status txpi.socketUnit txpi.socket could not be found.#
XCOM™ Data Transport® for UNIX/Linux 12.0
It seems that for some reason the system has not processed correctly the existence of the new txpi services in /etc/systemd/system.
Referring to doc. page Configure the Listener Services for systemd, support suggested a manual reload i.e.# systemctl daemon-reload# systemctl status txpi.socket
The problem was resolved after reloading the daemon and starting the services txpi.socket, txpis.socket, txpi6.socket, txpis6.socket.