Here is a brief document to help you install or uninstall Computer Associates XCOM Data Transport for Linux
How to install XCOM
Check if there is a group named xcomadm on your server. If not, please create it.
root@linux:~ # groupmod xcomadm
groupmod: group ‘xcomadm’ does not exist
Check if the package is not installed. The name of the package is CA_XCOM.
root@linux:~ # rpm -qi -p CA_XCOM.xclx86.k2.6.motif2.2.rpm
Name : CA_XCOM Relocations: (not relocatable)
Version : r11 Vendor: (none)
Release : 0603 Build Date: Sat 03 Jun 2006 04:30:04 PM BRT
Install Date: (not installed) Build Host: usprsus1.ca.com
Group : Applications/Productivity Source RPM: CA_XCOM-r11-0603.src.rpm
Size : 11887644 License: commercial
Signature : (none)
Summary : A file transfer program.
Description :
CA-XCOM is a general purpose file transfer program.
root@linux:~ # rpm -qa | grep CA_XCOM
root@linux:~ #
Since it is not installed, let’s install the package. If you install the package using rpm, remember to check if you have the package called openmotif22.
root@linux:/dsmc/T3/software/files/xcom-linux # yum install CA_XCOM.xclx86.k2.6.motif2.2.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.atlantic.net
* updates: centos.mirror.nac.net
* addons: centos.aol.com
* extras: mirror.nyi.net
Setting up Install Process
Parsing package install arguments
Examining CA_XCOM.xclx86.k2.6.motif2.2.rpm: CA_XCOM-r11-0603.i586
Marking CA_XCOM.xclx86.k2.6.motif2.2.rpm to be installed
Resolving Dependencies
–> Running transaction check
—> Package CA_XCOM.i586 0:r11-0603 set to be updated
–> Processing Dependency: libXm.so.3 for package: CA_XCOM
–> Running transaction check
—> Package openmotif22.i386 0:2.2.3-18 set to be updated
–> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
CA_XCOM i586 r11-0603 CA_XCOM.xclx86.k2.6.motif2.2.rpm 4.5 M
Installing for dependencies:
openmotif22 i386 2.2.3-18 base 1.3 M
Transaction Summary
================================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 5.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : openmotif22 [1/2]
Installing : CA_XCOM [2/2]
Create Q, trusted, src, and trace directories
Make everything in /usr/spool/xcom and /usr/lib/xcom directories group xcomadm
Create the link for the program dealing with remotely initiated transfers
Set the permissions on the xcom directories /usr/spool/xcom/Q, /usr/spool/xcom/trace, /usr/spool/xcom/trusted, /usr/spool/xcom/ssl and /usr/spool/xcom/src
CA_XCOM install finished.
Installed: CA_XCOM.i586 0:r11-0603
Dependency Installed: openmotif22.i386 0:2.2.3-18
Complete!
Add the following lines to the /etc/services file
txpi 8044/tcp # xcom
txpis 8045/tcp # xcom (r11 only)
Create two files in /etc/xinetd.d called txpi and txpis
root@linux:~ # vi /etc/xinetd.d/txpi
# default: on
# description: The Unicenter CA-XCOM Data Transport Server.
service txpi
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/lib/xcom/xcomtcp
server_args = REMOTE 0
}
root@linux:~ # vi /etc/xinetd.d/txpis
# default: on
# description: The Unicenter CA-XCOM Data Transport Server.
service txpis
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/lib/xcom/xcomtcp
server_args = REMOTE 0 SSL
}
Start XCOM
root@linux:~ # /usr/sbin/xcomd
2008/09/28 21:01:53 PRG=xcomd PID=16368
XCOMU0088I xcomd started.
Making the daemon automatically start on startup
root@linux:~ # echo “xcom:3:once:/usr/sbin/xcomd” >> /etc/inittab
root@linux:~ # grep xcom /etc/inittab
xcom:3:once:/usr/bin/xcomd
Make xinetd reread its configuration file
root@linux:~ # pkill –HUP xinetd
Now check if there is a process listening on ports 8044 and 8045
root@linux:~ # netstat -an | grep 8044
tcp 0 0 0.0.0.0:8044 0.0.0.0:* LISTEN
root@linux:~ # netstat -an | grep 8045
tcp 0 0 0.0.0.0:8045 0.0.0.0:* EN
How to uninstall XCOM
Stop XCOM daemon
root@linux:~ # /usr/sbin/xcomd -s
XCOMU0079I xcomd: stop requested.
XCOMU0082I xcomd: stop request accepted.
Uninstall XCOM package
root@linux:~ # rpm -e CA_XCOM
Test if xcomd is running
xcomd not running, proceeding with uninstall.
Remove the program dealing with remotely initiated transfers
Remove the xcom directories
CA_XCOM uninstall finished.
Like this:
Like Loading...