Skip to content

container not starting up anymore when once stopped #439

@suppqt

Description

@suppqt

Hi,

i have a container up and running for month.
now i rebooted the system and want to start it again but it fails with

`listen_addresses = '*'
autovacuum = on

  • service postgresql start
  • Starting PostgreSQL 15 database server
  • Error: /usr/lib/postgresql/15/bin/pg_ctl /usr/lib/postgresql/15/bin/pg_ctl start -D /var/lib/postgresql/15/main -l /var/log/postgresql/postgresql-15-main.log -s -o -c config_file="/etc/postgresql/15/main/postgresql.conf" exited with status 1:
    2024-12-20 17:00:01.453 UTC [29] LOG: starting PostgreSQL 15.3 (Ubuntu 15.3-1.pgdg22.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, 64-bit
    2024-12-20 17:00:01.455 UTC [29] LOG: listening on IPv4 address "0.0.0.0", port 5432
    2024-12-20 17:00:01.456 UTC [29] LOG: listening on IPv6 address "::", port 5432
    2024-12-20 17:00:01.475 UTC [29] LOG: could not bind Unix address "/var/run/postgresql/.s.PGSQL.5432": No such device or address
    2024-12-20 17:00:01.475 UTC [29] WARNING: could not create Unix-domain socket in directory "/var/run/postgresql"
    2024-12-20 17:00:01.476 UTC [29] FATAL: could not create any Unix-domain sockets
    2024-12-20 17:00:01.483 UTC [29] LOG: database system is shut down
    pg_ctl: could not start server`

starting a new one up with:

docker run \ -p 8080:80 \ -v osm-data:/data/database/ \ -d overv/openstreetmap-tile-server \ run

works fine but when i stop it and want to start it again, it fails with the same error.
any advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions