2024-04-30
opengauss5.0.0 docker 无法启动
我想自己编译一个车 opengauss5.0.0 的docker, 使用了 opengauss-server 官方仓库中的 dockerfile.在 centos 7.6 上进行 build, 编译后,启动报错。
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run gs_initdb.
Success. You can now start the database server of single node using:
gaussdb -D /var/lib/opengauss/data --single_node
or
gs_ctl start -D /var/lib/opengauss/data -Z single_node -l logfile
[2024-04-30 01:42:52.935][179][][gs_ctl]: gs_ctl started,datadir is /var/lib/opengauss/data
[2024-04-30 01:42:52.969][179][][gs_ctl]: waiting for server to start...
.0 LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
0 LOG: [Alarm Module]Host Name: 9be748294b5b
0 LOG: [Alarm Module]Host IP: 9be748294b5b. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain <HOST IP>
0 LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
0 LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
0 WARNING: failed to open feature control file, please check whether it exists: FileName=gaussdb.version, Errno=2, Errmessage=No such file or directory.
0 WARNING: failed to parse feature control file: gaussdb.version.
0 WARNING: Failed to load the product control file, so gaussdb cannot distinguish product version.
The core dump path is an invalid directory
2024-04-30 01:42:53.074 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: when starting as multi_standby mode, we couldn't support data replicaton.
gaussdb.state does not exist, and skipt setting since it is optional.2024-04-30 01:42:53.090 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2024-04-30 01:42:53.090 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host Name: 9be748294b5b
2024-04-30 01:42:53.090 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host IP: 9be748294b5b. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain <HOST IP>
2024-04-30 01:42:53.090 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2024-04-30 01:42:53.090 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
2024-04-30 01:42:53.098 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: loaded library "security_plugin"
2024-04-30 01:42:53.100 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2024-04-30 01:42:53.100 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2024-04-30 01:42:53.116 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0.
2024-04-30 01:42:53.116 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: reserved memory for backend threads is: 220 MB
2024-04-30 01:42:53.116 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: reserved memory for WAL buffers is: 128 MB
2024-04-30 01:42:53.116 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: Set max backend reserve memory is: 348 MB, max dynamic memory is: 8143 MB
2024-04-30 01:42:53.116 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: shared memory 3284 Mbytes, memory context 8491 Mbytes, max process memory 12288 Mbytes
2024-04-30 01:42:53.193 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [CACHE] LOG: set data cache size(402653184)
2024-04-30 01:42:53.243 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [SEGMENT_PAGE] LOG: Segment-page constants: DF_MAP_SIZE: 8156, DF_MAP_BIT_CNT: 65248, DF_MAP_GROUP_EXTENTS: 4175872, IPBLOCK_SIZE: 8168, EXTENTS_PER_IPBLOCK: 1021, IPBLOCK_GROUP_SIZE: 4090, BMT_HEADER_LEVEL0_TOTAL_PAGES: 8323072, BktMapEntryNumberPerBlock: 2038, BktMapBlockNumber: 25, BktBitMaxMapCnt: 512
2024-04-30 01:42:53.282 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: gaussdb: fsync file "/var/lib/opengauss/data/gaussdb.state.temp" success
2024-04-30 01:42:53.282 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal), connection index(1)
2024-04-30 01:42:53.349 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: max_safe_fds = 978, usable_fds = 1000, already_open = 12
The core dump path is an invalid directory
2024-04-30 01:42:53.355 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: user configure file is not found, it will be created.
2024-04-30 01:42:53.361 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: the configure file /usr/local/opengauss/etc/gscgroup_omm.cfg doesn't exist or the size of configure file has changed. Please create it by root user!
2024-04-30 01:42:53.362 [unknown] [unknown] localhost 140083544719296 0[0:0#0] 0 [BACKEND] LOG: Failed to parse cgroup config file.
[2024-04-30 01:42:53.978][179][][gs_ctl]: waitpid 183 failed, exitstatus is 0, ret is 2
[2024-04-30 01:42:53.978][179][][gs_ctl]: stopped waiting
[2024-04-30 01:42:53.978][179][][gs_ctl]: could not start server
Examine the log output.
同时我还尝试了使用云和恩墨的 docker 进行编译,发现编译后也还是无法启动,请问有人知道吗?
https://github.com/enmotech/enmotech-docker-opengauss?tab=readme-ov-file
我来答
添加附件
收藏
分享
问题补充
2条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏

评论

