2024-01-14
win11 docker compose enmotech/opengauss:latest 报错 the configure file /usr/local/opengauss/etc/gscgroup_omm.cfg doesn't exist
docker-compose.yml 如下:version: "3.8"
services:
opengaussv5:
restart: always
image: enmotech/opengauss:latest
container_name: opengaussv5
hostname: opengaussv5
privileged: true
environment:
TZ: Asia/Shanghai
volumes:
- datav5:/var/lib/opengauss/data
ports:
- 5432:5432
networks:
- net_gauss
networks:
net_gauss:
driver: bridge
volumes:
datav5:错误日志入下:2024-01-14 13:02:29
2024-01-14 13:02:29 Success. You can now start the database server of single node using:
2024-01-14 13:02:29
2024-01-14 13:02:29 gaussdb -D /var/lib/opengauss/data --single_node
2024-01-14 13:02:29 or
2024-01-14 13:02:29 gs_ctl start -D /var/lib/opengauss/data -Z single_node -l logfile
2024-01-14 13:02:29
2024-01-14 13:02:29 [2024-01-14 05:02:29.058][178][][gs_ctl]: gs_ctl started,datadir is /var/lib/opengauss/data
2024-01-14 13:02:29 [2024-01-14 05:02:29.071][178][][gs_ctl]: waiting for server to start...
2024-01-14 13:02:29 .0 LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2024-01-14 13:02:29
2024-01-14 13:02:29 0 LOG: [Alarm Module]Host Name: opengaussv5
2024-01-14 13:02:29
2024-01-14 13:02:29 0 LOG: [Alarm Module]Host IP: opengaussv5. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain
2024-01-14 13:02:29
2024-01-14 13:02:29 0 LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2024-01-14 13:02:30 0 LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2024-01-14 13:02:30
2024-01-14 13:02:30 0 LOG: [Alarm Module]Host Name: opengaussv5
2024-01-14 13:02:30
2024-01-14 13:02:30 0 LOG: [Alarm Module]Host IP: opengaussv5. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain
2024-01-14 13:02:30
2024-01-14 13:02:30 0 LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2024-01-14 13:02:30
2024-01-14 13:02:30 0 LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
2024-01-14 13:02:30
2024-01-14 13:02:30 0 WARNING: failed to open feature control file, please check whether it exists: FileName=gaussdb.version, Errno=2, Errmessage=No such file or directory.
2024-01-14 13:02:30 0 WARNING: failed to parse feature control file: gaussdb.version.
2024-01-14 13:02:30 0 WARNING: Failed to load the product control file, so gaussdb cannot distinguish product version.
2024-01-14 13:02:30 2024-01-14 13:02:30.477 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: when starting as multi_standby mode, we couldn't support data replicaton.
2024-01-14 13:02:30 2024-01-14 13:02:30.477 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: base_page_saved_interval is 400, ori is 400.
2024-01-14 13:02:30 2024-01-14 13:02:30.485 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2024-01-14 13:02:30
2024-01-14 13:02:30 2024-01-14 13:02:30.485 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host Name: opengaussv5
2024-01-14 13:02:30
2024-01-14 13:02:30 2024-01-14 13:02:30.485 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host IP: opengaussv5. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain
2024-01-14 13:02:30
2024-01-14 13:02:30 2024-01-14 13:02:30.485 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2024-01-14 13:02:30
2024-01-14 13:02:30 2024-01-14 13:02:30.485 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
2024-01-14 13:02:30
2024-01-14 13:02:30 2024-01-14 13:02:30.492 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: loaded library "security_plugin"
2024-01-14 13:02:30 2024-01-14 13:02:30.492 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2024-01-14 13:02:30 2024-01-14 13:02:30.492 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2024-01-14 13:02:30 2024-01-14 13:02:30.502 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0.
2024-01-14 13:02:30 2024-01-14 13:02:30.502 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: reserved memory for backend threads is: 220 MB
2024-01-14 13:02:30 2024-01-14 13:02:30.502 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: reserved memory for WAL buffers is: 128 MB
2024-01-14 13:02:30 2024-01-14 13:02:30.502 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: Set max backend reserve memory is: 348 MB, max dynamic memory is: 8142 MB
2024-01-14 13:02:30 2024-01-14 13:02:30.502 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: shared memory 3285 Mbytes, memory context 8490 Mbytes, max process memory 12288 Mbytes
2024-01-14 13:02:30 2024-01-14 13:02:30.553 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [CACHE] LOG: set data cache size(402653184)
2024-01-14 13:02:30 2024-01-14 13:02:30.582 [unknown] [unknown] localhost 140408013684992 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-01-14 13:02:30 2024-01-14 13:02:30.592 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: gaussdb: fsync file "/var/lib/opengauss/data/gaussdb.state.temp" success
2024-01-14 13:02:30 2024-01-14 13:02:30.592 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal), connection index(1)
2024-01-14 13:02:30 2024-01-14 13:02:30.613 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: max_safe_fds = 979, usable_fds = 1000, already_open = 11
2024-01-14 13:02:30 2024-01-14 13:02:30.614 [unknown] [unknown] localhost 140408013684992 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-01-14 13:02:30 2024-01-14 13:02:30.614 [unknown] [unknown] localhost 140408013684992 0[0:0#0] 0 [BACKEND] LOG: Failed to parse cgroup config file.
2024-01-14 13:02:31 0 LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2024-01-14 13:02:31
2024-01-14 13:02:31 0 LOG: [Alarm Module]Host Name: opengaussv5
2024-01-14 13:02:31
2024-01-14 13:02:31 0 LOG: [Alarm Module]Host IP: opengaussv5. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain
2024-01-14 13:02:31
2024-01-14 13:02:31 0 LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2024-01-14 13:02:31
2024-01-14 13:02:31 0 LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
2024-01-14 13:02:31
2024-01-14 13:02:31 0 WARNING: failed to open feature control file, please check whether it exists: FileName=gaussdb.version, Errno=2, Errmessage=No such file or directory.
2024-01-14 13:02:31 0 WARNING: failed to parse feature control file: gaussdb.version.
2024-01-14 13:02:31 0 WARNING: Failed to load the product control file, so gaussdb cannot distinguish product version.
2024-01-14 13:02:31 2024-01-14 13:02:31.099 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: when starting as multi_standby mode, we couldn't support data replicaton.
2024-01-14 13:02:31 2024-01-14 13:02:31.099 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: base_page_saved_interval is 400, ori is 400.
2024-01-14 13:02:31 2024-01-14 13:02:31.103 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2024-01-14 13:02:31
2024-01-14 13:02:31 2024-01-14 13:02:31.103 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host Name: opengaussv5
2024-01-14 13:02:31
2024-01-14 13:02:31 2024-01-14 13:02:31.103 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host IP: opengaussv5. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain
2024-01-14 13:02:31
2024-01-14 13:02:31 2024-01-14 13:02:31.103 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2024-01-14 13:02:31
2024-01-14 13:02:31 2024-01-14 13:02:31.103 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
2024-01-14 13:02:31
2024-01-14 13:02:31 2024-01-14 13:02:31.106 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: loaded library "security_plugin"
2024-01-14 13:02:31 2024-01-14 13:02:31.107 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2024-01-14 13:02:31 2024-01-14 13:02:31.107 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2024-01-14 13:02:31 2024-01-14 13:02:31.120 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0.
2024-01-14 13:02:31 2024-01-14 13:02:31.120 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: reserved memory for backend threads is: 220 MB
2024-01-14 13:02:31 2024-01-14 13:02:31.120 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: reserved memory for WAL buffers is: 128 MB
2024-01-14 13:02:31 2024-01-14 13:02:31.120 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: Set max backend reserve memory is: 348 MB, max dynamic memory is: 8142 MB
2024-01-14 13:02:31 2024-01-14 13:02:31.120 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: shared memory 3285 Mbytes, memory context 8490 Mbytes, max process memory 12288 Mbytes
2024-01-14 13:02:31 2024-01-14 13:02:31.167 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [CACHE] LOG: set data cache size(402653184)
2024-01-14 13:02:31 2024-01-14 13:02:31.199 [unknown] [unknown] localhost 140375133368576 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-01-14 13:02:31 2024-01-14 13:02:31.209 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: gaussdb: fsync file "/var/lib/opengauss/data/gaussdb.state.temp" success
2024-01-14 13:02:31 2024-01-14 13:02:31.209 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal), connection index(1)
2024-01-14 13:02:31 2024-01-14 13:02:31.224 [unknown] [unknown] localhost 140375133368576 0[0:0#0] 0 [BACKEND] LOG: max_safe_fds = 979, usable_fds = 1000, already_open = 11
2024-01-14 13:02:31 2024-01-14 13:02:31.225 [unknown] [unknown] localhost 140375133368576 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!
我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏

评论
