<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[Centos 使用Systemctl报#systemctl stop slapd Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39)]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Thu, 08 Nov 2018 09:37:43 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	#systemctl stop slapd<br/>Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39)<br/>解决这个问题：<br/>第一步）主要是重装&nbsp;&nbsp;polkit，然后重启。<br/>#rpm -qa&#124;grep polkit<br/>polkit-0.112-14.el7.x86_64<br/>polkit-pkla-compat-0.1-4.el7.x86_64<br/>来自：https://blog.csdn.net/wuyezhiyu/article/details/82905661<br/><br/>弟二步）#systemctl start dbus.service<br/>Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39)<br/><br/>#ps -ef&#124;grep dbus<br/>root&nbsp;&nbsp;&nbsp;&nbsp; 31670&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;0 09:38 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;00:00:00 [dbus-daemon] &lt;defunct&gt;<br/><br/>#systemctl list-unit-files&#124;grep dbus.service&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#查看systemd管理的所有单元<br/>dbus.service&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static&nbsp;&nbsp;<br/>systemctl enable dubs.service&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>access(&quot;/etc/systemd/system/dubs.service&quot;, F_OK) = -1 ENOENT (No such file or directory)<br/>access(&quot;/run/systemd/system/dubs.service&quot;, F_OK) = -1 ENOENT (No such file or directory)<br/>access(&quot;/usr/local/lib/systemd/system/dubs.service&quot;, F_OK) = -1 ENOENT (No such file or directory)<br/>access(&quot;/usr/lib/systemd/system/dubs.service&quot;, F_OK) = -1 ENOENT (No such file or directory)<br/>access(&quot;/etc/rc.d/init.d/dubs&quot;, F_OK)&nbsp;&nbsp; = -1 ENOENT (No such file or directory)<br/>&quot;static&quot;&nbsp;&nbsp;尚未被启用，并且单元文件的 &quot;[Install]&quot; 小节中没有可用于 enable 命令的选项<br/>&quot;disabled&quot;&nbsp;&nbsp;尚未被启用，但是单元文件的 &quot;[Install]&quot; 小节中存在可用于 enable 命令的选项<br/>&quot;enabled&quot;&nbsp;&nbsp;已经通过 /etc/systemd/system/ 目录下的 Alias= 别名、 .wants/ 或 .requires/ 软连接被永久启用<br/><br/>来自：https://mellowhost.com/billing/index.php?rp=/knowledgebase/71/Error-getting-authority-Error-initializing-authority-Could-not-connect-Connection-refused-g-io-error-quark-39.html<br/><br/><br/>Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39)<br/>systemctl stop slapd<br/>Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39)<br/><br/>在使用centos7.4 安装服务的时候报错：<br/><br/>Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)<br/>解决方案：<br/><br/><br/>ps -ef &#124;grep polkit<br/><br/>再安装：<br/> pyum reinstall polkit<br/><br/>再重启<br/>reboot<br/><br/>就可以解决<br/><br/>来自：http://www.cnblogs.com/flyfish2012/p/9527810.html
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] Centos 使用Systemctl报#systemctl stop slapd Error getting authority: Error initializing authority: Could not connect: Connection refused (g-io-error-quark, 39)]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>