Ish: Failed system call shmget while running initdb (Postgres cant be started)

Created on 17 Oct 2019  路  3Comments  路  Source: ish-app/ish

This is the complete verbose of running initdb

$ initdb -D /var/lib/postgres/data

The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locales
COLLATE: C
CTYPE: C.UTF-8
MESSAGES: C
MONETARY: C
NUMERIC: C
TIME: C
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /var/lib/postgres/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 20
selecting default shared_buffers ... 400kB
selecting default timezone ... UTC
selecting dynamic shared memory implementation ... sysv
creating configuration files ... ok
running bootstrap script ... 2019-10-17 13:59:08.843 UTC [348] FATAL: could not create shared memory segment: Function not implemented
2019-10-17 13:59:08.843 UTC [348] DETAIL: Failed system call was shmget(key=5432001, size=40, 03600).
child process exited with exit code 1

All 3 comments

Any progress on getting postgres working?

No, but I'm open to contributions

Would love to contribute but don鈥檛 know C or alpine or linux internals. If I can help or learn to help I am willing. Am an ex full stack web developer and am learning python. I鈥檝e also done some basic Objective-C and Swift.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

balboah picture balboah  路  5Comments

abraxxa picture abraxxa  路  4Comments

rluvaton picture rluvaton  路  3Comments

BrammyH picture BrammyH  路  3Comments

ghanan94 picture ghanan94  路  6Comments