【环境信息】
软件信息:
1) OS版本及分支:openEuler 23.09
2) 内核信息:6.4.0-1.0.2.6.oe2309.aarch64
【操作步骤】
dnf install -y dnssec-trigger
systemctl start dnssec-triggerd
【预期结果】
命令执行成功
【实际结果】
命令执行失败
【附件】
Hi ssttkx, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Application, and any of the maintainers: @zhuchunyi , @AlexZ11 , @small_leek , @jimmy_hero , @caodongxia
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
journalctl -xe 可查看到错误如下:
ug 28 15:16:19 openEuler unbound-checkconf[3497]: unbound-checkconf: no errors in /etc/unbound/unbound.conf
Aug 28 15:16:22 openEuler systemd[1]: unbound.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStartPre= process belonging to unit unbound.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Aug 28 15:16:22 openEuler systemd[1]: unbound.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit unbound.service has entered the 'failed' state with result 'exit-code'.
Aug 28 15:16:22 openEuler systemd[1]: Failed to start Unbound recursive Domain Name Server.
░░ Subject: A start job for unit unbound.service has failed
░░ Defined-By: systemd
根据错误日志及issue https://gitee.com/src-openeuler/unbound/issues/I6ILZ8?from=project-issue 可知是unbound服务启动失败,导致dnssec-triggerd服务失败,unbound会调用unbound-anchor命令,该命令会读取/etc/resolv.conf文件,若是该文件为空则会使用默认的dns服务器,若是配置文件中指定了dns服务器,则会使用该服务器,在测试环境中,注释掉resolv.conf原先默认的服务器,采用自身的dns服务器,即可unbound服务启动成功
注释掉resolv.conf原先默认的服务器,后重新启动dnssec-triggerd服务成功,截图如下:
dnssec-triggerd服务中错误日志信息根因是:报错网络无法连接。服务启动会访问http,但是访问的http地址是随机生成的,这些随机生成的地址就存在无法访问的假地址。
同https://gitee.com/src-openeuler/dnssec-trigger/issues/I6685P?from=project-issue 一致
综上,建议非问题关闭 @ssttkx
已确认,修改文件后后启动
登录 后才可以发表评论