Upgrading WebMO 17 to WebMO 22
Posted: Tue Oct 18, 2022 2:59 pm
I am upgrading WebMO Enterprise from 17 to 22 on RHEL7. In our configuration, jobs created by WebMO are submitted to compute nodes using Slurm. It looks like the jobs are submitted correctly, but they stop with the error (given in pbs_stderr within the job's directory):
slurmstepd: error: couldn't chdir to `/var/www/cgi-bin': No such file or directory: going to /tmp instead
/var/spool/slurmd/job6958253/slurm_script: line 49: cd: /var/www/cgi-bin: No such file or directory
This makes sense, as /var/www/cgi-bin (which is the value of cgiBase in our globals.inc) is not accessible from compute nodes. I think this may be resolved by cd'ing to the cgi-bin webmo home directory, which is accessible from the compute nodes. Is there a way of doing this without having to change the value of cgiBase (which, in our case, is not the default recommended in the installation notes and has been inherited from the previous WebMO 17 installation)? Or do you recommend changing cgiBase and reinstall WebMO 22?
slurmstepd: error: couldn't chdir to `/var/www/cgi-bin': No such file or directory: going to /tmp instead
/var/spool/slurmd/job6958253/slurm_script: line 49: cd: /var/www/cgi-bin: No such file or directory
This makes sense, as /var/www/cgi-bin (which is the value of cgiBase in our globals.inc) is not accessible from compute nodes. I think this may be resolved by cd'ing to the cgi-bin webmo home directory, which is accessible from the compute nodes. Is there a way of doing this without having to change the value of cgiBase (which, in our case, is not the default recommended in the installation notes and has been inherited from the previous WebMO 17 installation)? Or do you recommend changing cgiBase and reinstall WebMO 22?