使用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.