1
child process exited with exit code 1
be46c746eed2
2
initdb: removing data directory "/var/lib/postgresql/data/pg13"
3
running bootstrap script ...
4
The files belonging to this database system will be owned by user "postgres".
2a49bb131684
5
This user must also own the server process.
6
The database cluster will be initialized with locales
7
COLLATE: en_US.UTF-8
8
CTYPE: en_US.UTF-8
9
MESSAGES: C
10
MONETARY: C
11
NUMERIC: C
12
TIME: C
13
The default text search configuration will be set to "english".
14
Data page checksums are disabled.
15
creating directory /var/lib/postgresql/data/pg13 ... ok
16
creating subdirectories ... ok
17
selecting dynamic shared memory implementation ... posix
18
selecting default max_connections ... 20
19
selecting default shared_buffers ... 400kB
20
selecting default time zone ... UTC
21
creating configuration files ... ok
22
2024-04-07 06:22:41.653 UTC [58] FATAL: data directory "/var/lib/postgresql/data/pg13" has wrong ownership
23
2024-04-07 06:22:41.653 UTC [58] HINT: The server must be started by the user that owns the data directory.
24
child process exited with exit code 1
25
initdb: removing data directory "/var/lib/postgresql/data/pg13"
26
running bootstrap script ...
数据库启动失败,导致其他服务无法正常启动