Hi, I was trying to initialize YSQL with this command:
YB_ENABLED_IN_POSTGRES=1 FLAGS_pggate_master_addresses={master addrs} {dir to initdb} -D {data dir} -U postgres
as the instruction from this page: Deploy | YugabyteDB Docs
And I got this error:
The files belonging to this database system will be owned by user {user}.
This user must also own the server process.
In YugaByte DB, setting LC_COLLATE to C and all other locale settings to en_US.UTF-8 by default. Locale support will be enhanced as part of addressing https://github.com/YugaByte/yugabyte-db/issues/1557The database cluster will be initialized with locales
COLLATE: C
CTYPE: en_US.UTF-8
MESSAGES: en_US.UTF-8
MONETARY: en_US.UTF-8
NUMERIC: en_US.UTF-8
TIME: en_US.UTF-8
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.
fixing permissions on existing directory {dir to data} ... ok
creating subdirectories ... ok
selecting default max_connections ... 300
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... I1017 18:55:37.047904 5278 mem_tracker.cc:250] MemTracker: hard memory limit is 26.573807 GB
I1017 18:55:37.047967 5278 mem_tracker.cc:252] MemTracker: soft memory limit is 22.587736 GB
I1017 18:55:37.048357 5280 async_initializer.cc:73] Starting to init ybclient
child process was terminated by signal 11: Segmentation faultcould not write to child process: Broken pipe
initdb: removing contents of data directory {dir to data}
Thank you!