栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

【lightDB】同一个虚拟机安装多个实例库,若出现卸载不干净时,安装时提示ERROR lt

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【lightDB】同一个虚拟机安装多个实例库,若出现卸载不干净时,安装时提示ERROR lt

同一台虚拟机中安装多个数据库实例时很常见的现象,多人同时使用同一台虚拟机不同的数据库时,可能会造成安装失败的情形。

INFO track_io_timing is already configured, then skip this step
INFO log_min_messages is already configured, then skip this step
INFO temp_buffers is already configured, then skip this step
INFO commit_siblings is already configured, then skip this step
INFO canopy.shard_count is already configured, then skip this step
INFO cron.database_name is already configured, then skip this step
INFO min_parallel_table_scan_size is already configured, then skip this step

2022-05-23 17:28:39 [com.hundsun.lightdb.service.deploy.AbstractCommandExecuteService]-[INFO] 开始执行:[sh, /home/lightdb/lightdb-4932-oracl/lightdb-x-13.3-22.2-4932-el7.x86_64/script/6_lightdb_start.sh, /data1/lightdb-xjh-4932/lightdb-x/13.3-22.2, /data1/lightdb-xjh-4932/lightdb-x/13.3-22.2/data/defaultCluster/]
2022-05-23 17:28:39 [com.hundsun.lightdb.util.SystemCommand]-[ERROR] 执行状态:1
2022-05-23 17:28:39 [com.hundsun.lightdb.service.deploy.AbstractCommandExecuteService]-[ERROR] 脚本命令执行异常:sh /home/lightdb/lightdb-4932-oracl/lightdb-x-13.3-22.2-4932-el7.x86_64/script/6_lightdb_start.sh :ERROR lt_ctl start failure

2022-05-23 17:28:39 [com.hundsun.lightdb.controller.InstallController]-[ERROR] SINGLE模式安装失败:
java.lang.RuntimeException: Install failed!
  at com.hundsun.lightdb.service.deploy.AbstractCommandExecuteService.executeScript(AbstractCommandExecuteService.java:34)
  at com.hundsun.lightdb.service.deploy.AbstractSingleService.deploy(AbstractSingleService.java:102)
  at com.hundsun.lightdb.controller.InstallController$1.run(InstallController.java:82)
  at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
  at java.base/java.util.TimerThread.run(Timer.java:506)
[lightdb@lightdb2 log]$ 

造成上述的场景之一:

用户A安装了单机版或分布式lightDB数据库,用户B在此基础上创建了自己的个人实例库。过了几天,A卸载了lightDB数据库未通知B,但B一直在使用第三方客户端执行个人数据库实例调试,导致后台进程lightDB一直在运行。

此时,如果任一用户在此虚拟机上直接安装lightDB单机版或分布式,就会出现上述错误。

需要检查进程执行情况:

ps aux | grep lightdb
kill -9 32456

杀掉对应进程后,用户在此虚拟机上再次安装lightDB单机版或分布式,就可以顺利执行安装。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/930915.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号