Launch the Proxy

  1. Before you run the proxy, run the following command to load all the necessary libraries before installation.
    We recommend adding this command in the .bashrc file. This will eliminate the need to export LD_LIBRARY_PATH again and again.
    export LD_LIBRARY_PATH=<agent_installation_folder>/sdk_lib/lib
  2. To launch the proxy manually, run runSDKProxy.sh using the user ID of the Apache worker threads.

It is recommended that you create a Unix System Service that automatically starts the proxy at system startup.

AIX
nohup <agent_install_directory>/runSDKProxy.sh --jre-dir=<jre-path> >>/dev/null 2><agent_install_dir>/logs/proxy.out &
Alpine and Linux
nohup <agent_install_directory>/runSDKProxy.sh >>/dev/null 2><agent_install_dir>/logs/proxy.out &
Note: The Proxy expects the appropriate (64- vs. 32-bit) libstdc+6 library location. If you are installing the Apache Agent on a 64-bit OS that supports running a 32-bit Apache HTTP Server, make sure that the downloaded Apache Agent matches (i.e., is 32-bit), and that the libstdc+6 library is 32-bit as well. If you have both 64-bit and 32-bit versions of that library, make sure you are pointing to the correct version using the command export LD_PRELOAD=<path to 32bit library> before starting runSDKProxy.