达梦数据库DSC安装报错解决方法

一、DSC 安装时的报错解决方法

报错一、[ASM]: 通知EP ASM1[0]启动失败,强制halt

[ASM]: 通知EP ASM1[0]启动失败,强制halt
shutdown ep[0] abort!
[2023-02-23 18:34:21:654] [ASM]: 设置EP [255]为控制节点
[2023-02-23 18:34:22:663] [ASM]: 设置命令[SYS HALT], 目标站点 ASM1[0], 命令序号[16]
[2023-02-23 18:34:22:664] [ASM]: 设置EP ASM1[0]为控制节点
[2023-02-23 18:34:22:665] [ASM]: 设置命令[START NOTIFY], 目标站点 ASM1[0], 命令序号[18]

后台日志

tail -f dm_ASM1_202302.log

2023-02-23 10:41:37.079 [INFO] dmasmsvr P0000009785 T0000000000000009790  dm_mal_recv_thd started, src_site:0, dest_site:0
2023-02-23 10:41:37.081 [INFO] dmasmsvr P0000009785 T0000000000000009795  mal_lsnr_thread created success, port_num=7236
2023-02-23 10:41:38.083 [INFO] dmasmsvr P0000009785 T0000000000000009796  mal_site_ctl_link_create startup from mal_site(0) to mal_site(0)!
2023-02-23 10:41:38.084 [INFO] dmasmsvr P0000009785 T0000000000000009796  mal_site_magic_gen site_magic[59929], src_site:0, dst_site:0
2023-02-23 10:41:38.084 [INFO] dmasmsvr P0000009785 T0000000000000009796  site[0] mal_site_ctl_port_set to site[0, IP: 192.168.111.11, port_num: 7236], socket handle = 11, site_magic = 59929
2023-02-23 10:41:38.084 [INFO] dmasmsvr P0000009785 T0000000000000009795  site[0] mal_site_data_port_set from site[0, IP: 192.168.111.11, port_num: 7236], socket handle = 12, site_magic = 59929
2023-02-23 10:41:38.084 [INFO] dmasmsvr P0000009785 T0000000000000009790  mal_site_port_get site_magic:59929, src_site:0, dst_site:0
2023-02-23 10:41:38.084 [INFO] dmasmsvr P0000009785 T0000000000000009789  mal_site_port_get site_magic:59929, src_site:0, dst_site:0
2023-02-23 10:41:38.084 [ERROR] dmasmsvr P0000009785 T0000000000000009796  Can't connect to DM server on '192.168.111.12' port(7236) errno(113)

解决方法

排查之后发现 telnet 192.168.111.12 7336 报错找不到主机路由
原因是:firewalld、selinux 没关闭

cat /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

setenfore 0
systemctl stop firewalld
systemctl disable --now firewalld

两个节点重启dmcss、dmasm 正常

[2023-02-23 18:55:42:102] [CSS]: 重启本地DB实例,命令:[/dmdsc8/dmdbms/bin/dmserver path=/dmdsc8/dsc1_config/dm.ini dcr_ini=/dmdsc8/config/dmdcr.ini]

Waitpid error!
file dm.key not found, use default license!
open ini file /dmdsc8/dsc1_config/dm.ini failed!
dmserver startup failed, code = -140 [Can not access INI file]
nsvr_ini_file_read failed, [code: -140]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值