This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- We are having InstallAnywhere hang problem when running shell script
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 26, 2013
03:44 AM
We are having InstallAnywhere hang problem when running shell script
Hi experts,
we are using InstallAnywhere2009 Enterprise, and we are having the hang problem, it blocked us for two weeks.
we tried "Execute Command", "Execute Script/Batch file" and "Execute Target File" actions, but all of them hanged, and never go to next step even the shell script seems was executed successfully.
Execute Command: sh -c "$ETL_FILES_DIR$$/$shell$/$install_ips_bods.sh"
Execute Script/Batch file: sh -c "$ETL_FILES_DIR$$/$shell$/$install_ips_bods.sh"
Execute Target File: $USER_INSTALL_DIR$$/$install_ips_bods.sh
content of install_ips_bods.sh is as below.
#!/bin/sh
# Install IPS
/opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/IPS_Installer/DATA_UNITS/SBOP_IPS_lnx/setup.sh -r /opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/IPS_Installer/ips.ini InstallDir=/opt/HP_Universal_SL
AM_BO_ETL_CGL
# Install BODS
/opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/BODS_Installer/setup.sh -r /opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/BODS_Installer/bods.ini InstallDir=/opt/HP_Universal_SLAM_BO_ETL_CGL
can someone help?
we are using InstallAnywhere2009 Enterprise, and we are having the hang problem, it blocked us for two weeks.
we tried "Execute Command", "Execute Script/Batch file" and "Execute Target File" actions, but all of them hanged, and never go to next step even the shell script seems was executed successfully.
Execute Command: sh -c "$ETL_FILES_DIR$$/$shell$/$install_ips_bods.sh"
Execute Script/Batch file: sh -c "$ETL_FILES_DIR$$/$shell$/$install_ips_bods.sh"
Execute Target File: $USER_INSTALL_DIR$$/$install_ips_bods.sh
content of install_ips_bods.sh is as below.
#!/bin/sh
# Install IPS
/opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/IPS_Installer/DATA_UNITS/SBOP_IPS_lnx/setup.sh -r /opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/IPS_Installer/ips.ini InstallDir=/opt/HP_Universal_SL
AM_BO_ETL_CGL
# Install BODS
/opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/BODS_Installer/setup.sh -r /opt/HP_Universal_SLAM_BO_ETL_CGL/etl_files/BODS_Installer/bods.ini InstallDir=/opt/HP_Universal_SLAM_BO_ETL_CGL
can someone help?
(2) Replies
‎Aug 28, 2013
04:16 AM
Hi Vlad,
I resolved the hang problem, here is what I did in install_ips_bods.sh.
./setup.sh -r $USER_INSTALL_DIR$/etl_files/IPS_Installer/ips.ini InstallDir=$USER_INSTALL_DIR$ 2>/dev/null 1>/dev/null
./setup.sh -r $USER_INSTALL_DIR$/etl_files/BODS_Installer/bods.ini InstallDir=$USER_INSTALL_DIR$ 2>/dev/null 1>/dev/null
I just appended "2>/dev/null 1>/dev/null" to "setup.sh....".
Anyway, thanks for your reply.
I resolved the hang problem, here is what I did in install_ips_bods.sh.
./setup.sh -r $USER_INSTALL_DIR$/etl_files/IPS_Installer/ips.ini InstallDir=$USER_INSTALL_DIR$ 2>/dev/null 1>/dev/null
./setup.sh -r $USER_INSTALL_DIR$/etl_files/BODS_Installer/bods.ini InstallDir=$USER_INSTALL_DIR$ 2>/dev/null 1>/dev/null
I just appended "2>/dev/null 1>/dev/null" to "setup.sh....".
Anyway, thanks for your reply.