[root@db1 ~]# su - omm
Last login: Tue Jan 3 13:11:23 CST 2023 on pts/0
[omm@db1 ~]$ gs_om -t start
Starting cluster.
=========================================
=========================================
[GAUSS-53600]: Can not start the database,
the cmd is source /home/omm/.bashrc; python3
'/opt/huawei/wisequery/script/local/StartInstance.py' -U omm -R
/opt/gaussdb/app -t 300 --security-mode=off,
Error:
[FAILURE] db1:
[GAUSS-51607] : Failed to start instance.
Error: Please check the gs_ctl log for failure details.
[2023-01-03 13:34:27.226][2224][][gs_ctl]:
gs_ctl started,datadir is /gaussdb/data/db1
[2023-01-03 13:34:27.625][2224][][gs_ctl]:
waiting for server to start...
.0 LOG:
[Alarm Module]can not read GAUSS_WARNING_TYPE env.
0 LOG:
[Alarm Module]Host Name: db1
0 LOG:
[Alarm Module]Host IP: 192.168.56.102
0 LOG:
[Alarm Module]Cluster Name: dbCluster
0 LOG:
[Alarm Module]Invalid data in AlarmItem file! Read alarm English name
failed! line: 52
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:
Failed to initialze environment for codegen.
The core dump path is an invalid directory
2023-01-03 13:34:28.057 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 DB010 0 [REDO] LOG:
Recovery parallelism, cpu count = 2, max = 4, actual = 2
2023-01-03 13:34:28.057 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 DB010 0 [REDO] LOG:
ConfigRecoveryParallelism, true_max_recovery_parallelism:4,
max_recovery_parallelism:4
2023-01-03 13:34:28.058 63b3be63.1 [unknown]
140296346179328 [unknown] 0 dn_6001 00000
0 [BACKEND] LOG: [Alarm
Module]can not read GAUSS_WARNING_TYPE env.
2023-01-03 13:34:28.058 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Host Name: db1
2023-01-03 13:34:28.069 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Host IP: 192.168.56.102
2023-01-03 13:34:28.069 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Cluster Name: dbCluster
2023-01-03 13:34:28.069 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: [Alarm Module]Invalid data in AlarmItem file!
Read alarm English name failed! line: 52
2023-01-03 13:34:28.069 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: Transparent encryption disabled.
2023-01-03 13:34:28.076 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: loaded library "security_plugin"
2023-01-03 13:34:28.080 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2023-01-03 13:34:28.085 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode:
none inheritThreadPool: 0.
2023-01-03 13:34:28.085 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 01000 0 [BACKEND] WARNING: Failed to initialize the memory protect for
g_instance.attr.attr_storage.cstore_buffers (16 Mbytes) or shared memory (1496
Mbytes) is larger.
2023-01-03 13:34:28.127 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [CACHE] LOG: set data cache size(12582912)
2023-01-03 13:34:28.128 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [CACHE] LOG: set metadata cache size(4194304)
2023-01-03 13:34:28.926 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: gaussdb: fsync file
"/gaussdb/data/db1/gaussdb.state.temp" success
2023-01-03 13:34:28.926 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: create gaussdb state file success: db
state(STARTING_STATE), server mode(Normal)
2023-01-03 13:34:28.950 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: max_safe_fds = 979, usable_fds = 1000,
already_open = 11
The core dump path is an invalid directory
2023-01-03 13:34:28.958 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: the configure file
/opt/gaussdb/app/etc/gscgroup_omm.cfg doesn't exist or the size of configure
file has changed. Please create it by root user!
2023-01-03 13:34:28.958 63b3be63.1
[unknown] 140296346179328 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: Failed to parse cgroup config file.
.[2023-01-03
13:34:30.788][2224][][gs_ctl]: waitpid
2227 failed, exitstatus is 256, ret is 2
[2023-01-03 13:34:30.789][2224][][gs_ctl]:
stopped waiting
[2023-01-03
13:34:30.789][2224][][gs_ctl]: could not
start server
Examine the log output..