Previous Topic: Job Management Manager Runs a Job on an Agent

Next Topic: Proxy Validation Error When Connecting to a Remote Node

Missing Information in the .ERR File

When it runs, the agent produces an .ERR file; however, you may not find the information you need. To find the information, you must look at the agent’s output file: SYS$SYSTEM:NSCHED$AGENT.LOG.

To turn on debugging in the agent, follow these steps:

  1. Open the following file:
    SYS$SYSTEM:NSCHED$AGENT_RUN.COM
    
  2. Find the following code:
    $!AGENT_PORT := 0
    $!DEFAULT_DIRECTORY := 0
    $!DEBUG_LEVEL := 0
    $!RUN_DETACHED = 1
    $!
    $SCHED$AGENT   !'AGENT_PORT'
    'DEFAULT_DIRECTORY' 'DEBUG_LEVEL'
    'RUN_DETACHED'
    
  3. Remove the exclamation points to uncomment the four parameters and the NSCHED$AGENT line. Your code should look like the following:
    $AGENT_PORT := 0
    $DEFAULT_DIRECTORY := 0
    $DEBUG_LEVEL := 0
    $RUN_DETACHED = 1
    $!
    $SCHED$AGENT   'AGENT_PORT'
    'DEFAULT_DIRECTORY' 'DEBUG_LEVEL'
    'RUN_DETACHED'
    
  4. Set DEBUG_LEVEL to 5.

    Note: You must uncomment all parameters because the parameters are position-dependent.

  5. Close the file.