Skip to content

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

kxk302 edited this page Jul 14, 2020 · 1 revision
  1. Get Job ID from UI. Click on the 'i' button, and write down the 'Job API ID'.
  2. Log in to galaxy07 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 galaxy07 via 'ssh -A [email protected]'. Use your userid instead of kxk302.
  5. Add the following to your ~/.bashrc: 'export PGDATABASE=galaxy_test'. 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.
  7. View the log via 'grep -rn id /srv/galaxy/main/log/handler1.log'. id is the decoded job id from step 3. grep handler1.log if the handler field in step 6 was 'test_handler1'