Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container not starting up anymore when once stopped #439

Open
e0xify opened this issue Dec 20, 2024 · 0 comments
Open

container not starting up anymore when once stopped #439

e0xify opened this issue Dec 20, 2024 · 0 comments

Comments

@e0xify
Copy link

e0xify commented Dec 20, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant