The re.sh Remote Engineering script does not create any output
search cancel

The re.sh Remote Engineering script does not create any output

book

Article ID: 133468

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

When we try to run re.sh it returns:

[RemoteEngineer]# ./re.sh
Creating Performance Center CARE package...
[RemoteEngineer]#

Note the immediate return to the CLI without prompting to accept the EULA.

Remote Engineer not working 

Environment

All supported DX NetOps Performance Management releases

Cause

The systems /tmp directory is set to noexec and will not allow re.sh to use it to write files and execute commands.

Can be verified using the command:

mount | grep tmp

Resolution

To resolve this we have two options.

  1. Remove the noexec setting from the /tmp directory. This may not be possible in many environments due to internal security policies.
  2. Create a new folder and have the re.sh script utilize it instead of the /tmp directory. To do so run the following commands:
    1. Create a new tmp directory. Can be anywhere on the system. Recommendation is to use (default path):
      • mkdir /opt/CA/temp
      • Note that the directory needs to be an empty directory with sufficient space. 5 GB would normally be sufficient.
    2. Run the re.sh from the (default path) /opt/CA/PerformanceCenter/RemoteEngineer directory while specifying the new temp dir to use.
      • TMPDIR="/opt/CA/temp" ./re.sh

Additional Information

See the Unable to Resolve Issue documentation topic for additional re.sh instructions.