【标题描述】:[6.0.2LTS-centos7.9]环境下,启动数据库实例-Coredump
【测试环境】单机
【操作系统和硬件信息】CentOS Linux release 7.9.2009 (Core)
[omm@og-node1 script]$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 40
On-line CPU(s) list: 0-39
Thread(s) per core: 1
Core(s) per socket: 20
座: 2
NUMA 节点: 1
厂商 ID: GenuineIntel
CPU 系列: 15
型号: 6
型号名称: Common KVM processor
步进: 1
CPU MHz: 2399.998
BogoMIPS: 4799.99
超管理器厂商: KVM
虚拟化类型: 完全
L1d 缓存: 32K
L1i 缓存: 32K
L2 缓存: 4096K
L3 缓存: 16384K
NUMA 节点0 CPU: 0-39
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology eagerfpu pni cx16 x2apic hypervisor lahf_lm
**【启动实例】gs_ctl start -D /opt/openGauss/install/data/dn1
【日志】:**
[2025-12-10 16:15:31.416][6397][gs_ctl]: waiting for server to start…
.0 LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
0 LOG: [Alarm Module]Host Name: og-node1
0 LOG: [Alarm Module]Host IP: og-node1. Copy hostname directly in case of taking 10s to use ‘gethostbyname’ when /etc/hosts does not contain
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: 58
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.
0 LOG: SSE4.2 is not supported, disable codegen.
0 LOG: bbox_dump_path is set to /opt/openGauss/install/corefile/
2025-12-10 16:15:31.538 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: base_page_saved_interval is 400, ori is 400.
2025-12-10 16:15:31.545 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 DB010 0 [REDO] LOG: Recovery parallelism, cpu count = 40, max = 4, actual = 42025-12-10 16:15:31.545 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 DB010 0 [REDO] LOG: ConfigRecoveryParallelism, true_max_recovery_parallelism:4, max_recovery_parallelism:4
2025-12-10 16:15:31.566 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]can not read GAUSS_WARNING_TYPE env.
2025-12-10 16:15:31.566 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Host Name: og-node1
2025-12-10 16:15:31.566 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Host IP: og-node1. Copy hostname directly in case of taking 10s to use ‘gethostbyname’ when /etc/hosts does not contain
2025-12-10 16:15:31.566 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Get ENV GS_CLUSTER_NAME failed!
2025-12-10 16:15:31.566 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 58
2025-12-10 16:15:31.571 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: loaded library “security_plugin”
2025-12-10 16:15:31.575 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2025-12-10 16:15:31.576 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2025-12-10 16:15:31.660 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0.
2025-12-10 16:15:31.661 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4522 Mbytes) is larger.
2025-12-10 16:15:31.661 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: shared memory that key is 15432001 is owned by pid 4476
2025-12-10 16:15:32.216 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [CACHE] LOG: set data cache size(805306368)
2025-12-10 16:15:32.990 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 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
2025-12-10 16:15:33.106 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: gaussdb: fsync file “/opt/openGauss/install/data/dn1/gaussdb.state.temp” success
2025-12-10 16:15:33.106 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal), connection index(1)
2025-12-10 16:15:33.130 69392c23.1 [unknown] 140412682783168 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: max_safe_fds = 974, usable_fds = 1000, already_open = 16
bbox_dump_path is set to /opt/openGauss/install/corefile/
[2025-12-10 16:15:37.424][6397][gs_ctl]: gaussDB state is Coredump
[2025-12-10 16:15:37.424][6397][gs_ctl]: stopped waiting
[2025-12-10 16:15:37.424][6397][gs_ctl]: could not start server
=================================================================================================================================================
【gs_ctl.log】
[2025-12-10 15:36:57.380][2569][gs_ctl]: gs_ctl started,datadir is /opt/openGauss/install/data/dn1
[2025-12-10 15:36:57.434][2569][gs_ctl]: waiting for server to start…
.[2025-12-10 15:37:03.441][2569][gs_ctl]: gaussDB state is Coredump
[2025-12-10 15:37:03.441][2569][gs_ctl]: stopped waiting
[2025-12-10 15:37:03.441][2569][gs_ctl]: could not start server
Examine the log output.
[2025-12-10 15:55:27]
[2025-12-10 15:55:27.144][4473][gs_ctl]: gs_ctl started,datadir is /opt/openGauss/install/data/dn1
[2025-12-10 15:55:27.204][4473][gs_ctl]: waiting for server to start…
.[2025-12-10 15:55:33.211][4473][gs_ctl]: gaussDB state is Coredump
[2025-12-10 15:55:33.211][4473][gs_ctl]: stopped waiting
[2025-12-10 15:55:33.211][4473][gs_ctl]: could not start server
Examine the log output.
[2025-12-10 16:15:31]
[2025-12-10 16:15:31.354][6397][gs_ctl]: gs_ctl started,datadir is /opt/openGauss/install/data/dn1
[2025-12-10 16:15:31.416][6397][gs_ctl]: waiting for server to start…
.[2025-12-10 16:15:37.424][6397][gs_ctl]: gaussDB state is Coredump
[2025-12-10 16:15:37.424][6397][gs_ctl]: stopped waiting
[2025-12-10 16:15:37.424][6397][gs_ctl]: could not start server
Examine the log output.
