Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Running PAT on VirtualBox VM - server won't launch

Hello!

I have a goal to install OpenStudio Application and Parametric Analysis Tool onto a Windows Virtual Machine, and then transfer that VM (file) to a colleague (external to my institution) to enable them to explore models made by my team without having to worry about installation and configuration of the BEM tools.

Towards that end:

I installed Parametric Analysis Tool 3.6.1 on an Oracle VirtualBox virtual machine running Windows 11. The software loads, but when I try to "Start Local Server" (via Server Tools), it says "Error, Server Did Not Start". I am able to get the Localhost:8080 server to run locally on a normal Windows 11 desktop, so I think I should be able to replicate in a VM. (Note: I already made sure that I don't have spaces in folder names or other things that might trip up a server.)

So:

1) Is there some fundamental reason why the server would not run on a VirtualBox VM (with Windows 11 as the OS)? Is localhost disabled or referenced differently in some way that would preclude PAT using it?

2) More specifically, do the debug messages below give a clue to the root problem? (Sorry, I apparently lack enough Karma points to post screenshots.)

Thank you, Dr. Scott Duncan duncan@gatech.edu

Log file: angular.js:15697 START SERVER...SERVER TYPE: local

angular.js:15697 SERVER STATUS: stopped

angular.js:15697 stop server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" stop_local "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

angular.js:15697 start server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

app-67784043cc.js:1 Child pid: 7988

app-67784043cc.js:1 child exited due to receipt of signal null (exit code 1)

angular.js:15697 Server failed to start (anonymous) @ angular.js:15697

angular.js:15697 SERVER ERROR (anonymous) @ angular.js:15697

app-67784043cc.js:1 exec error: Error: Command failed: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

at __node_internal_genericNodeError (node:internal/errors:841:15)
at ChildProcess.exithandler (node:child_process:407:12)
at ChildProcess.emit (node:events:539:35)
at maybeClose (node:internal/child_process:1092:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)

app-67784043cc.js:1 child closed due to receipt of signal null (exit code 1)

angular.js:15697 ERROR in start local server: undefined (anonymous) @ angular.js:15697

angular.js:15697 Possibly unhandled rejection: undefined (anonymous) @ angular.js:15697

Running PAT on VirtualBox VM - server won't launch

Hello!

I have a goal to install OpenStudio Application and Parametric Analysis Tool onto a Windows Virtual Machine, and then transfer that VM (file) to a colleague (external to my institution) to enable them to explore models made by my team without having to worry about installation and configuration of the BEM tools.

Towards that end:

I installed Parametric Analysis Tool 3.6.1 on an Oracle VirtualBox virtual machine running Windows 11. The software loads, but when I try to "Start Local Server" (via Server Tools), it says "Error, Server Did Not Start". I am able to get the Localhost:8080 server to run locally on a normal Windows 11 desktop, so I think I should be able to replicate in a VM. (Note: I already made sure that I don't have spaces in folder names or other things that might trip up a server.)

So:

1) Is there some fundamental reason why the server would not run on a VirtualBox VM (with Windows 11 as the OS)? Is localhost disabled or referenced differently in some way that would preclude PAT using it?

2) More specifically, do the debug messages below give a clue to the root problem? (Sorry, I apparently lack enough Karma points to post screenshots.)

Thank you, Dr. Scott Duncan duncan@gatech.edu

Log file: angular.js:15697 START SERVER...SERVER TYPE: local

angular.js:15697 SERVER STATUS: stopped

angular.js:15697 stop server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" stop_local "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

angular.js:15697 start server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

app-67784043cc.js:1 Child pid: 7988

app-67784043cc.js:1 child exited due to receipt of signal null (exit code 1)

angular.js:15697 Server failed to start (anonymous) @ angular.js:15697

angular.js:15697 SERVER ERROR (anonymous) @ angular.js:15697

app-67784043cc.js:1 exec error: Error: Command failed: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

at __node_internal_genericNodeError (node:internal/errors:841:15)
at ChildProcess.exithandler (node:child_process:407:12)
at ChildProcess.emit (node:events:539:35)
at maybeClose (node:internal/child_process:1092:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)

