首页 > 其他 > 详细

“在 setroubleshoot 服务中读取信息时出错:没有那个文件或目录” 的解决办法

时间:2016-04-06 19:03:09      阅读:234      评论:0      收藏:0      [点我收藏+]

在学习鸟哥的LINUX私房菜(基础篇)第17.5.5 SELinux所需的服务 章节中

鸟哥提到:

       

[root@www ~]# chkconfig --list setroubleshoot 

setroubleshoot 0:off 1:off 2:off 3:on 4:on 5:on 6:off 

# 我们癿 Linux 运作模式是在 3 戒 5 号,因此这两个要 on 卲可。 


  

我的虚拟机为CentOS5.11,

但是我在测试的时候,出现如下信息:

        [root@localhost ~]# chkconfig --list setroubleshoot

        在 setroubleshoot 服务中读取信息时出错:没有那个文件或目录

似乎是服务没有起来

于是

        [root@localhost ~]# yum install setroubleshoot

安装setroubleshoot

安装完成后,

        [root@localhost ~]# chkconfig --list setroubleshoot

        setroubleshoot  0:关闭  1:关闭  2:关闭  3:启用  4:启用  5:启用  6:关闭

就可以的说了。

但是之前为什么不行,就不知道原因了

本文出自 “KKMM” 博客,请务必保留此出处http://lisiyun.blog.51cto.com/2779132/1760877

“在 setroubleshoot 服务中读取信息时出错:没有那个文件或目录” 的解决办法

原文:http://lisiyun.blog.51cto.com/2779132/1760877

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!