侧边栏壁纸
博主头像
★街角晚灯★博主等级

博观而约取 厚积而薄发

  • 累计撰写 461 篇文章
  • 累计创建 184 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

融云排错

WinJay
2022-11-18 / 0 评论 / 0 点赞 / 137 阅读 / 6230 字 / 正在检测是否收录...
温馨提示:
文章发布较早,内容可能过时,阅读注意甄别。。。。

查看RCE版本信息

curl http://127.0.0.1:8080/rce/api/misc/version

10.234.91.155
  • 运行异常信息,一般这种重启一下RCE- Server即可正常(RCE放最后启动)

image-20221009165730422

查看版本信息

https://im.litsoft.com.cn/api/configuration/all

image-20230321101603984

https://im.litsoft.com.cn/api/misc/version

image-20230321104600548

运行正常信息

image-20221009165811147

查看RCX版本信息

curl 10.234.11.17:8083/rcx/plugin/version
curl 127.0.0.1:8083/rcx/plugin/version

image-20230308104908087

image-20230308104831536

image-20230308104248060

查看ES状态


curl 127.0.0.1:9200/_cat/health?

image-20221009170032405

image-20221009170049130

rce-elasticsearch-hs

查看全部服务状态

image-20221009170135224

pwdx 1647

image-20221009170155391

查看ES信息

[root@RcloudTest ~]# cd /rcloud/app/
[root@RcloudTest app]# 
[root@RcloudTest app]# ll
total 8
drwxr-xr-x.  2 rcloud rcloud  160 Mar 25  2022 docker
drwxr-xr-x.  4 rcloud rcloud  165 Sep  2 15:01 file-fdfs-node-1
drwxr-xr-x. 11 rcloud rcloud  180 Oct  9 15:35 file-nginx-node-1
drwxr-xr-x.  6 rcloud rcloud  123 Mar 25  2022 file-server-node-1
drwxr-xr-x.  7 rcloud rcloud  245 Mar 25  2022 jdk
drwxr-xr-x.  4 rcloud rcloud   71 Mar 25  2022 loghub-server-node-1
drwxr-xr-x.  2 rcloud rcloud  224 Mar 25  2022 moments-redis-node-1
drwxr-xr-x.  7 rcloud rcloud  131 Mar 25  2022 rce-elasticsearch-node-1
drwxr-xr-x.  3 rcloud rcloud   91 Aug 29 17:48 rce-moments-node-1
drwxr-xr-x. 10 rcloud rcloud  213 Oct  9 15:35 rce-mysql-node-1
drwxr-xr-x. 11 rcloud rcloud  179 Oct  9 15:35 rce-nginx-node-1
drwxr-xr-x.  2 rcloud rcloud  224 Oct  9 15:35 rce-redis-node-1
drwxr-xr-x.  9 rcloud rcloud  220 Mar 25  2022 rce-server-node-1
drwxr-xr-x.  6 rcloud rcloud  105 Mar 25  2022 rcx-globalrcdb-node-1-master
drwxr-xr-x. 10 rcloud rcloud  213 Oct  9 15:35 rcx-mysql-node-1
drwxr-xr-x. 11 rcloud rcloud  179 Oct  9 15:35 rcx-nginx-node-1
drwxr-xr-x.  6 rcloud rcloud  105 Mar 25  2022 rcx-rcdb-node-1-master
drwxr-xr-x.  6 rcloud rcloud  105 Mar 25  2022 rcx-rcdb-node-2-master
drwxr-xr-x.  6 rcloud rcloud  105 Mar 25  2022 rcx-rcdb-node-3-master
drwxr-xr-x.  6 rcloud rcloud  105 Mar 25  2022 rcx-rcdb-node-4-master
drwxr-xr-x   6 rcloud rcloud  123 Aug 25 22:29 rcx-server-node-1
drwxr-xr-x. 14 rcloud rcloud 4096 Mar 25  2022 rcx-zookeeper-node-1
drwxr-xr-x. 11 rcloud rcloud  179 Oct  9 15:35 rtc-nginx-node-1
drwxr-xr-x.  2 rcloud rcloud   32 Aug 29 17:39 rtc-server-node-1
drwxr-xr-x.  3 rcloud rcloud 4096 Aug 29 17:47 scripts
drwxr-xr-x.  3 rcloud rcloud   64 Oct  9 15:35 supervisord
drwxr-xr-x.  6 rcloud rcloud   68 Aug 25 22:52 www

  • 查看ES配置文件
[root@RcloudTest app]# cat rce-server-node-1/conf/rce/elastic.properties 
elasticsearch.host=rce-elasticsearch-node-1
elasticsearch.port=9300
elasticsearch.cluster.name=rcloud

#elasticsearch.username=elastic
#elasticsearch.password=1qazXSW@

searchguard.ssl.transport.pemcert_filepath=/rcloud/app/rce-server-node-1/conf/rce/search-guard/kirk.pem
searchguard.ssl.transport.pemkey_filepath=/rcloud/app/rce-server-node-1/conf/rce/search-guard/kirk.key
searchguard.ssl.transport.pemtrustedcas_filepath=/rcloud/app/rce-server-node-1/conf/rce/search-guard/root-ca.pem
searchguard.ssl.transport.pemkey_password=bWOGv2UduDBnzVHF

  • 登录测试ES状态
curl -k -u admin:admin  https://127.0.0.1:9200/_cat/health?

image-20221009171117727

image-20221009171049391

重启RCE服务

image-20221009171244893

客户端登陆失败

image-20230206160826970

image-20230206160859776

  • 更换授权或识别码后需要重启服务。

客户端登陆失败

image-20230321104722624

问题:一开始同步,就会同步一条id为17的名字是联和利泰的部门,但是数据库里已经有了id是17,名字是联合利泰的公司。造成了冲突。导致RCE-Server服务异常。

image-20230321111227108

image-20230321111248382

image-20230321111308815

需要删除冲突的数据。

select * from t_organization where parent_uid = member_uid ;

delete from t_organization where parent_uid = member_uid ;

select * from t_depart where _uid = 17;

delete from t_depart where _uid = 17;

select * from t_depart where _uid = 17

问题2: rce-nginx配置里面的的upstream的地址跟k8s里rce-server的service地址不一致。

重启Rce-Server后需要重启一下rce-nginx服务。

0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区