Page 1 of 1

Database error, [Backend] Default PostgreSQLserver cannot start. PostgresqlServer

Posted: Wed Apr 16, 2025 3:48 pm
by BenjaminSeeker
Now I use WinCC OA 3.20 P004 in Windows 11 Pro.

When I start the project, there is an error in the logviewer:

Database error, [Backend] Default PostgreSQLserver cannot start. PostgresqlServer::startCommand: process crashed command(pg_ctl status -D C:\NTU\db\wincc_oa\localdb\postgresql\16\pgdata) (from System1:_NGA_B_PostgreSQLBackend)

I have ensured the user has full control privileges of the project folder. (It works when the project runs in Windows Server 2022 STD)

But the problem still can not be solved in Windows 11 Pro.

Is there any thing I can do?

Re: Database error, [Backend] Default PostgreSQLserver cannot start. PostgresqlServer

Posted: Thu Apr 17, 2025 2:47 pm
by hpuchegger
Are you generally aware that Windows 11 Pro is not supported for WinCC OA? Only Windows 11 Enterprise is supported.

Do you use the same user for Windows Server 2022 and Windows 11? Does your path to C:\Users\<user>\AppData\Local\.winccoa contain special characters?

Br, Herbert

Re: Database error, [Backend] Default PostgreSQLserver cannot start. PostgresqlServer

Posted: Sun May 18, 2025 2:59 pm
by BenjaminSeeker
Hello Herbert,
Thanks for your info. I think it's because my OS version is Windows 11 Pro. Not Windows 11 Enterprise.

Re: Database error, [Backend] Default PostgreSQLserver cannot start. PostgresqlServer

Posted: Fri Jul 18, 2025 3:55 pm
by leoknipp
In the error message a command is shown which is used to execute the PostgreSQL database.
Maybe you can run this command in a shell and check if additional error information is given.

Have you installed the PostgreSQL components from the WinCC OA setup on this machine?
In the log message the path information "localdb" is shown which refers to a WinCC OA Managed database and then the PostgreSQL components from the WinCC OA setup must be installed.

Best Regards
Leopold Knipp
Senior Support Specialist