17 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
5
votes
2
answers
9k
views
library/postgres Docker image fails to start with "popen failure: Cannot allocate memory"
I am using docker-compose on circleci to spin up a postgres container with a bunch of sql files mounted on /docker-entrypoint-initdb.d/. I am using an ubuntu machine image: ubuntu-2004:202010-01, but ...
0
votes
1
answer
1k
views
While upgrading Airflow version 2.0.0 to 2.2.5 got an error in initdb. the log is attached below
*While upgrading Airflow version 2.0.0 to 2.2.5 got an error in initdb. the log is attached below.
*
category=DeprecationWarning,
/usr/local/lib/python3.6/site-packages/airflow/configuration.py:361: ...
0
votes
0
answers
2k
views
PostgreSQL `initdb` permission denied with `rwx` permissions and logged as postgres
I want to set up a PostgreSQL database but initdb hits an authentication error. I seem to be doing as described in docs.
I log in as postgres user with doas -u postgres -s (AFAIK it's same as su - ...
0
votes
2
answers
2k
views
Postgres initdb: How to set logging_collector=on in the generated postgressql.conf file
The default postgresql.conf file created using initdb contains the following line
#logging_collector = off # Enable capturing of stderr and csvlog
Is there anyway to force initdb itself to generate ...
0
votes
0
answers
452
views
initdb in Postgres.app does not create postgres &template1 database
I installed postgres.app 2.4.2 on macos(big sur 11.4).
I wanted to initdb with locale=C, so run the command initdb -D "/Users/xxx/Library/Application Support/Postgres/var-131" -U postgres --...
0
votes
0
answers
1k
views
PostgreSQL initdb initialize a new database cluster has stopped working
During install of PostgreSQL using binary zip file , this error occurs , when i try to run this command
initdb.exe -U postgres -A password -E utf8 -W -D C:\pgsql\data.
Error Message:
"initdb ...
2
votes
1
answer
2k
views
Postgresql initdb - Segmentation fault (core dumped)
I did some changes of pgsql source code, such as adding a new system catalog. Then I wanted to init the database by using initdb -D PG_DATA_PATH. But it came to this problem:
The files belonging to ...
1
vote
1
answer
725
views
Initdb - Initialize a new database cluster has stopped working (Windows PostgreSQL Installation)
It's been more than three days, I have tried all the the solutions below,
postgres installation the database cluster initialization failed ( Postgresql Version 9.4.4 )
https://dba.stackexchange.com/...
0
votes
2
answers
1k
views
Initializing data directory for postgresql not successful
I tried to initialize the postgresql data directory, and I get this error :
[postgres@vix-db1-1 ~]$ /usr/pgsql-9.5/bin/initdb --nodename=vix-db1-1 -D /var/lib/pgsql/9.5/data
The files belonging to ...
3
votes
1
answer
2k
views
Docker Container: Relation X doesn't exist in database
I am developping a java application, I created an image of the database PostgreSQL by using docker.
I have a folder "docker-entrypoint-initdb.d" which contains files to create tables, data.
...
0
votes
0
answers
1k
views
initdb.exe failed suddenly (Windows)
My application bundles PostgreSQL 9.5.0 and runs initdb.exe manually. It works fine in the most clients.
This A client also installed my application successfully before, but after rebooting their ...
1
vote
1
answer
3k
views
initdb error on PostgreSQL 10 - RHEL 6
Installed PostgreSQL 10 on RHEL 6 system by running the following commands:
rpm -Uvh --force --nodeps postgresql10-libs-10.0-1PGDG.rhel6.x86_64.rpm
rpm -Uvh --force --nodeps postgresql10-10.0-1PGDG....
3
votes
1
answer
5k
views
How to create a temporary database with postgresql initdb?
How do I create a temporary database for PostgreSQL using initdb? Also, how do I populate it with dummy data and how do I delete it after usage?
I have an entire schema of the database. I don't want ...
3
votes
1
answer
6k
views
set initdb encoding for postgres
When I try to call pg_ctl with init[db] the option for setting the encoding is not recognized:
pg_ctl init -D=D:\testdata -E=UTF8 -U=postgres
pg_ctl: illegal option -- E
Has this changed? I used ...
0
votes
1
answer
2k
views
Set initdb and pg_ctl
I installed Postgresql from source.
I tried running the commands:
which initdb
which pg_ctl
but I get a blank response.
I know where these executables reside in my directory.
How might I set ...
user avatar
user2268507