OS verison: Version 10.0.10586
C:\Program Files (x86)\PBS\exec\etc>python win_postinstall.py -u brema -p password
Post installation process started
This script may take a few minutes to run
Validating given username and password
Successfully validated given username and password
Installing Visual C++ redistributable
Successfully installed Visual C++ redistributable
Creating PBSPro configuration at C:\Program Files (x86)\PBS\pbs.conf
Successfully created PBSPro configuration
Creating PBSPro home
Initializing PBSPro database
Successfully initialized PBSPro database
Successfully registered PBS_SCHED service
Failed to start service PBS_SCHED
C:\Program Files (x86)\PBS\exec\etc>
Cause for the failure:
We are using blocking command line program called "net", which returned as fail to start, but ideally started later.
C:\Program Files (x86)\PBS\exec\etc>net start pbs_sched
The PBS_SCHED service is starting........
The PBS_SCHED service could not be started.
More help is available by typing NET HELPMSG 3523.
C:\Program Files (x86)\PBS\exec\etc>echo %ERRORLEVEL%
If we check the status of services, its running fine.
C:\Users\brema>sc query pbs_sched
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0