Tag: ca

CA XCOM for Solaris

Check if the group xcomadm exists

root@solaris:~ # grep xcom /etc/group
xcomadm::60019:

Install XCOM by using pkgadd

root@solaris:/ # pkgadd -d /cdrom/CAXCOM.INS

The following packages are available:
1 XCOM Unicenter CA-XCOM Data Transport
(sparc) r11 0505

Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: 1

Processing package instance from

Unicenter CA-XCOM Data Transport(sparc) r11 0505

This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.

The installation of this package was previously terminated and
installation was never successfully completed.

Do you want to continue with the installation of [y,n,?] y

Unicenter CA-XCOM (TM) Data Transport (Version r11.0505 for BRIXTON)
Copyright(C) 1992, 1993, 1994, 1996 Computer Associates International, Inc.
Compatible with the SunOS 5.x release

Using as the package base directory.
## Processing package information.
## Processing system information.
6 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
* /usr/man/man1
* /usr/man/man3
* /usr/man/man5
* /usr/man/man8

* – conflict with a file which does not belong to any package.

Do you want to install these conflicting files [y,n,?,q] n

Do you want to continue with the installation of [y,n,?] y
## Checking for setuid/setgid programs.

The following files are being installed with setuid and/or setgid
permissions:
/etc/xcomd
/usr/bin/xcom62
/usr/bin/xcomqm
/usr/bin/xcomtcp
/usr/bin/xcomtool

Do you want to install these as setuid/setgid files [y,n,?,q] y
## Processing package information.
## Processing system information.

Installing Unicenter CA-XCOM Data Transport as

## Installing part 1 of 1.
/etc/xcomd
/usr/bin/cleanlog
/usr/bin/xcom62
/usr/bin/xcomencr
/usr/bin/xcomqm
/usr/bin/xcomtcp
/usr/bin/xcomtool
/usr/include/xcom/startst.h
/usr/include/xcom/xcomapi.h
/usr/include/xcom/xcomerr.h
/usr/lib/libxcom.a
/usr/lib/libxcomcomp.a
/usr/lib/libxcomtcp.a
/usr/lib/libxcomtxpi.a
/usr/lib/xcom/libcrypto.a
/usr/lib/xcom/libssl.a
/usr/lib/xcom/openssl
/usr/lib/xcom/xcomend
/usr/lib/xcom/xcomlp
/usr/lib/xcom/xcomntfy
/usr/lib/xcom/xcompp
/usr/lib/xcom/xcompre
/usr/man/man1
/usr/man/man1/cleanlog.1
/usr/man/man1/xcom62.1
/usr/man/man1/xcomencr.1
/usr/man/man1/xcomqm.1
/usr/man/man1/xcomtcp.1
/usr/man/man1/xcomtool.1
/usr/man/man3
/usr/man/man3/xcomapi.3
/usr/man/man3/xcomqapi.3
/usr/man/man5
/usr/man/man5/xcom.cnf.5
/usr/man/man5/xcom.glb.5
/usr/man/man5/xcom.ses.5
/usr/man/man5/xcom.trusted.5
/usr/man/man8
/usr/man/man8/xcomd.8
/usr/man/man8/xcomend.8
/usr/man/man8/xcomlp.8
/usr/man/man8/xcomntfy.8
/usr/man/man8/xcompp.8
/usr/man/man8/xcompre.8
/usr/man/man8/xcomtp.8
/usr/openwin/lib/app-defaults/Xcomtool
/usr/spool/xcom/config/README
/usr/spool/xcom/config/appc.prof
/usr/spool/xcom/config/configssl.cnf
/usr/spool/xcom/config/dh1024.pem
/usr/spool/xcom/config/dh2048.pem
/usr/spool/xcom/config/dh4096.pem
/usr/spool/xcom/config/dh512.pem
/usr/spool/xcom/config/readme.html
/usr/spool/xcom/config/xcom.cnf
/usr/spool/xcom/config/xcom.glb
/usr/spool/xcom/config/xcom.ses
/usr/spool/xcom/config/xcom.tid
/usr/spool/xcom/convtab/atoe.tab
/usr/spool/xcom/convtab/etoa.tab
/usr/spool/xcom/src/apitest.c
/usr/spool/xcom/src/makefile
/usr/spool/xcom/src/qapimake
/usr/spool/xcom/src/qapitest.c
/usr/spool/xcom/ssl/cassl.conf
/usr/spool/xcom/ssl/clientssl.conf
/usr/spool/xcom/ssl/listca
/usr/spool/xcom/ssl/listclient
/usr/spool/xcom/ssl/listserver
/usr/spool/xcom/ssl/makeca
/usr/spool/xcom/ssl/makeclient
/usr/spool/xcom/ssl/makeserver
/usr/spool/xcom/ssl/serverssl.conf
/usr/spool/xcom/trusted/xcom.trusted
/usr/spool/xcom/xcom.log
[ verifying class ]

Installation of was successful.

Checking if the package was installed

root@solaris # pkginfo -l XCOM
PKGINST: XCOM
NAME: Unicenter CA-XCOM Data Transport
CATEGORY: system
ARCH: sparc
VERSION: r11 0505
BASEDIR: /
PSTAMP: usprsu1i20050520102557
INSTDATE: Nov 27 2009 12:47
STATUS: completely installed
FILES: 88 installed pathnames
6 linked files
11 directories
21 executables
5 setuid/setgid executables
27343 blocks used (approx)

