集群进程启动提示libidn.so.11不存在
问题现象:新建测试集群完成后启动进程失败,手动拉起gclusterd进程时提示信息如下。
[gbase@hadoop05 bin]$ ./gclusterd
./gclusterd: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory
告警信息:无
原因分析:根据报错信息查看应该时lib库中的文件异常导致,如不存在11,需要做软连接。
处理过程:1、查看系统/usr/lib64目录下该文件是否存在
[root@hadoop05 lib64]# ls -l|grep libidn
lrwxrwxrwx. 1 root root 16 1月 1 2022 libidn2.so.0 -> libidn2.so.0.3.7
-rwxr-xr-x. 1 root root 133088 1月 1 2022 libidn2.so.0.3.7
2、创建软连接
[root@hadoop05 lib64]# ln -s libidn2.so.0.3.7 libidn.so.11
[root@hadoop05 lib64]# ls -l|grep libidn
lrwxrwxrwx. 1 root root 16 1月 1 2022 libidn2.so.0 -> libidn2.so.0.3.7
-rwxr-xr-x. 1 root root 133088 1月 1 2022 libidn2.so.0.3.7
lrwxrwxrwx 1 root root 16 6月 6 17:43 libidn.so.11 -> libidn2.so.0.3.7
3、重新拉起进程,可以正常拉起。
gcluster_services all start
建议与总结:
评论
热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25052
- 42023-09-25浏览数:18521
- 52020-05-11浏览数:17526