CA Access Control R12 upgrade via RPM install path considerations.

Document ID : KB000053575
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

During the upgrade via RPM on Linux to CA AC r12 you must specify the install path via the prefix command.

Solution

If you are upgrading from Access Control r8 SP1 to Access Control r12 and you want to keep the default r8 SP1 directory of /opt/CA/eTrustAccessControl you must specify this by the prefix command. Please see example 1 below. You will receive an error if you only run the rpm -U command as seen in example 2 below. We have changed the default install directory in Access Control r12 to /opt/CA/AccessControl. If you do want to change to the new directory name you will need to backup the seosdb and related files. Uninstall Access Control r8 SP1 and then do a clean install of Access Control r12.

If you chose use the r8 SP1 default install path Access Control r12 will be installed to /opt/CA/eTrustAccessControl/AccessControl, but this directory will be linked to /opt/CA/eTrustAccessControl as shown in example 4.

This is due to a limitation on the RPM packaging and the name of the package must be in the install path. Since we have changed the name from eTrust Access Control, to Access Control. However, Access Control r12 CR1 and above will allow you to change the name of the package using the customize_eac_rpm script and the -u command as in example 5.

Example 1
------------
root@pghrh5 _LINUX_RPM]# rpm -U --prefix "/opt/CA/eTrustAccessControl" CAeAC-1200-1.1262.i386.rpm
Installation complete.
Check seos.ini file for the right configuration.
The installation process messages are logged in /opt/CA/eTrustAccessControl/AccessControl/AccessControl_install.log.
Please refer to the log file for more information.

Example 2
------------
root@pghrh5 _LINUX_RPM]# rpm -U CAeAC-1200-1.1262.i386.rpm
Rpm upgrade is not allowed to a different directory.
Installation found under /opt/CA/eTrustAccessControl.
error: %pre(CAeAC-1200-1.1262.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping CAeAC-1200-1.1262

Example 3
------------
[root@pghrh5 _LINUX_RPM]# rpm -i --prefix "/opt/CA/eTrustAccessControl/" CAeAC-1200-1.1262.i386.rpm
Installation complete.
Check seos.ini file for the right configuration.
The installation process messages are logged in /opt/CA/eTrustAccessControl/AccessControl/AccessControl_install.log.

Example 4
-----------
[root@pghrh5 eTrustAccessControl]# ls -l AccessControl
lrwxrwxrwx 1 root root 27 Nov 18 09:04 AccessControl -> /opt/CA/eTrustAccessControl

Example 5
----------
./customize_eac_rpm -u /opt/CA/ -d . CAeAC-1200-0.99999.i386.rpm