/etc/init.d/postgresql start
Starting PostgreSQL 12 database server: mainError:
/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:
2020-04-14 02:01:51.176 UTC [11075] LOG: starting PostgreSQL 12.2 (Debian
12.2-4) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 9.3.0-8)
9.3.0, 64-bit 2020-04-14 02:01:51.208 UTC [11075] LOG: listening on IPv6
address "::1", port 5432 2020-04-14 02:01:51.217 UTC [11075] LOG: listening
on IPv4 address "127.0.0.1", port 5432 2020-04-14 02:01:51.245 UTC [11075]
LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-04-14 02:01:51.251 UTC [11075] FATAL: could not create shared memory
segment: Function not implemented 2020-04-14 02:01:51.251 UTC [11075]
DETAIL: Failed system call was shmget(key=5432001, size=56, 03600).
2020-04-14 02:01:51.261 UTC [11075] LOG: database system is shut down
pg_ctl: could not start server Examine the log output. ... failed!
failed!