First time here? Check out the Help page!

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

Hi, Is there any update regarding this issue?

I tried to start the local server for a manual analysis using PAT 3.7.0, 3.8.0, and 3.9.0. I also followed all the instructions from other Q&A posts concerning this issue as well. I still cannot start the local server. Please advise.

C:\fakepath\PAT390-01.jpg

These are the error and warning messages received from starting the server via the command prompt:

System call will be: 'mongod.exe --port 27018 --logpath "D:/.../.../PAT380/logs/mongo.log" --dbpath "D:/.../.../PAT380/data/db"' in directory 'C:/ParametricAnalysisTool-3.9.0/pat/mongo/bin' {"t":{"$date":"2025-01-20T07:06:25.500Z"},"s":"I", "c":"CONTROL", "id":20697, "ctx":"main","msg":"Renamed existing log file","attr":{"oldLogPath":"D:/.../.../PAT380/logs/mongo.log","newLogPath":"D:/.../.../PAT380/logs/mongo.log.2025-01-20T07-06-25"}} E, [2025-01-20T14:06:41.761695 #6456] ERROR -- : Mongod failed to launch. Please refer to D:\...\...\PAT380/logs/mongod.log. W, [2025-01-20T14:06:42.171683 #6456] WARN -- : No process with PID 6060 exists, did not attempt to kill

This is from the mongo.log:

{"t":{"$date":"2025-01-20T14:06:25.863+07:00"},"s":"E", "c":"STORAGE", "id":20557, "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":{"error":"DBPathInUse: Unable to create/open the lock file: D:/.../.../PAT380/data/db\mongod.lock (The process cannot access the file because it is being used by another process.). Ensure the user executing mongod is the owner of the lock file and has the appropriate permissions. Also make sure that another mongod instance is not already running on the D:/.../.../PAT380/data/db directory"}}

Thank you.