Ankaj Gupta
March 20, 2021
the pgadmin4 server could not contacted
the pgadmin4 server could not be contacted

#The application server could not be contacted (Embedded PostgreSQL)

Note : After upgrading the embedded PostgreSQL database version from 9.4.22 to 10.9 in version 2019.11, pgAdmin4 fails to lanuch on Linux platform with the following error: The application server could not be contacted.

Cause

Compared to pgAdmin3 included in PostgreSQL database version 9.4.22, pdAdmin4 included in PostgreSQL database version 10.9 is a different client executable file, which could not be executed on Linux platform,

#Solution

To enable launching the new pdAdmin4 client, a startup script was added, which then requires users to run the script in order to access the client.

Data Flow Probe

To access the client of the embedded PostgreSQL database (version 10 or later), do the following:

  1. Run the following command to start the pgAdmin4 client:

    • $UCMDB_HOME/pgsql/pgAdmin 4/bin/start_pgadmin4.sh

  2. Follow the on-screen instructions and access the local web browser using URL: http://127.0.0.1:5050.

  3. Log in to the client

UCMDB server:

To access the client of the embedded PostgreSQL database (version 10 or later), do the following:

  1. Run the following command to start the pgAdmin4 client:

    • $DATAFLOW_PROBE_HOME/pgsql/pgAdmin 4/bin/start_pgadmin4.sh

  2. Follow the on-screen instructions and access the local web browser using URL: http://127.0.0.1:5050.

  3. Log in to the client

PostgreSQL