app-67784043cc.js:1 child closed due to receipt of signal null (exit code 1)

angular.js:15697 ERROR in start local server: undefined (anonymous) @ angular.js:15697

angular.js:15697 Possibly unhandled rejection: undefined (anonymous) @ angular.js:15697

Running PAT on VirtualBox VM - server won't launch

Hello!

I have a goal to install OpenStudio Application and Parametric Analysis Tool onto a Windows Virtual Machine, and then transfer that VM (file) to a colleague (external to my institution) to enable them to explore models made by my team without having to worry about installation and configuration of the BEM tools.

Towards that end:

I installed Parametric Analysis Tool 3.6.1 on an Oracle VirtualBox virtual machine running Windows 11. The software loads, but when I try to "Start Local Server" (via Server Tools), it says "Error, Server Did Not Start". I am able to get the Localhost:8080 server to run locally on a normal Windows 11 desktop, so I think I should be able to replicate in a VM. (Note: I already made sure that I don't have spaces in folder names or other things that might trip up a server.)

So:

1) Is there some fundamental reason why the server would not run on a VirtualBox VM (with Windows 11 as the OS)? Is localhost disabled or referenced differently in some way that would preclude PAT using it?

2) More specifically, do the debug messages below give a clue to the root problem? (Sorry, I apparently lack enough Karma points to post screenshots.)

Edit: I reviewed this oft-referenced post but it did not help: https://unmethours.com/question/22431/what-do-i-do-about-a-server-error-in-pat-200/

Thank you, Dr. Scott Duncan duncan@gatech.edu

Log file: angular.js:15697 START SERVER...SERVER TYPE: local

angular.js:15697 SERVER STATUS: stopped

angular.js:15697 stop server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" stop_local "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

angular.js:15697 start server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

app-67784043cc.js:1 Child pid: 7988

app-67784043cc.js:1 child exited due to receipt of signal null (exit code 1)

angular.js:15697 Server failed to start (anonymous) @ angular.js:15697

angular.js:15697 SERVER ERROR (anonymous) @ angular.js:15697

app-67784043cc.js:1 exec error: Error: Command failed: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

at __node_internal_genericNodeError (node:internal/errors:841:15)
at ChildProcess.exithandler (node:child_process:407:12)
at ChildProcess.emit (node:events:539:35)
at maybeClose (node:internal/child_process:1092:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)

app-67784043cc.js:1 child closed due to receipt of signal null (exit code 1)

angular.js:15697 ERROR in start local server: undefined (anonymous) @ angular.js:15697

angular.js:15697 Possibly unhandled rejection: undefined (anonymous) @ angular.js:15697

Running PAT on VirtualBox VM - server won't launch

Hello!

I have a goal to install OpenStudio Application and Parametric Analysis Tool onto a Windows Virtual Machine, and then transfer that VM (file) to a colleague (external to my institution) to enable them to explore models made by my team without having to worry about installation and configuration of the BEM tools.

Towards that end:

I installed Parametric Analysis Tool 3.6.1 on an Oracle VirtualBox virtual machine running Windows 11. The software loads, but when I try to "Start Local Server" (via Server Tools), it says "Error, Server Did Not Start". I am able to get the Localhost:8080 server to run locally on a normal Windows 11 desktop, so I think I should be able to replicate in a VM. (Note: I already made sure that I don't have spaces in folder names or other things that might trip up a server.)

So:

1) Is there some fundamental reason why the server would not run on a VirtualBox VM (with Windows 11 as the OS)? Is localhost disabled or referenced differently in some way that would preclude PAT using it?

2) More specifically, do the debug messages below give a clue to the root problem? (Sorry, I apparently lack enough Karma points to post screenshots.)

Edit: I reviewed this oft-referenced post but it did not help: https://unmethours.com/question/22431/what-do-i-do-about-a-server-error-in-pat-200/

Thank you, Dr. Scott Duncan duncan@gatech.edu

Log file: file:

