[root@subversion logs]# service httpd start
Starting httpd: (13)Permission denied: httpd: could not open error log file /opt/uploads/discuz2.5/logs/error_log.
Unable to open logs
[FAILED]
问题来源是selinux 挡住了,只要关闭即可
临时关闭selinux:
setenforce 0 ##设置SELinux 成为permissive模式
##setenforce 1 设置SELinux 成为enforcing模式
永久关闭:
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
重启机器即可
附:getenforce命令可查看selinux状态