pg_ctl: server did not start in time #439
Unanswered
ashley-mort
asked this question in
Q&A
Replies: 1 comment
-
Same Problem here. Any suggestions? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I run nominatim-docker, stop the container, then start it again, my postgres fails to start. Any ideas on how I can avoid this issue? I am loading and working with california.pbf (~1GB). Thanks!
docker run -it --shm-size=1g -e PBF_PATH=/nominatim/data/california-latest.osm.pbf -p 8080:8080 -v /c/Users/me/Downloads:/nominatim/data -v /c/nominatim-data:/var/lib/postgresql/12/main --name nominatim40-cal-vol mediagis/nominatim:4.0
docker stop nominatim40-cal-vol
docker start nominatim40-cal-vol
user nominatim already exists
Error: /usr/lib/postgresql/12/bin/pg_ctl /usr/lib/postgresql/12/bin/pg_ctl start -D /var/lib/postgresql/12/main -l /var/log/postgresql/postgresql-12-main.log -s -o -c config_file="/etc/postgresql/12/main/postgresql.conf" exited with status 1:
2023-03-26 21:38:01.947 UTC [34] LOG: starting PostgreSQL 12.12 (Ubuntu 12.12-0ubuntu0.20.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit
2023-03-26 21:38:01.947 UTC [34] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-03-26 21:38:01.947 UTC [34] LOG: listening on IPv6 address "::", port 5432
2023-03-26 21:38:01.954 UTC [34] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-03-26 21:38:02.064 UTC [35] LOG: database system was interrupted; last known up at 2023-03-26 16:30:03 UTC
pg_ctl: server did not start in time [fail]
Beta Was this translation helpful? Give feedback.
All reactions