免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2845 | 回复: 0
打印 上一主题 下一主题

权限系统崩溃?我的CentOS现在什么服务都起不来了。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-02 11:54 |只看该作者 |倒序浏览
昨天晚上修改了/home目录下一个文件的权限,然后又恢复了原状。
之后就发生了这样的问题。除了核心的几个服务(如SSHD)之外所有的服务都起不来了。
Apache2能起来,但是访问任何页面都是403,vsftpd能起来。但是登录后显示500 OOPS: cannot change directory
squid启动也出错
squid.out显示
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
         messages will be sent to 'stderr'.
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
         messages will be sent to 'stderr'.
2008/11/02 00:29:49| WARNING: Closing open FD    2
2008/11/02 00:29:49| Starting Squid Cache version 3.0.STABLE10 for i686-pc-linux-gnu...
2008/11/02 00:29:49| Process ID 3127
2008/11/02 00:29:49| With 1024 file descriptors available
2008/11/02 00:29:49| Performing DNS Tests...
2008/11/02 00:29:49| Successful DNS name lookup tests...
2008/11/02 00:29:49| parseEtcHosts: /etc/hosts: (13) Permission denied
2008/11/02 00:29:49| DNS Socket created at 0.0.0.0, port 37265, FD 4
2008/11/02 00:29:49| /etc/resolv.conf: (13) Permission denied
2008/11/02 00:29:49| Warning: Could not find any nameservers. Trying to use localhost
2008/11/02 00:29:49| Please check your /etc/resolv.conf file
2008/11/02 00:29:49| or use the 'dns_nameservers' option in squid.conf.
2008/11/02 00:29:49| helperOpenServers: Starting 5 'ncsa_auth' processes
2008/11/02 00:29:49| errorTryLoadText: '/usr/local/squid/share/errors/Simplify_Chinese/ERR_READ_TIMEOUT': (13) Permission denied
2008/11/02 00:29:49| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (13) Permission denied
FATAL: failed to find or read error text file.
Squid Cache (Version 3.0.STABLE10): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.006 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0

现在什么都用不了啊。
我开始以为是etc的权限问题。但是我对比了一下正常的CentOS,etc里面的权限全都正确啊。
请各位大大帮帮忙吧。我实在搞不定了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP