Control-M Automation API 9.0.18.100 or higher fails to install when upgrading Control-M/Enterprise Manager from version 9.0.18/9.0.00 and attempting a re-install fails When applying Control-M/Enterprise Manager 9.0.18.100 or 9.0.18.200, the Control-M Automation API 9.0.18.XXX was not installed. The Control-M/Enterprise Manger's installed-versions.txt file should have the following 2 entries but the line with PADEV.9.0.18.XXX is missing. PADEV.9.0.18.100 Windows Feb-22-2018 Jul-25-2018 9.0.18.100 FIXPACK Control-M Automation API FP PANFT.9.0.18.100 windows_x86_64 May-08-2018 May-31-2018 9.0.18.100 UPGRADE Control-M/Enterprise Manager 9.0.18.100 In addition, the complete <EM_HOME>/etc/emweb/automation-api directory is missing. When attempting to re-install, it may fail with one of the following messages: FATAL ERROR: Failed to execute step : <em_home>/ctm_em/../bin/emrestsrv stop FATAL ERROR: Failed to execute step : rm "<em_home>/ctm_em/../bin/handle_emweb_ssl_port" |
CAR00188301 has been created to track this issue. Despite the title of the CAR, it applies to both Windows and Linux environments. Until it is implemented, please perform the following steps according to the platform; then re-run Control-M Automation API installation. If Control-M/Enterprise Manager 9.0.18 was applied then a copy of Control-M Automation API 9.0.18.100 can be found at the following location: <EM_HOME>\install\FP_utils\PADEV.9.0.18.xxx_windows_x86_64.exe (for Windows) <EM_HOME>/install/FP_utils/PADEV.9.0.18.xxx_Linux_x86-64.INSTALL.BIN (for Linux) WINDOWS 1.Create a dummy <EM_HOME>\bin\emrestsrv.bat file if it does not exist. In the batch file create a simple command such as the following: echo "dummy" LINUX 1. create the directory automation-api/bin with the command: mkdir -p $HOME/ctm_em/etc/emweb/automation-api/bin 2. switch to the new directory and create 3 files with the commands: touch emrestsrv touch automation_api_config touch handle_emweb_ssl_port 3. edit file emrestsrv and add the following content (please determine the shell that is used by the emuser and update accordingly): #!/bin/sh exit 0 4. change the permissions of file emrestsrv with the command chmod +x emrestsrv 5. navigate to the directory $HOME/bin and create 3 links with the commands: ln -s $HOME/ctm_em/etc/emweb/automation-api/bin/automation_api_config automation_api_config ln -s $HOME/ctm_em/etc/emweb/automation-api/bin/emrestsrv emrestsrv ln -s $HOME/ctm_em/etc/emweb/automation-api/bin/handle_emweb_ssl_port handle_emweb_ssl_port The following video demonstrates this article: |