angular.js:15697 
START SERVER...SERVER TYPE:  local              

angular.js:15697 SERVER STATUS: stopped

angular.js:15697 stop server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" stop_local "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

angular.js:15697 start server command: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

app-67784043cc.js:1 Child pid: 7988

app-67784043cc.js:1 child exited due to receipt of signal null (exit code 1)

1) angular.js:15697 Server failed to start (anonymous) @ angular.js:15697

angular.js:15697 angular.js:15697 SERVER ERROR (anonymous) @ angular.js:15697

angular.js:15697 app-67784043cc.js:1 exec error: Error: Command failed: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

"C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

    at __node_internal_genericNodeError (node:internal/errors:841:15)
 at ChildProcess.exithandler (node:child_process:407:12)
 at ChildProcess.emit (node:events:539:35)
 at maybeClose (node:internal/child_process:1092:16)
 at ChildProcess._handle.onexit (node:internal/child_process:302:5)

app-67784043cc.js:1 child closed due to receipt of signal null (exit code 1)

1) angular.js:15697 ERROR in start local server: undefined (anonymous) @ angular.js:15697

angular.js:15697 angular.js:15697 Possibly unhandled rejection: undefined (anonymous) @ angular.js:15697

angular.js:15697

Running PAT on VirtualBox VM - server won't launch

Hello!

I have a goal to install OpenStudio Application and Parametric Analysis Tool onto a Windows Virtual Machine, and then transfer that VM (file) to a colleague (external to my institution) to enable them to explore models made by my team without having to worry about installation and configuration of the BEM tools.

Towards that end:

I installed Parametric Analysis Tool 3.6.1 on an Oracle VirtualBox virtual machine running Windows 11. The software loads, but when I try to "Start Local Server" (via Server Tools), it says "Error, Server Did Not Start". I am able to get the Localhost:8080 server to run locally on a normal Windows 11 desktop, so I think I should be able to replicate in a VM. (Note: I already made sure that I don't have spaces in folder names or other things that might trip up a server.)

So:

1) Is there some fundamental reason why the server would not run on a VirtualBox VM (with Windows 11 as the OS)? Is localhost disabled or referenced differently in some way that would preclude PAT using it?

2) More specifically, do the debug messages below give a clue to the root problem? (Sorry, I apparently lack enough Karma points to post screenshots.)

Edit: Edit1: I reviewed this oft-referenced post but it did not help: https://unmethours.com/question/22431/what-do-i-do-about-a-server-error-in-pat-200/

Thank you, Dr. Scott Duncan duncan@gatech.edu

Log file:

angular.js:15697 
START SERVER...SERVER TYPE:  local              

angular.js:15697 
SERVER STATUS:  stopped     

angular.js:15697 
stop server command:  "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" stop_local "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"            

angular.js:15697 
start server command:  "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"  

app-67784043cc.js:1 
Child pid: 7988                         

app-67784043cc.js:1 
child exited due to receipt of signal null (exit code 1)


angular.js:15697 
Server failed to start
(anonymous) @   angular.js:15697


angular.js:15697 
SERVER ERROR
(anonymous) @   angular.js:15697

app-67784043cc.js:1 
exec error: Error: Command failed: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

    at __node_internal_genericNodeError (node:internal/errors:841:15)
    at ChildProcess.exithandler (node:child_process:407:12)
    at ChildProcess.emit (node:events:539:35)
    at maybeClose (node:internal/child_process:1092:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)

app-67784043cc.js:1 
child closed due to receipt of signal null (exit code 1)

angular.js:15697
ERROR in start local server:  undefined
(anonymous) @   angular.js:15697

angular.js:15697
Possibly unhandled rejection: undefined
(anonymous) @   angular.js:15697

EDIT2: Adding what I found when I added --verbose, see below.