To start XCOM at the startup, add the following line to /etc/inittab

xcom:3:once:/etc/xcomd

Add the ports to the /etc/services file

txpi 8044/tcp # xcom
txpis 8045/tcp # xcom (r11 only)

Add the line to /etc/inetd.conf file to make inetd listen for those XCOM request

txpi stream tcp nowait root /usr/lib/xcom/xcomtcp xcomtcp REMOTE 0
txpis stream tcp nowait root /usr/lib/xcom/xcomtcp xcomtcp REMOTE 0 SSL

On Solaris 10, run inetconv to convert the lines you just inserted into SMF service manifests

root@solaris # inetconv

CA BrightStor ARCserve Backup – User not validated in the authentication server

To check the backup jobs on CA ARCserve Backup you type ca_dbmgr -show jobs

root@aix_lab:/ # /opt/CA/BrightStorARCserve/bin/ca_dbmgr -show jobs

NO. JOB ID JOB NO. JOB TYPE JOB STATUS JOB OWNER START TIME END TIME SET NAME DURATION(hh:mm:ss)COMMENTS

——————————————————————————————————————————————————————————–

——————————————————————-
1 277 99 Backup Cancelled caroot 05/25/10 07:00 05/25/10 19:00 12:00:48 aix_lab

2 278 99 Backup Incomplete caroot 05/26/10 07:00 05/26/10 08:57 01:57:24 aix_lab

3 279 99 Backup Incomplete caroot 05/27/10 07:00 05/27/10 09:08 02:08:42 aix_lab

4 280 99 Backup Incomplete caroot 05/28/10 07:00 05/28/10 09:41 02:41:11 aix_lab

5 281 99 Backup Active caroot 05/29/10 07:00 N/A 125:56:21 aix_lab

6 282 99 Backup Incomplete caroot 06/01/10 07:00 06/01/10 19:10 12:10:34 aix_lab

7 283 99 Backup Cancelled caroot 06/02/10 14:05 06/02/10 17:44 03:38:16 aix_lab

8 285 99 Backup Incomplete caroot 06/02/10 17:49 06/02/10 19:49 02:00:22 aix_lab

9 286 99 Backup Incomplete caroot 06/03/10 07:00 06/03/10 09:34 02:34:13 aix_lab

Check the status using cstatus

root@aix_lab:/ # /opt/CA/BrightStorARCserve/sbin/cstatus

caservd 966798
cadiscovd
cauthd 1233114
caloggerd 1462454
cadbd
camediad 1015990
caqd
staging 618564
cprocess

cacommd 1138824
httpd 741386 893058 897114

dbclean
MergeCat

To stop ARCserve use cstop

root@aix_lab:/ # /opt/CA/BrightStorARCserve/sbin/cstop

Stopping BrightStor ARCserve Backup…

Waiting for BrightStor ARCserve Backup to exit(0)…

BrightStor ARCserve Backup unloaded successfully

BrightStor ARCserve Backup GUI daemons stopped

After you stop, there is no daemon to authenticate your user.

root@aix_lab:/ # /opt/CA/BrightStorARCserve/bin/ca_dbmgr -show jobs
User not validated in the authentication server

root@root@aix_lab:/ # /opt/CA/BrightStorARCserve/sbin/cstatus
caservd
cadiscovd
cauthd
caloggerd
cadbd
camediad
caqd
staging
cprocess

cacommd
httpd

dbclean
MergeCat

Start ARCserve to make it work again

root@aix_lab:/ # /opt/CA/BrightStorARCserve/sbin/cstart

Starting BrightStor ARCserve Backup …

Please wait for all services to start. This may take a few minutes…

BrightStor ARCserve Backup GUI daemons started

CA XCOM for Linux

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.

Login denied by eTrust Security solutions : User Inactivity Time

When you receive the error message “Login denied by eTrust Security solutions : User Inactivity Time”, you need to reenable the user with the senable command

emerson@192.168.1.50’s password:
Login denied by eTrust Security solutions : User Inactivity Time
Connection to 192.168.1.50 closed.

root@solariswithetrust:/ # /usr/seos/bin/senable emerson
senable: user emerson was not revoked by local serevu.
senable: Checking if user emerson is disabled on localhost in UNIX.
senable: User emerson already enabled.
senable: Checking if user emerson is disabled on localhost in eTrust database.
senable: User emerson is already resumed in eTrust.
(localhost)
Successfully connected
INFO: Target host’s version is 5.10b (5.14)
Unix OS info: solariswithetrust SunOS 5.8 11 Feb 2010 14:58:42 BRST
(localhost)
Successfully updated USER emerson

(localhost)
Successfully connected
INFO: Target host’s version is 5.10b (5.14)
Unix OS info: solariswithetrust SunOS 5.8 11 Feb 2010 14:58:43 BRST
(localhost)
Unix :
======
Successfully updated USER emerson

User emerson enabled on localhost.
emersoneTrust sepass v5.10b (5.10) – password replacement
Portions of this product Copyright (c) 1999-2001 Computer Associates International, Inc.
Portions of this product Copyright (c) 1995-2001 Memco Software Ltd., a CA company. All rights reserved.

Changing password for emerson
Enter yours or emerson’s password:
Enter new password:
Verify new password:
Local password updated successfully.