Filter löschen
Filter löschen

When I start the MATLAB production sever dashboard, there are some errors under cmd, I hope you can give me the answer

6 Ansichten (letzte 30 Tage)
The error is
EBUSY: resource busy or locked, rmdir 'C:\MPS\data'
############ server error begin ############
server error : Command failed: "E:\Program Files\MATLAB\sys\postgresql\win64\PostgreSQL\bin\createuser" -s admin
createuser: could not connect to database template1: received invalid response to SSL negotiation: H
############# server error end #############

Antworten (1)

Aniket
Aniket am 18 Sep. 2024 um 9:31
Hi @Ziang,
I understand that you are facing an issue with starting the MATLAB Production Server dashboard, where you are encountering an error related to a busy or locked resource and a PostgreSQL connection issue.
This is happening because the PostgreSQL server might be running multiple processes in the background, or the port that PostgreSQL is attempting to use is already occupied by another service.
To fix this, you can try the following steps:
1. Terminate Background Processes:
- Open the Task Manager on your Windows machine.
- Look for any PostgreSQL processes that are running in the background and terminate them.
2. Check for Port Conflicts:
- Run the command `netstat -b` in the Command Prompt with administrative privileges to identify if any other process is using the same port as PostgreSQL.
3. Change the Database Port:
- Open the `config.txt` file located in your MATLAB Production Server installation directory.
- Find the line with `--databasePort 9080` and change `9080` to another available port number.
- Save the changes and restart the setup.
This will make sure the database will be setup at the new port configured.
Hope it helps!

Kategorien

Mehr zu MATLAB Production Server finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by