代码拉取完成,页面将自动刷新
【标题描述】:
【测试类型:SQL功能/存储功能/接口功能/工具功能/性能/并发/压力长稳/故障注入/安全/资料/编码规范】【测试版本:2.0.0】 问题描述
vmware虚拟机+openEuler+openGauss1.0.1 单节点安装
安装过程正常,启动时出错
参照下面链接安装
[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.
[2021-11-28 16:22:15.780][11135][][gs_ctl]: gs_ctl started,datadir is -D "/gaussdb/data/db1"
[2021-11-28 16:22:15.800][11135][][gs_ctl]: waiting for server to start...
.0 LOG: Failed to initialze environment for codegen.
0 LOG: The core dump path in core_pattern is an invalid directory.
0 [BACKEND] LOG: Begin to start openGauss Database.
2021-11-28 16:22:15.837 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 DB001 0 [REDO] LOG: Recovery parallelism, cpu count = 2, max = 4, actual = 2
2021-11-28 16:22:15.837 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 DB001 0 [REDO] LOG: ConfigRecoveryParallelism, true_max_recovery_parallelism:4, max_recovery_parallelism:4
2021-11-28 16:22:15.838 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: Transparent encryption disabled.
2021-11-28 16:22:15.847 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 01000 0 [BACKEND] WARNING: could not create any HA TCP/IP sockets
2021-11-28 16:22:15.849 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: InitNuma numaNodeNum: 1 numa_distribute_mode: none inheritThreadPool: 0.
2021-11-28 16:22:15.849 61a33c37.1 [unknown] 139841910998080 [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 (529 Mbytes) is larger.
2021-11-28 16:22:15.866 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [CACHE] LOG: set data cache size(12582912)
2021-11-28 16:22:15.866 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [CACHE] LOG: set metadata cache size(4194304)
2021-11-28 16:22:16.014 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: gaussdb: fsync file "/gaussdb/data/db1/gaussdb.state.temp" success
2021-11-28 16:22:16.014 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal)
2021-11-28 16:22:16.050 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: max_safe_fds = 978, usable_fds = 1000, already_open = 12
2021-11-28 16:22:16.052 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: The core dump path in core_pattern is an invalid directory.
2021-11-28 16:22:16.083 61a33c37.1 [unknown] 139841910998080 [unknown] 0 dn_6001 00000 0 [BACKEND] LOG: Success to start openGauss Database. If you specify "&", please press any key to exit...
[2021-11-28 16:22:16.802][11135][][gs_ctl]: waitpid 11138 failed, exitstatus is 256, ret is 2
[2021-11-28 16:22:16.802][11135][][gs_ctl]: stopped waiting
[2021-11-28 16:22:16.803][11135][][gs_ctl]: could not start server
[2021-11-28 16:22:16.803][11135][][gs_ctl]: Examine the log output..
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
【测试环境】(单机/1主x备x级联备):
【被测功能】:
【测试类型】:
【数据库版本】(查询命令: gaussdb –V):
【预置条件】:
【操作步骤】(请填写详细的操作步骤):
【预期输出】:
【实际输出】:
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
【测试代码】:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
您好,执行4.gs_ctl start -d /gaussdb/data/db1时出错了
[omm@db1 ~]$ gs_ctl start -d /gaussdb/data/db1
[2021-11-28 17:18:30.302][12527][][gs_ctl]: too many command-line arguments (first is)
Try "gs_ctl --help" for more information.
[omm@db1 ~]$
这是目录的内容,应该没有什么错误吧
[omm@db1 ~]$ ls -a
. .. .bash_history .bash_logout .bash_profile .bashrc .rnd .ssh .zshrc
[omm@db1 ~]$ ls
[omm@db1 ~]$
请问xml文件配置的ip是哪一个,我之前用的是第二个(NAT),但是我又用centos试了一下第一个(仅主机连接)就安装启动成功了,是不是这个问题?
[omm@db1 script]$ ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.227.130 netmask 255.255.255.0 broadcast 192.168.227.255
inet6 fe80::fc09:818e:ef9d:eb5f prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:fc:99:0e txqueuelen 1000 (Ethernet)
RX packets 4743 bytes 932568 (910.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2000 bytes 385443 (376.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ens34: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.245.133 netmask 255.255.255.0 broadcast 192.168.245.255
inet6 fe80::5b5d:bc3:e315:759b prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:fc:99:18 txqueuelen 1000 (Ethernet)
RX packets 68150 bytes 93167523 (88.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 33600 bytes 2052779 (1.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 14700 bytes 145007923 (138.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14700 bytes 145007923 (138.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:a1:01:a5 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
/sig om
/close
登录 后才可以发表评论