当我在备节点执行gs_om -t start -D /opt/openGauss/data/dn命令时失败,不知道原因?
过程如下:
[omm@opengauss5b ~]$ gs_om -t start -D /opt/openGauss/data/dn
Starting cluster.
=========================================
omm@opengauss5m's password:
=========================================
[GAUSS-53600]: Can not start the database, the cmd is source /home/omm/.bashrc; python3 '/opt/openGauss/om/script/local/StartInstance.py' -U omm -R /opt/openGauss/app -t 300 --security-mode=off -D /opt/openGauss/data/dn, Error:
[GAUSS-51400] : Failed to execute the command: source /home/omm/.bashrc; python3 '/opt/openGauss/om/script/local/StartInstance.py' -U omm -R /opt/openGauss/app -t 300 --security-mode=off -D /opt/openGauss/data/dn. Error:
[FAILURE] opengauss5m:
.[FAILURE] opengauss5b:
[GAUSS-51607] : Failed to start instance. Error: Please check the gs_ctl log for failure details.
[2023-09-18 06:38:46.747][13248][][gs_ctl]: gs_ctl started,datadir is /opt/openGauss/data/dn
[2023-09-18 06:38:46.786][13248][][gs_ctl]: waiting for server to start...
.0 LOG: [Alarm Module]Host Name: opengauss5b
0 LOG: [Alarm Module]Host IP: opengauss5b. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain <HOST IP>
0 LOG: [Alarm Module]Cluster Name: opengauss
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.
2023-09-18 06:38:46.872 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 DB010 0 [REDO] LOG: Recovery parallelism, cpu count = 2, max = 4, actual = 2
2023-09-18 06:38:46.872 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 DB010 0 [REDO] LOG: ConfigRecoveryParallelism, true_max_recovery_parallelism:4, max_recovery_parallelism:4
2023-09-18 06:38:46.879 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: [Alarm Module]Host Name: opengauss5b
2023-09-18 06:38:46.879 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: [Alarm Module]Host IP: opengauss5b. Copy hostname directly in case of taking 10s to use 'gethostbyname' when /etc/hosts does not contain <HOST IP>
2023-09-18 06:38:46.879 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: [Alarm Module]Cluster Name: opengauss
2023-09-18 06:38:46.879 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: [Alarm Module]Invalid data in AlarmItem file! Read alarm English name failed! line: 58
2023-09-18 06:38:46.881 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: loaded library "security_plugin"
2023-09-18 06:38:46.884 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2023-09-18 06:38:46.885 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0.
2023-09-18 06:38:46.885 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (3531 Mbytes) is larger.
2023-09-18 06:38:46.885 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: shared memory that key is 15400001 is owned by pid 12394
2023-09-18 06:38:46.994 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [CACHE] LOG: set data cache size(805306368)
2023-09-18 06:38:47.273 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 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
2023-09-18 06:38:47.318 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: gaussdb: fsync file "/opt/openGauss/data/dn/gaussdb.state.temp" success
2023-09-18 06:38:47.318 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Standby), connection index(1)
2023-09-18 06:38:47.496 650828b6.1 [unknown] 139880947998976 [unknown] 0 dn_6001_6002 00000 0 [BACKEND] LOG: max_safe_fds = 974, usable_fds = 1000, already_open = 16
[2023-09-18 06:38:47.791][13248][][gs_ctl]: waitpid 13251 failed, exitstatus is 256, ret is 2
[2023-09-18 06:38:47.791][13248][][gs_ctl]: stopped waiting
[2023-09-18 06:38:47.791][13248][][gs_ctl]: could not start server
Examine the log output..
[omm@opengauss5b ~]$




