12.0 Agent install errors about AUTOSYS_INSTALL_LOCATION and AUTOROOT_PATH
search cancel

12.0 Agent install errors about AUTOSYS_INSTALL_LOCATION and AUTOROOT_PATH

book

Article ID: 201978

calendar_today

Updated On: 07-17-2025

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent Autosys Workload Automation

Issue/Introduction

AutoSys Agent install fails with any of the below errors:


AUTOSYS_INSTALL_LOCATION is not set in this shell.  Start a new session
Execute Custom Code
class cybermation.iainstaller.library.CybFatalException FatalInstallException AUTOSYS_INSTALL_LOCATION is not set in this shell.  Start a new session

 

Custom Action:            cybermation.iainstaller.library.CybFatalException
Status: FATAL ERROR
Additional Notes: FATAL ERROR -     class cybermation.iainstaller.library.CybFatalException FatalInstallException: AUTOSYS_INSTALL_LOCATION does not match the AUTOROOT_PATH specified


Custom Action:            cybermation.iainstaller.library.CybFatalException

Status: FATAL ERROR
Additional Notes: FATAL ERROR -     class cybermation.iainstaller.library.CybFatalException FatalInstallException: AUTOSYS_INSTALL_LOCATION cannot be set manually

 

Execute Custom Code
class cybermation.iainstaller.library.CybFatalException FatalInstallException AUTOSYS_INSTALL_LOCATION, Registry setting and AUTOROOT_PATH is not set

Cause

Starting version 12.0 onwards, when autosys_mode=true is used during the Agent install, we need to make sure that the AUTOSYS_INSTALL_LOCATION is shared across components the right way.

Resolution

On Unix/Linux:

  1.  If /etc/profile.CA  exists, with a reference to AUTOSYS_INSTALL_LOCATION   then source that file before running the setup. Basically AUTOSYS_INSTALL_LOCATION env variable should be in the shell prior to running setup.
    NOTE: AUTOSYS_INSTALL_LOCATION and AUTOROOT_PATH  values should be match,  or else installer will quit that they're not same
  2. If /etc/profile.CA does not exist,  then agent will install to  AUTOROOT_PATH specified in the silent_install.properties file. Then creates /etc/profile.CA   with AUTOSYS_INSTALL_LOCATION  and other environment variables added to it. If you need to add another agent,  follow step#1 above.

 

On Windows:

  1. In case of Windows operating system, installer queries a registry hive: HKLM\SOFTWARE\WOW6432Node\ComputerAssociates\Unicenter AutoSys JM\11.3_base\Environments\AutoSys   and/or  HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\Unicenter AutoSys JM\11.3_base\Environments\AutoSys  (as well as check Environment Variables section under System/Control Panel for AUTOSYS_INSTALL_LOCATION)

  2. AUTOSYS_INSTALL_LOCATION is a system environment variable   (new variable starting version 12.x). So, if this is present,  then installer assumes a previous r12 install was done.  Any additional agents/components have to go to the folder below the folder structure of AUTOSYS_INSTALL_LOCATION)  
    NOTE: AUTOROOT_PATH and AUTOSYS_INSTALL_LOCATION cannot conflict each other, if present, their values should match.
  3. If it is an upgrade, AGENT_UPGRADE_PATH  environment variable is used to identify which agent needs to be upgraded. Upgrade then adds a new env variable AUTOSYS_INSTALL_LOCATION.   We can't change current AGENT_UPGRADE_PATH  to a new location as part of upgrade.