安装oblogproxy时启动报错

【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】
【 使用版本 】社区版4.3.0.1
【问题描述】安装的是oblogproxy2.0.2社区版
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):

【SOP系列 22 】——故障诊断第一步(自助诊断和诊断信息收集)

报错信息显示:请问这个原因是什么
sudo ./run.sh start
DEPLOY_PATH : /usr/local/oblogproxy
*** Error in `./bin/logproxy’: free(): invalid pointer: 0x00007f4ca49de6c0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81499)[0x7f4ca4a61499]
/lib64/libnss_qt.so.2(_ZNSt6locale5_Impl16_M_install_facetEPKNS_2idEPKNS_5facetE+0x142)[0x7f4ca474aa82]
/lib64/libnss_qt.so.2(_ZNSt6locale5_ImplC2Em+0x1e3)[0x7f4ca474bd73]
/lib64/libnss_qt.so.2(_ZNSt6locale18_S_initialize_onceEv+0x15)[0x7f4ca474cce5]
/lib64/libpthread.so.0(pthread_once+0x50)[0x7f4ca54d5e70]
/lib64/libnss_qt.so.2(_ZNSt6locale13_S_initializeEv+0x21)[0x7f4ca474cd31]
/lib64/libnss_qt.so.2(_ZNSt6localeC1Ev+0x13)[0x7f4ca474cd73]
/lib64/libnss_qt.so.2(_ZNSt8ios_base4InitC1Ev+0xb4)[0x7f4ca4749254]
/lib64/libnss_qt.so.2(+0x46970)[0x7f4ca4745970]
/lib64/ld-linux-x86-64.so.2(+0xfb03)[0x7f4ca56f4b03]
/lib64/ld-linux-x86-64.so.2(+0x146de)[0x7f4ca56f96de]
/lib64/ld-linux-x86-64.so.2(+0xf914)[0x7f4ca56f4914]
/lib64/ld-linux-x86-64.so.2(+0x13ccb)[0x7f4ca56f8ccb]
/lib64/libc.so.6(+0x13d082)[0x7f4ca4b1d082]
/lib64/ld-linux-x86-64.so.2(+0xf914)[0x7f4ca56f4914]
/lib64/libc.so.6(__libc_dlopen_mode+0x52)[0x7f4ca4b1d142]
/lib64/libc.so.6(__nss_lookup_function+0x308)[0x7f4ca4af2928]
/lib64/libc.so.6(__nss_lookup+0x1e)[0x7f4ca4af2a9e]
/lib64/libc.so.6(gethostbyname_r+0x437)[0x7f4ca4afa1b7]
/lib64/libc.so.6(gethostbyname+0xee)[0x7f4ca4af948e]
./bin/logproxy[0x483728]
./bin/logproxy[0x4b4f8d]
./bin/logproxy[0x4484d1]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f4ca4a02445]
./bin/logproxy[0x44b7ae]
======= Memory map: ========
00400000-00a62000 r-xp 00000000 fd:00 202451005 /usr/local/oblogproxy/bin/logproxy
00c62000-00c97000 r–p 00662000 fd:00 202451005 /usr/local/oblogproxy/bin/logproxy
00c97000-00ca8000 rw-p 00697000 fd:00 202451005 /usr/local/oblogproxy/bin/logproxy
00ca8000-00cb4000 rw-p 00000000 00:00 0
02ca7000-02cec000 rw-p 00000000 00:00 0 [heap]
7f4ca0000000-7f4ca0021000 rw-p 00000000 00:00 0
7f4ca0021000-7f4ca4000000 —p 00000000 00:00 0
7f4ca44e9000-7f4ca44fe000 r-xp 00000000 fd:00 67108940 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4ca44fe000-7f4ca46fd000 —p 00015000 fd:00 67108940 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4ca46fd000-7f4ca46fe000 r–p 00014000 fd:00 67108940 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4ca46fe000-7f4ca46ff000 rw-p 00015000 fd:00 67108940 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f4ca46ff000-7f4ca47c3000 r-xp 00000000 fd:00 71041632 /usr/lib64/libnss_qt.so.2.1.4
7f4ca47c3000-7f4ca49c2000 —p 000c4000 fd:00 71041632 /usr/lib64/libnss_qt.so.2.1.4
7f4ca49c2000-7f4ca49c9000 r–p 000c3000 fd:00 71041632 /usr/lib64/libnss_qt.so.2.1.4
7f4ca49c9000-7f4ca49cb000 rw-p 000ca000 fd:00 71041632 /usr/lib64/libnss_qt.so.2.1.4
7f4ca49cb000-7f4ca49e0000 rw-p 00000000 00:00 0
7f4ca49e0000-7f4ca4ba3000 r-xp 00000000 fd:00 67143766 /usr/lib64/libc-2.17.so
7f4ca4ba3000-7f4ca4da2000 —p 001c3000 fd:00 67143766 /usr/lib64/libc-2.17.so
7f4ca4da2000-7f4ca4da6000 r–p 001c2000 fd:00 67143766 /usr/lib64/libc-2.17.so
7f4ca4da6000-7f4ca4da8000 rw-p 001c6000 fd:00 67143766 /usr/lib64/libc-2.17.so
7f4ca4da8000-7f4ca4dad000 rw-p 00000000 00:00 0
7f4ca4dad000-7f4ca4eae000 r-xp 00000000 fd:00 67143774 /usr/lib64/libm-2.17.so
7f4ca4eae000-7f4ca50ad000 —p 00101000 fd:00 67143774 /usr/lib64/libm-2.17.so
7f4ca50ad000-7f4ca50ae000 r–p 00100000 fd:00 67143774 /usr/lib64/libm-2.17.so
7f4ca50ae000-7f4ca50af000 rw-p 00101000 fd:00 67143774 /usr/lib64/libm-2.17.so
7f4ca50af000-7f4ca50b1000 r-xp 00000000 fd:00 67143772 /usr/lib64/libdl-2.17.so
7f4ca50b1000-7f4ca52b1000 —p 00002000 fd:00 67143772 /usr/lib64/libdl-2.17.so
7f4ca52b1000-7f4ca52b2000 r–p 00002000 fd:00 67143772 /usr/lib64/libdl-2.17.so
7f4ca52b2000-7f4ca52b3000 rw-p 00003000 fd:00 67143772 /usr/lib64/libdl-2.17.so
7f4ca52b3000-7f4ca52c8000 r-xp 00000000 fd:00 67143831 /usr/lib64/libz.so.1.2.7
7f4ca52c8000-7f4ca54c7000 —p 00015000 fd:00 67143831 /usr/lib64/libz.so.1.2.7
7f4ca54c7000-7f4ca54c8000 r–p 00014000 fd:00 67143831 /usr/lib64/libz.so.1.2.7
7f4ca54c8000-7f4ca54c9000 rw-p 00015000 fd:00 67143831 /usr/lib64/libz.so.1.2.7
7f4ca54c9000-7f4ca54e0000 r-xp 00000000 fd:00 67143792 /usr/lib64/libpthread-2.17.so
7f4ca54e0000-7f4ca56df000 —p 00017000 fd:00 67143792 /usr/lib64/libpthread-2.17.so
7f4ca56df000-7f4ca56e0000 r–p 00016000 fd:00 67143792 /usr/lib64/libpthread-2.17.so
7f4ca56e0000-7f4ca56e1000 rw-p 00017000 fd:00 67143792 /usr/lib64/libpthread-2.17.so
7f4ca56e1000-7f4ca56e5000 rw-p 00000000 00:00 0
7f4ca56e5000-7f4ca5707000 r-xp 00000000 fd:00 67143759 /usr/lib64/ld-2.17.so
7f4ca58e5000-7f4ca58ea000 rw-p 00000000 00:00 0
7f4ca5902000-7f4ca5906000 rw-p 00000000 00:00 0
7f4ca5906000-7f4ca5907000 r–p 00021000 fd:00 67143759 /usr/lib64/ld-2.17.so
7f4ca5907000-7f4ca5908000 rw-p 00022000 fd:00 67143759 /usr/lib64/ld-2.17.so
7f4ca5908000-7f4ca5909000 rw-p 00000000 00:00 0
7ffc82344000-7ffc82365000 rw-p 00000000 00:00 0 [stack]
7ffc823be000-7ffc823c0000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
is_running : (137493)/usr/local/oblogproxy logproxy is running!
logproxy started!
[user@AFA4J-HOST oblogproxy]$ ./run.sh: 行 53: 137493 已放弃 (吐核)./bin/${BIN} -f ./conf/conf.json &>${log_path}/out.log

相关日志能上传一下吗

logproxy.log (660 字节)
out.log (2.3 KB)

操作系统版本是哪个?另外看一下有没有 core 文件产生,发一下

CentOS Linux release 7.5.1804 (Core) 没有找到core文件
安装方式是这种,执行./run.sh start 后没有找到2983进程

安装低版本试一下看看有没有这个问题?

贴一下你的 rpm包信息

oblogproxy-2.0.0-100000012023111521.el7.x86_64.rpm
oblogproxy-2.0.2-100000012024060321.el7.x86_64.rpm
oblogproxy-2.0.1-100000032024011821.el7.x86_64.rpm
2.0.1版本试了下也是一样,主要是显示的报错信息没看懂,会不会适合conf.json文件中的配置有关系,使用的linux服务器8C 16G ,硬盘存储58G 够用才对

发一下配置文件看下

conf.txt (2.2 KB)
这个是conf.json文件, 里面都是默认的配置,除了加了个用户名和密码
使用的是user用户,加sudo才能执行root权限的操作