部署freeipa中报错:Command '/bin/systemctl start certmonger.service' returned non-zero exit status 1

cat /etc/dbus-1/system.d/certmonger.conf

<allow send_destination="org.fedorahosted.certmonger"
send_interface="org.fedorahosted.certmonger"/>
<allow send_destination="org.fedorahosted.certmonger"
send_interface="org.fedorahosted.certmonger.ca"/>
<allow send_destination="org.fedorahosted.certmonger"
send_interface="org.fedorahosted.certmonger.request"/>
<allow send_destination="org.fedorahosted.certmonger"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.fedorahosted.certmonger"
send_interface="org.freedesktop.DBus.Properties"/>

certmonger -S -d 10

2024-05-16 16:54:13 [28835] CA2('IPA').renewal_reqs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA2('IPA').capabilities starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA2('IPA').encryption_certs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').identify starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').certs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').profiles starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').default_profile starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').enrollment_reqs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').renewal_reqs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').capabilities starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA3('certmaster').encryption_certs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').identify starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').certs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').profiles starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').default_profile starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').enrollment_reqs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').renewal_reqs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').capabilities starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA4('dogtag-ipa-renew-agent').encryption_certs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').identify starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').certs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').profiles starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').default_profile starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').enrollment_reqs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').renewal_reqs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').capabilities starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] CA5('local').encryption_certs starts (NEED_TO_REFRESH)
2024-05-16 16:54:13 [28835] Adding disabled DBus watch on FD 7 (for Write) for 0x557059227730.
2024-05-16 16:54:13 [28835] Adding a watch group for FD 7 for 0x557059227730.
2024-05-16 16:54:13 [28835] Dequeuing FD 7 for 0x557059227730:(nil).
2024-05-16 16:54:13 [28835] Not queuing FD 7 for 0x557059227730.
2024-05-16 16:54:13 [28835] Adding enabled DBus watch on FD 7 (for Read) for 0x557059227730.
2024-05-16 16:54:13 [28835] Dequeuing FD 7 for 0x557059227730:(nil).
2024-05-16 16:54:13 [28835] Queuing FD 7 for Read for 0x557059227730:0x55705922a4b0.
2024-05-16 16:54:13 [28835] Unable to set well-known bus name "org.fedorahosted.certmonger": Connection ":1.1788" is not allowed to own the service "org.fedorahosted.certmonger" due to security policies in the configuration file(-1).
Error connecting to D-Bus.

发现 dbus报错,进行重启恢复正常

sudo service dbus status 查看状态

sudo service dbus stop 关掉dbus

sudo service dbus start 启动dbus

先简单做个纪录

posted @   风士兮  阅读(23)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
点击右上角即可分享
微信分享提示