Execution node on a Windows server 2019 machine


#1

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.


#2

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