linux centos6.3系统,手贱执行了chown -R apache:apache /,之后改了一些Starting HAL daemon:[FAILED]

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux centos6.3系统,手贱执行了chown -R apache:apache /,之后改了一些Starting HAL daemon:[FAILED]相关的知识,希望对你有一定的参考价值。

装系统时候我没分区,里面有大量数据想拷贝出来,不重装有办法恢复吗?如果没有需要改哪些权限才能改回来,我对着虚拟机改了一部分现在提示Starting HAL daemon:[FAILED],远程桌面登录不上去,急急急。。。。。。

你是把所有文件都给改了。文件倒是在。可以尝试着updat的方式装一下。看看文件(属性)能恢复不。你的那些文件也还在的。最好把配置文件留一份 参考技术A 。建议重装;因为你的是虚拟机。重装不是很浪费时间,其次,就算修复了 系统可能会不稳定的本回答被提问者采纳 参考技术B chown -R root.root /
看这个能不能挽救些追问

对比之前的权限改了一些,现在怎么把Starting HAL daemon:[FAILED]解决掉?

追答

看下日志为什么failed

参考技术C 你的apache httpd.conf文件是不是设置的daemon用户

linux centos6.8系统配置网络yum源

                                 linux centos6.8系统配置网络yum源

 

在本地配置好yum源之后,网络yum源一直提示阿里云镜像错误,然后查找了好多资料.找到了新镜像,希望能帮到遇到同样问题的人

2020年11月30日 centos6各大开源镜像站已经停止维护了 但是阿里源还是可以用的 因为他的centos-vault仓库里放了之前版本的centos的包

只需要在centos命令行界面下执行一下几条命令

sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo 
yum clean all
yum makecache

然后在现在你会发现速度还是之前的速度
       下面再附上这个repo文件的内容

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#
 
[base]
name=CentOS-6.10 - Base - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6
 
#released updates 
[updates]
name=CentOS-6.10 - Updates - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6
 
#additional packages that may be useful
[extras]
name=CentOS-6.10 - Extras - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6
 
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-6.10 - Plus - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6
 
#contrib - packages by Centos Users
[contrib]
name=CentOS-6.10 - Contrib - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6

以上是关于linux centos6.3系统,手贱执行了chown -R apache:apache /,之后改了一些Starting HAL daemon:[FAILED]的主要内容,如果未能解决你的问题,请参考以下文章

VMware下安装Linux(CentOs6.3)操作系统

linux下网速极慢 我的电脑上装有win8和centos6.3双系统。但是相同的网络环境(中国移动

CentOS环境下yum安装LAMP(Linux+Apache+Mysql+php)

手贱用EasyBCD删除了win10启动项怎么恢复

给VMware下的Linux扩展磁盘空间(以CentOS6.3为例)转

CH9434 嵌入式Linux与安卓系统驱动移植和使用教程