Execution node on a Windows server 2019 machine

Hi, I am running into some trouble while scheduling a job on a windows server 2019 machine.

The job scheduled to run on this machine gets assigned to the machine, but there are permission issues here, the mom_log entries look like this:
12/06/2018 17:01:43;0100;pbs_mom;Job;390801.sched-win;allowed qa to access window station and desktop, User qa passworded
12/06/2018 17:01:43;0001;pbs_mom;Svr;pbs_mom;Permission denied (13) in task_save, error on open C:/PROGRA~2/PBS/home/mom_priv/jobs/390801.sched-win.TK/00000001
12/06/2018 17:01:43;0001;pbs_mom;Job;390801.sched-win;Task save failed
12/06/2018 17:01:43;0008;pbs_mom;Job;390801.sched-win;Task save failed
12/06/2018 17:01:44;0100;pbs_mom;Job;390801.sched-win;task 00000001 cput= 0:00:00
12/06/2018 17:01:44;0008;pbs_mom;Job;390801.sched-win;kill_job
12/06/2018 17:01:44;0100;pbs_mom;Job;390801.sched-win;kaby1 cput= 0:00:00 mem=0kb
12/06/2018 17:01:44;0100;pbs_mom;Job;390801.sched-win;Obit sent
12/06/2018 17:01:44;0080;pbs_mom;Job;390801.sched-win;delete job request received
12/06/2018 17:01:44;0008;pbs_mom;Job;390801.sched-win;kill_job
12/06/2018 17:01:44;0001;pbs_mom;Svr;pbs_mom;No error (0) in remdir, opendir: C:\PROGRA~2\PBS\home\mom_priv\jobs\390801.sched-win.TK
cygwin-bash$ ls -ltr mom_priv/jobs
total 0
d--------- 1 Administrators mkpasswd 0 Dec 6 17:01 390801.sched-win.TK
d--------- 1 Administrators mkpasswd 0 Dec 6 17:01 390802.sched-win.TK
d--------- 1 Administrators mkpasswd 0 Dec 6 17:03 390804.sched-win.TK
d--------- 1 Administrators mkpasswd 0 Dec 6 17:04 390805.sched-win.TK
d--------- 1 Administrators mkpasswd 0 Dec 6 17:04 390806.sched-win.TK
d--------- 1 Administrators mkpasswd 0 Dec 6 17:05 390807.sched-win.TK
d--------- 1 Administrators mkpasswd 0 Dec 6 17:06 390808.sched-win.TK
d--------- 1 Administrators mkpasswd 0 Dec 6 17:06 390809.sched-win.TK
cygwin-bash$
The permissions are not being set correctly for *.TK files.why? The procedure of installation and set up of pbspro is the same as what we have been following on other windows machines as well. Things are fine there.

Could you please try repairing permissions, to repair permissions on an execution host, log into the host and run the following commands:

  • net stop pbs_mom
  • pbs_mkdirs mom
  • net start pbs_mom

That did not work. I followed these steps to get it working. But these settings change back to the default on their own after a system reboot (and I end up having to follow these steps every time after a system reboot). Is there a permanent solution to this problem? I see it only on windows server 2019, not on any other OS version of windows.

  • Right click home in “c:\Program Files (x86)\PBS” and select properties -> security tab -> advanced button -> select Administrator user and change “Applies to” to “This folder, subfolder and files”, click on the checkbox to enable the children to get these permissions -> Apply
  • Right click mom_priv in “c:\Program Files (x86)\PBS\home” and select properties -> follow the same steps as above
  • Right click jobs in “c:\Program Files (x86)\PBS\home\mom_priv” and select properties -> follow the same steps as above