We attempted to run the remote engineer with sudo and got the below error message:
$ sudo ./RemoteEngineer/re.sh
Creating Data Collector CARE package...
RE config at: conf/config.properties does not exist at (eval 781) line 24.
Release : 3.7.x
Component : IM Reporting / Admin / Configuration
re.sh REQUIRES it be run from RemoteEngineer directory itself
We didn't design it to correctly find files based on ARGV[0] which is path/filename of CARE program
Based on:
conf/config.properties File:
it is looking for it in: /conf/config.properties
and not
/opt/CA/PerformanceCenter/RemoteEngineer/conf/config.properties
The config.properties error is usually caused by not running re.sh from its home directory.
Please go the correct path to execute the re.sh
<install_home>/RemoteEngineer/
For example:
cd /opt/CA/PerformanceCenter/RemoteEngineer
./re.sh