Skip to content

Viewing Job Log on Main (If you are NOT an admin)

kxk302 edited this page Jul 14, 2020 · 7 revisions
  1. Get Job ID from UI. Click on the 'i' button, and write down the 'Job API ID'.
  2. Log in to galaxy-web-05 via 'ssh -A [email protected]'
  3. Run 'helper -d JobId'. JobId is the 'Job API ID' from step 1.Write down the decoded job id and logout.
  4. Log in to galaxy-web-02 via 'ssh -A [email protected]'. Use your userid instead of kxk302.
  5. Add the following to your ~/.bashrc: 'export PGDATABASE=galaxy_main'. Run 'source ~/.bashrc' so the current shell sees the exported value.
  6. Run 'gxadmin query job-info id', where id is the decoded job id from step 3. Write down the 'handler' field then log out.
  7. Login to galaxy-web-03 or galaxy-web-04 based on the output of gxadmin query result in previous step via 'ssh -A [email protected]'. Use your userid instead of kxk302.
  8. View the log via 'grep -rn 'id' /srv/galaxy/main/log/handler0.log'. id is the decoded job id from step 3. grep handler1.log if the handler field in step 6 was 'main_handler1'