C:\Users\mbx>"C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" --verbose start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\Users\mbx\Documents\model_for_debug"
D, [2024-05-13T15:05:40.646797 #8212] DEBUG -- : Set Logger log level to DEBUG
D, [2024-05-13T15:05:40.647385 #8212] DEBUG -- : Environment is: {"ALLUSERSPROFILE"=>"C:\\ProgramData", "APPDATA"=>"C:\\Users\\mbx\\AppData\\Roaming", "CommonProgramFiles"=>"C:\\Program Files\\Common Files", "CommonProgramFiles(x86)"=>"C:\\Program Files (x86)\\Common Files", "CommonProgramW6432"=>"C:\\Program Files\\Common Files", "COMPUTERNAME"=>"WINDOWS11", "ComSpec"=>"C:\\Windows\\system32\\cmd.exe", "DriverData"=>"C:\\Windows\\System32\\Drivers\\DriverData", "EFC_7124"=>"1", "FPS_BROWSER_APP_PROFILE_STRING"=>"Internet Explorer", "FPS_BROWSER_USER_PROFILE_STRING"=>"Default", "GEM_HOME"=>"C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/gems", "GEM_PATH"=>"C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/gems;C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/gems/bundler/gems", "HOME"=>"C:/Users/mbx", "HOMEDRIVE"=>"C:", "HOMEPATH"=>"\\Users\\mbx", "LOCALAPPDATA"=>"C:\\Users\\mbx\\AppData\\Local", "LOGONSERVER"=>"\\\\WINDOWS11", "NUMBER_OF_PROCESSORS"=>"4", "OneDrive"=>"C:\\Users\\mbx\\OneDrive", "OS"=>"Windows_NT", "Path"=>"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Users\\mbx\\AppData\\Local\\Microsoft\\WindowsApps;", "PATHEXT"=>".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "PROCESSOR_ARCHITECTURE"=>"AMD64", "PROCESSOR_IDENTIFIER"=>"Intel64 Family 6 Model 158 Stepping 13, GenuineIntel", "PROCESSOR_LEVEL"=>"6", "PROCESSOR_REVISION"=>"9e0d", "ProgramData"=>"C:\\ProgramData", "ProgramFiles"=>"C:\\Program Files", "ProgramFiles(x86)"=>"C:\\Program Files (x86)", "ProgramW6432"=>"C:\\Program Files", "PROMPT"=>"$P$G", "PSModulePath"=>"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC"=>"C:\\Users\\Public", "SESSIONNAME"=>"Console", "SystemDrive"=>"C:", "SystemRoot"=>"C:\\Windows", "TEMP"=>"C:\\Users\\mbx\\AppData\\Local\\Temp", "TMP"=>"C:\\Users\\mbx\\AppData\\Local\\Temp", "USER"=>"mbx", "USERDOMAIN"=>"WINDOWS11", "USERDOMAIN_ROAMINGPROFILE"=>"WINDOWS11", "USERNAME"=>"mbx", "USERPROFILE"=>"C:\\Users\\mbx", "windir"=>"C:\\Windows"}
D, [2024-05-13T15:05:40.647965 #8212] DEBUG -- : Input ARGV is ["start_local", "--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.648519 #8212] DEBUG -- : Executing requires
D, [2024-05-13T15:05:40.648733 #8212] DEBUG -- : Requiring tmpdir
D, [2024-05-13T15:05:40.675471 #8212] DEBUG -- : Requiring optsparse
D, [2024-05-13T15:05:40.682048 #8212] DEBUG -- : Requiring timeout
D, [2024-05-13T15:05:40.686631 #8212] DEBUG -- : Requiring json
D, [2024-05-13T15:05:40.687123 #8212] DEBUG -- : Required initial gems successfully
I, [2024-05-13T15:05:40.687608 #8212]  INFO -- : Executing argv: ["start_local", "--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
I, [2024-05-13T15:05:40.688018 #8212]  INFO -- : CLI Parsed Inputs: [] "start_local" ["--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.688639 #8212] DEBUG -- : Main arguments are []
D, [2024-05-13T15:05:40.689075 #8212] DEBUG -- : Sub-command is start_local
D, [2024-05-13T15:05:40.689479 #8212] DEBUG -- : Sub-arguments are ["--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.689682 #8212] DEBUG -- : Invoking command class: StartLocal ["--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.696148 #8212] DEBUG -- : StartLocal command: [] {:debug=>true, :force_directories=>false, :workers=>3, :ruby_path=>"C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe", :mongo_dir=>"C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", :oscli=>nil, :energyplus_exe_path=>"C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", :openstudio_exe_path=>"C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe"}
D, [2024-05-13T15:05:44.781266 #8212] DEBUG -- : Mongo port will be 27017
D, [2024-05-13T15:05:48.872764 #8212] DEBUG -- : Rails port will be 8080
D, [2024-05-13T15:05:48.873324 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/mongo_command" -p 27017 "C:/Users/mbx/Documents/model_for_debug/logs" "C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" "C:/Users/mbx/Documents/model_for_debug/data/db" "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" "C:\Users\mbx\Documents\model_for_debug" --debug
D, [2024-05-13T15:05:48.873826 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/rails_command" -p 8080 "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" 27017 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.874594 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_server_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.874922 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_worker_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" 1 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.875669 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_worker_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" 2 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.875757 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_worker_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" 3 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
System call will be: 'mongod.exe --port 27017 --logpath "C:/Users/mbx/Documents/model_for_debug/logs/mongo.log" --dbpath "C:/Users/mbx/Documents/model_for_debug/data/db"' in directory 'C:/ParametricAnalysisTool-3.6.1/pat/mongo/bin'
E, [2024-05-13T15:06:05.565994 #8212] ERROR -- : Mongod failed to launch. Please refer to `C:\Users\mbx\Documents\model_for_debug/logs/mongod.log`.
W, [2024-05-13T15:06:05.832214 #8212]  WARN -- : No process with PID 8748 exists, did not attempt to kill

Running PAT on VirtualBox VM - server won't launch

Hello!

I have a goal to install OpenStudio Application and Parametric Analysis Tool onto a Windows Virtual Machine, and then transfer that VM (file) to a colleague (external to my institution) to enable them to explore models made by my team without having to worry about installation and configuration of the BEM tools.

Towards that end:

I installed Parametric Analysis Tool 3.6.1 on an Oracle VirtualBox virtual machine running Windows 11. The software loads, but when I try to "Start Local Server" (via Server Tools), it says "Error, Server Did Not Start". I am able to get the Localhost:8080 server to run locally on a normal Windows 11 desktop, so I think I should be able to replicate in a VM. (Note: I already made sure that I don't have spaces in folder names or other things that might trip up a server.)

So:

1) Is there some fundamental reason why the server would not run on a VirtualBox VM (with Windows 11 as the OS)? Is localhost disabled or referenced differently in some way that would preclude PAT using it?

2) More specifically, do the debug messages below give a clue to the root problem? (Sorry, I apparently lack enough Karma points to post screenshots.)

Edit1: I reviewed this oft-referenced post but it did not help: https://unmethours.com/question/22431/what-do-i-do-about-a-server-error-in-pat-200/

Thank you, Dr. Scott Duncan duncan@gatech.edu

Log file:

angular.js:15697 
START SERVER...SERVER TYPE:  local              

angular.js:15697 
SERVER STATUS:  stopped     

angular.js:15697 
stop server command:  "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" stop_local "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"            

angular.js:15697 
start server command:  "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"  

app-67784043cc.js:1 
Child pid: 7988                         

app-67784043cc.js:1 
child exited due to receipt of signal null (exit code 1)


angular.js:15697 
Server failed to start
(anonymous) @   angular.js:15697


angular.js:15697 
SERVER ERROR
(anonymous) @   angular.js:15697

app-67784043cc.js:1 
exec error: Error: Command failed: "C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\ParametricAnalysisTool-3.6.1\pat\debugger3"

    at __node_internal_genericNodeError (node:internal/errors:841:15)
    at ChildProcess.exithandler (node:child_process:407:12)
    at ChildProcess.emit (node:events:539:35)
    at maybeClose (node:internal/child_process:1092:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)

app-67784043cc.js:1 
child closed due to receipt of signal null (exit code 1)

angular.js:15697
ERROR in start local server:  undefined
(anonymous) @   angular.js:15697

angular.js:15697
Possibly unhandled rejection: undefined
(anonymous) @   angular.js:15697

EDIT2: Adding what I found when I added --verbose, see below.

C:\Users\mbx>"C:\ParametricAnalysisTool-3.6.1\pat\ruby\bin\ruby.exe" "C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio-server\bin\openstudio_meta" --verbose start_local --worker-number=3 --energyplus-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\EnergyPlus\energyplus.exe" --openstudio-exe-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\bin\openstudio.exe" --ruby-lib-path="C:\ParametricAnalysisTool-3.6.1\pat\OpenStudio\Ruby" --mongo-dir="C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" --debug "C:\Users\mbx\Documents\model_for_debug"
D, [2024-05-13T15:05:40.646797 #8212] DEBUG -- : Set Logger log level to DEBUG
D, [2024-05-13T15:05:40.647385 #8212] DEBUG -- : Environment is: {"ALLUSERSPROFILE"=>"C:\\ProgramData", "APPDATA"=>"C:\\Users\\mbx\\AppData\\Roaming", "CommonProgramFiles"=>"C:\\Program Files\\Common Files", "CommonProgramFiles(x86)"=>"C:\\Program Files (x86)\\Common Files", "CommonProgramW6432"=>"C:\\Program Files\\Common Files", "COMPUTERNAME"=>"WINDOWS11", "ComSpec"=>"C:\\Windows\\system32\\cmd.exe", "DriverData"=>"C:\\Windows\\System32\\Drivers\\DriverData", "EFC_7124"=>"1", "FPS_BROWSER_APP_PROFILE_STRING"=>"Internet Explorer", "FPS_BROWSER_USER_PROFILE_STRING"=>"Default", "GEM_HOME"=>"C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/gems", "GEM_PATH"=>"C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/gems;C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/gems/bundler/gems", "HOME"=>"C:/Users/mbx", "HOMEDRIVE"=>"C:", "HOMEPATH"=>"\\Users\\mbx", "LOCALAPPDATA"=>"C:\\Users\\mbx\\AppData\\Local", "LOGONSERVER"=>"\\\\WINDOWS11", "NUMBER_OF_PROCESSORS"=>"4", "OneDrive"=>"C:\\Users\\mbx\\OneDrive", "OS"=>"Windows_NT", "Path"=>"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Users\\mbx\\AppData\\Local\\Microsoft\\WindowsApps;", "PATHEXT"=>".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC", "PROCESSOR_ARCHITECTURE"=>"AMD64", "PROCESSOR_IDENTIFIER"=>"Intel64 Family 6 Model 158 Stepping 13, GenuineIntel", "PROCESSOR_LEVEL"=>"6", "PROCESSOR_REVISION"=>"9e0d", "ProgramData"=>"C:\\ProgramData", "ProgramFiles"=>"C:\\Program Files", "ProgramFiles(x86)"=>"C:\\Program Files (x86)", "ProgramW6432"=>"C:\\Program Files", "PROMPT"=>"$P$G", "PSModulePath"=>"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules", "PUBLIC"=>"C:\\Users\\Public", "SESSIONNAME"=>"Console", "SystemDrive"=>"C:", "SystemRoot"=>"C:\\Windows", "TEMP"=>"C:\\Users\\mbx\\AppData\\Local\\Temp", "TMP"=>"C:\\Users\\mbx\\AppData\\Local\\Temp", "USER"=>"mbx", "USERDOMAIN"=>"WINDOWS11", "USERDOMAIN_ROAMINGPROFILE"=>"WINDOWS11", "USERNAME"=>"mbx", "USERPROFILE"=>"C:\\Users\\mbx", "windir"=>"C:\\Windows"}
D, [2024-05-13T15:05:40.647965 #8212] DEBUG -- : Input ARGV is ["start_local", "--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.648519 #8212] DEBUG -- : Executing requires
D, [2024-05-13T15:05:40.648733 #8212] DEBUG -- : Requiring tmpdir
D, [2024-05-13T15:05:40.675471 #8212] DEBUG -- : Requiring optsparse
D, [2024-05-13T15:05:40.682048 #8212] DEBUG -- : Requiring timeout
D, [2024-05-13T15:05:40.686631 #8212] DEBUG -- : Requiring json
D, [2024-05-13T15:05:40.687123 #8212] DEBUG -- : Required initial gems successfully
I, [2024-05-13T15:05:40.687608 #8212]  INFO -- : Executing argv: ["start_local", "--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
I, [2024-05-13T15:05:40.688018 #8212]  INFO -- : CLI Parsed Inputs: [] "start_local" ["--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.688639 #8212] DEBUG -- : Main arguments are []
D, [2024-05-13T15:05:40.689075 #8212] DEBUG -- : Sub-command is start_local
D, [2024-05-13T15:05:40.689479 #8212] DEBUG -- : Sub-arguments are ["--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.689682 #8212] DEBUG -- : Invoking command class: StartLocal ["--worker-number=3", "--energyplus-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", "--openstudio-exe-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe", "--ruby-lib-path=C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\Ruby", "--mongo-dir=C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", "--debug", "C:\\Users\\mbx\\Documents\\model_for_debug"]
D, [2024-05-13T15:05:40.696148 #8212] DEBUG -- : StartLocal command: [] {:debug=>true, :force_directories=>false, :workers=>3, :ruby_path=>"C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe", :mongo_dir=>"C:\\ParametricAnalysisTool-3.6.1\\pat\\mongo\\bin", :oscli=>nil, :energyplus_exe_path=>"C:\\ParametricAnalysisTool-3.6.1\\pat\\EnergyPlus\\energyplus.exe", :openstudio_exe_path=>"C:\\ParametricAnalysisTool-3.6.1\\pat\\OpenStudio\\bin\\openstudio.exe"}
D, [2024-05-13T15:05:44.781266 #8212] DEBUG -- : Mongo port will be 27017
D, [2024-05-13T15:05:48.872764 #8212] DEBUG -- : Rails port will be 8080
D, [2024-05-13T15:05:48.873324 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/mongo_command" -p 27017 "C:/Users/mbx/Documents/model_for_debug/logs" "C:\ParametricAnalysisTool-3.6.1\pat\mongo\bin" "C:/Users/mbx/Documents/model_for_debug/data/db" "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" "C:\Users\mbx\Documents\model_for_debug" --debug
D, [2024-05-13T15:05:48.873826 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/rails_command" -p 8080 "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" 27017 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.874594 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_server_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.874922 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_worker_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" 1 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.875669 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_worker_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" 2 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
D, [2024-05-13T15:05:48.875757 #8212] DEBUG -- : Command for local CLI: "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/ParametricAnalysisTool-3.6.1/pat/OpenStudio-server/bin/resources/local/dj_worker_command" "C:/ParametricAnalysisTool-3.6.1/pat/ruby/bin/ruby.exe" "C:/Users/mbx/Documents/model_for_debug/logs" "C:\Users\mbx\Documents\model_for_debug" "27017" "8080" 3 "C:\Users\mbx\Documents\model_for_debug/local_configuration.json" --debug
System call will be: 'mongod.exe --port 27017 --logpath "C:/Users/mbx/Documents/model_for_debug/logs/mongo.log" --dbpath "C:/Users/mbx/Documents/model_for_debug/data/db"' in directory 'C:/ParametricAnalysisTool-3.6.1/pat/mongo/bin'
E, [2024-05-13T15:06:05.565994 #8212] ERROR -- : Mongod failed to launch. Please refer to `C:\Users\mbx\Documents\model_for_debug/logs/mongod.log`.
W, [2024-05-13T15:06:05.832214 #8212]  WARN -- : No process with PID 8748 exists, did not attempt to kill

EDIT 3:

Screenshots from the Event viewer, from PAT running on the VM. Really, a repeat from the code block in Edit 1.

image description

image description

image description