暂无图片
openguass docker镜像运行出错
我来答
分享
J
johnwangggg
2023-06-07
openguass docker镜像运行出错

使用docker命令:"docker run --name opengauss --privileged=true -d -e GS_PASSWORD=Enmo@123 enmotech/opengauss:lates"

使用环境:win11 

完整日志:

2023-06-07 11:20:31

2023-06-07 11:20:31 Message: The supplied GS_PASSWORD is meet requirements.
2023-06-07 11:20:31
2023-06-07 11:20:31 The files belonging to this database system will be owned by user "omm".
2023-06-07 11:20:31 This user must also own the server process.
2023-06-07 11:20:31
2023-06-07 11:20:31 The database cluster will be initialized with locale "C".
2023-06-07 11:20:31 The default text search configuration will be set to "english".
2023-06-07 11:20:31
2023-06-07 11:20:31 fixing permissions on existing directory /var/lib/opengauss/data ... ok
2023-06-07 11:20:31 creating subdirectories ... in ordinary occasionok
2023-06-07 11:20:31 creating configuration files ... ok
2023-06-07 11:20:31 selecting default max_connections ... 100
2023-06-07 11:20:32 selecting default shared_buffers ... 1024MB
2023-06-07 11:20:32 Begin init undo subsystem meta.
2023-06-07 11:20:32 [INIT UNDO] Init undo subsystem meta successfully.
2023-06-07 11:20:32 creating template1 database in /var/lib/opengauss/data/base/1 ... The core dump path is an invalid directory
2023-06-07 11:20:32 2023-06-07 03:20:32.338 [unknown] [unknown] localhost 140427645181888 0[0:0#0] [BACKEND] WARNING: macAddr is 578/2886795266, sysidentifier is 37923857/146195, randomNum is 3283761939
2023-06-07 11:20:33 ok
2023-06-07 11:20:33 initializing pg_authid ... ok
2023-06-07 11:20:33 setting password ... ok
2023-06-07 11:20:33 initializing dependencies ... ok
2023-06-07 11:20:33 loading PL/pgSQL server-side language ... ok
2023-06-07 11:20:34 creating system views ... ok
2023-06-07 11:20:34 creating performance views ... ok
2023-06-07 11:20:34 loading system objects' descriptions ... ok
2023-06-07 11:20:34 creating collations ... ok
2023-06-07 11:20:35 creating conversions ... ok
2023-06-07 11:20:35 creating dictionaries ... ok
2023-06-07 11:20:35 setting privileges on built-in objects ... ok
2023-06-07 11:20:35 initialize global configure for bucketmap length ... ok
2023-06-07 11:20:35 creating information schema ... ok
2023-06-07 11:20:36 loading foreign-data wrapper for distfs access ... ok
2023-06-07 11:20:36 loading foreign-data wrapper for log access ... ok
2023-06-07 11:20:36 loading hstore extension ... ok
2023-06-07 11:20:36 loading foreign-data wrapper for MOT access ... ok
2023-06-07 11:20:36 loading security plugin ... ok
2023-06-07 11:20:36 update system tables ... ok
2023-06-07 11:20:37 creating snapshots catalog ... ok
2023-06-07 11:20:38 vacuuming database template1 ... ok
2023-06-07 11:20:38 copying template1 to template0 ... ok
2023-06-07 11:20:38 copying template1 to postgres ... ok
2023-06-07 11:20:39 freezing database template0 ... ok
2023-06-07 11:20:39 freezing database template1 ... ok
2023-06-07 11:20:39 freezing database postgres ... ok
2023-06-07 11:20:39
2023-06-07 11:20:39 WARNING: enabling "trust" authentication for local connections
2023-06-07 11:20:39 You can change this by editing pg_hba.conf or using the option -A, or
2023-06-07 11:20:39 --auth-local and --auth-host, the next time you run gs_initdb.
2023-06-07 11:20:39
2023-06-07 11:20:39 Success. You can now start the database server of single node using:
2023-06-07 11:20:39
2023-06-07 11:20:39 gaussdb -D /var/lib/opengauss/data --single_node
2023-06-07 11:20:39 or
2023-06-07 11:20:39 gs_ctl start -D /var/lib/opengauss/data -Z single_node -l logfile
2023-06-07 11:20:39
2023-06-07 11:20:39 [2023-06-07 03:20:39.467][179][][gs_ctl]: gs_ctl started,datadir is /var/lib/opengauss/data
2023-06-07 11:20:39 [2023-06-07 03:20:39.479][179][][gs_ctl]: waiting for server to start...
2023-06-07 11:20:39 .0 LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2023-06-07 11:20:39
2023-06-07 11:20:39 0 LOG: [Alarm Module]Host Name: 45500fa00ab0
2023-06-07 11:20:39
2023-06-07 11:20:39 0 LOG: [Alarm Module]Host IP: 45500fa00ab0. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain <HOST IP>
2023-06-07 11:20:39
2023-06-07 11:20:39 0 LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2023-06-07 11:20:39
2023-06-07 11:20:39 0 LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
2023-06-07 11:20:39
2023-06-07 11:20:39 0 WARNING: failed to open feature control file, please check whether it exists: FileName=gaussdb.version, Errno=2, Errmessage=No such file or directory.
2023-06-07 11:20:39 0 WARNING: failed to parse feature control file: gaussdb.version.
2023-06-07 11:20:39 0 WARNING: Failed to load the product control file, so gaussdb cannot distinguish product version.
2023-06-07 11:20:39 The core dump path is an invalid directory
2023-06-07 11:20:39 2023-06-07 03:20:39.506 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: when starting as multi_standby mode, we couldn't support data replicaton.
2023-06-07 11:20:39 gaussdb.state does not exist, and skipt setting since it is optional.2023-06-07 03:20:39.510 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2023-06-07 11:20:39
2023-06-07 11:20:39 2023-06-07 03:20:39.510 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host Name: 45500fa00ab0
2023-06-07 11:20:39
2023-06-07 11:20:39 2023-06-07 03:20:39.510 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Host IP: 45500fa00ab0. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain <HOST IP>
2023-06-07 11:20:39
2023-06-07 11:20:39 2023-06-07 03:20:39.510 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2023-06-07 11:20:39
2023-06-07 11:20:39 2023-06-07 03:20:39.510 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 57
2023-06-07 11:20:39
2023-06-07 11:20:39 2023-06-07 03:20:39.518 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: loaded library "security_plugin"
2023-06-07 11:20:39 2023-06-07 03:20:39.518 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2023-06-07 11:20:39 2023-06-07 03:20:39.518 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2023-06-07 11:20:39 2023-06-07 03:20:39.523 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0.
2023-06-07 11:20:39 2023-06-07 03:20:39.523 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: reserved memory for backend threads is: 220 MB
2023-06-07 11:20:39 2023-06-07 03:20:39.523 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: reserved memory for WAL buffers is: 128 MB
2023-06-07 11:20:39 2023-06-07 03:20:39.523 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: Set max backend reserve memory is: 348 MB, max dynamic memory is: 8143 MB
2023-06-07 11:20:39 2023-06-07 03:20:39.523 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: shared memory 3284 Mbytes, memory context 8491 Mbytes, max process memory 12288 Mbytes
2023-06-07 11:20:39 2023-06-07 03:20:39.560 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [CACHE] LOG: set data cache size(402653184)
2023-06-07 11:20:39 2023-06-07 03:20:39.584 [unknown] [unknown] localhost 140453828775872 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
2023-06-07 11:20:39 2023-06-07 03:20:39.597 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: gaussdb: fsync file "/var/lib/opengauss/data/gaussdb.state.temp" success
2023-06-07 11:20:39 2023-06-07 03:20:39.597 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal), connection index(1)
2023-06-07 11:20:39 2023-06-07 03:20:39.772 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: max_safe_fds = 978, usable_fds = 1000, already_open = 12
2023-06-07 11:20:39 The core dump path is an invalid directory
2023-06-07 11:20:39 2023-06-07 03:20:39.774 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: user configure file is not found, it will be created.
2023-06-07 11:20:39 2023-06-07 03:20:39.785 [unknown] [unknown] localhost 140453828775872 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!
2023-06-07 11:20:39 2023-06-07 03:20:39.786 [unknown] [unknown] localhost 140453828775872 0[0:0#0] 0 [BACKEND] LOG: Failed to parse cgroup config file.
2023-06-07 11:20:45 [2023-06-07 03:20:45.060][179][][gs_ctl]: waitpid 183 failed, exitstatus is 0, ret is 2
2023-06-07 11:20:45
2023-06-07 11:20:45 [2023-06-07 03:20:45.060][179][][gs_ctl]: stopped waiting
2023-06-07 11:20:45 [2023-06-07 03:20:45.060][179][][gs_ctl]: could not start server
2023-06-07 11:20:45 Examine the log output.

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
J
johnwangggg
升级问题到: 紧急故障
暂无图片 评论
暂无图片 有用 0
打赏 0
Wesley
2024-05-10
紧急到哪儿去了?还是没回复呀?
回答交流
Markdown


请输入正文
提交
相关推荐
openguass unlogged表和普通表是否可以相互转换?
回答 2
已采纳
是否可以简单将openguass的unlogged表理解为oracletable的nologging属性?可以这么简单理解,openguass的unlogged是不记录WAL,oracle里的nolo
openGuass 是否有空间分析引擎 如支持 postgis
回答 1
请参考openGauss编译支持postgis
编译安装openguass3.0之后,使用vscode进行单步调试时出现user undefined 2错误
回答 1
??
openguass如何设置兼容大小写
回答 3
已有springbootmybatismysql,换成opengauss,大小写问题解决后。以前的代码逻辑不改,所有的CURD都不好使了,咋回事
opengauss 3.1.0 企业版 centos 7.6
回答 1
在createdatabase时,要指定数据库的兼容模式为B,并且通过初始用户使用gsql登录一次后,才能使用dolphin相关特性
GaussDB(for openGauss)的优势有哪些?
回答 1
参考阅读:GaussDB(foropenGauss)华为公司倾力打造的自研企业级分布式关系型数据库,该产品具备企业级复杂事务混合负载能力,同时支持优异的分布式事务,同城跨AZ部署,数据0丢失,支持10
opengauss如何设置密码不过期?
回答 1
gsgucreloadNallIallc"passwordeffecttime0"&nbsp;&nbsp;不建议这样设置,不安全gsgucreloadNallIallc"passwordnotifyt
opengauss安装问题报错
回答 1
GAUSS51632:“Failedtodo%s.”错误原因:执行python脚本失败、root互信建立失败。解决办法:1.确保python脚本存在2.根据官网要求检查python版本是否达到支持的版
gs_om -t start命令执行失败,有无大佬帮忙看一下如何解决?求求
回答 3
python3找不到,环境变量是不是没配置?
openguass 安装2.0企业版创建库报错
回答 2
已采纳
问题在这