You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that zou expects Postgres to listen on port 5432. However, Postgres listens on port 5433.
The following configuration worked just recently:
root@5a55e842b3ce:/opt/zou# ./init_zou.sh
[...]
sqlalchemy.exc.OperationalError: (psycopg.OperationalError) connection is bad: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
[...]
root@5a55e842b3ce:/opt/zou# ll /var/run/postgresql/
total 28
drwxrwsr-x 1 postgres postgres 4096 Feb 27 00:18 ./
drwxr-xr-x 1 root root 4096 Feb 26 16:05 ../
srwxrwxrwx 1 postgres postgres 0 Feb 27 00:18 .s.PGSQL.5433=
-rw------- 1 postgres postgres 68 Feb 27 00:18 .s.PGSQL.5433.lock
drwxr-s--- 1 postgres postgres 4096 Feb 27 00:18 14-main.pg_stat_tmp/
-rw-r--r-- 1 postgres postgres 4 Feb 27 00:18 14-main.pid
root@5a55e842b3ce:/opt/zou# cat /etc/postgresql/14/main/postgresql.conf
[...]
#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
# - Connection Settings -
#listen_addresses = 'localhost' # what IP address(es) to listen on;
# comma-separated list of addresses;
# defaults to 'localhost'; use '*' for all
# (change requires restart)
port = 5433 # (change requires restart)
max_connections = 100 # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories
# (change requires restart)
#unix_socket_group = '' # (change requires restart)
[...]
Is this expected?
The text was updated successfully, but these errors were encountered:
Hello!
It seems that
zou
expects Postgres to listen on port5432
. However, Postgres listens on port5433
.The following configuration worked just recently:
Is this expected?
The text was updated successfully, but these errors were encountered: