Related pages:

To enable the Database Agent to start automatically whenever the machine starts up:

  1. Create an initialization script that starts the agent, as in the sample initialization script that is an attachment to this page.

    In your script, set the JAVA and AGENT_HOME values to the paths for your system. Also, configure agent options and heap size, as needed.

  2. Enable execution permissions for the script. For example, given an initialization script named db-agent, enter:

    sudo chmod 775 db-agent
  3. Place the script in the initialization directory on your system, typically /etc/init.d. Alternatively, create a symbolic link to the script from the init.d directory to the script if you want to keep it in another location. 

  4. Add the script as a service as follows:

The Database Agent now starts automatically upon machine startup. When setting the agent to automatically start up using Task Scheduler when the machine starts or restarts, ensure the agent runs with the highest privileges available.