Please follow the below instruction to turn ON the log files on the Linux agent server.


  • Login to the eG Agent host, using the eG user (egurkha)
  • Stop the eG Agent, using the command “/opt/egurkha/bin/stop_agent”
  • To enable the debug, open /opt/egurkha/bin, then using the command vi start_agent and Search for 'EgMainAgent',
  • Redirect the process and error log to respective files (default value is /dev/null) as agentout and agenterr.




  • Redirect the process and error log to respective files (default value is /dev/null) as agentout and agenterr.




  • Then start the agent, using the command “/opt/egurkha/bin/start_agent”.
  • After 40 minutes, Stop the eG Agent, using the command “/opt/egurkha/bin/stop_agent”
  • Now using winscp or filezilla, take a copy of the file error_log, agentout and agenterr located on the path “/opt/egurkha/agent/logs” and send the log files to the eG technical team
  • To disable the debug,Open /opt/egurkha/bin, then using the command vi start_agent , Search for 'EgMainAgent' and redirect the process and error log to respective files to /dev/null as before
  • Start the agent, using the command “/opt/egurkha/bin/start_agent”.