My active jobs and Shell app

Dear Developers,

We have been successfully using OnDemand version 3 for several years. Recently, we installed OnDemand version 4 on a new virtual machine. While the installation is functioning and I am able to submit jobs, I’ve encountered a few issues:

  1. Job Visibility: After submitting a job via OnDemand v4, it immediately appears as “Completed” in the interactive session and does not show up in the “My activeJobs” list. However, when I log into a compute node directly, I can see that the job is still running. These jobs are also visible in OnDemand v3 as expected.

  2. Shell Access: The shell in OnDemand v4 does not work. When I try to open it, I receive a “connection terminated” message immediately.

I would appreciate your assistance in resolving these issues.

Best regards,

Hello and welcome!

  1. What do the session logs look like for you when this happens, here’s a page over the logging locations if you are unfamiliar: Debugging Interactive Apps — Open OnDemand 4.0.0 documentation

  2. Have you configured the shell ping pong documented here: Customizations — Open OnDemand 4.0.0 documentation

Thanks for you reply I just updated my httpd it works. Now another problem I see my interactive app shows completed as soon as I submit. where as if go to active jobs it shows running.

For any problems, you need to start with logs and trying to track down what errors or warnings you see to resolve that. It’s extremely important to grasp this as interactive apps often need to be tinkered with and if you aren’t looking at the logs to debug, it’s going to be painful for you.

The best bet when this happens is the output.log to see what was happening as the app launched: Logging — Open OnDemand 4.0.0 documentation

Thanks I tried to find in logs but didn’t find anything in logs. Could you please help only issue si now as soon as I submit interactive session, it shows completed.

This is what logs shows when I submit jobs,
App 92674 output: [2025-09-22 10:56:24 -0400 ] INFO “execve = [{“LSF_BINDIR”=>“/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/bin”, “LSF_LIBDIR”=>“/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/lib”, “LSF_ENVDIR”=>“/hpc/lsf/conf”, “LSF_SERVERDIR”=>“/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/etc”}, “/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/bin/bsub”, “-cwd”, “/hpc/users/salujs01/ondemand/data/sys/dashboard/batch_connect/sys/bc_desktop/chimera/output/5ed180f3-f747-429a-a79d-7e2501cbe71e”, “-J”, “sys/dashboard/sys/bc_desktop/chimera”, “-W”, “60”, “-L”, “/bin/bash”, “-o”, “/hpc/users/salujs01/ondemand/data/sys/dashboard/batch_connect/sys/bc_desktop/chimera/output/5ed180f3-f747-429a-a79d-7e2501cbe71e/output.log”, “-B”, “-P”, “acc_hpcstaff”, “-q”, “ondemand”, “-n”, “2”, “-R”, “rusage[mem=3000]”, “-R”, “span[hosts=1]”]”
App 92674 output: [2025-09-22 10:56:24 -0400 ] INFO “execve = [{“LSF_BINDIR”=>“/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/bin”, “LSF_LIBDIR”=>“/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/lib”, “LSF_ENVDIR”=>“/hpc/lsf/conf”, “LSF_SERVERDIR”=>“/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/etc”}, “/hpc/lsf/10.1/linux3.10-glibc2.17-x86_64/bin/bjobs”, “-a”, “-w”, “-W”, “201941624”]”

It looks like we’re answering your remaining questions in another topic.