弓长三金 发表于 2018-2-5 14:10:18

CENTOS7安装ITOP报错

安装完成后,将ITOP拷贝到时 /var/www/html/itop/web目录,进入浏览器提示如下: 4 Error(s), 0 Warning(s).

The directory '/var/www/html/itop/web/log' exists but is not writable for the application.
The directory '/var/www/html/itop/web/env-production' exists but is not writable for the application.
The directory '/var/www/html/itop/web/conf' exists but is not writable for the application.
The directory '/var/www/html/itop/web/data' exists but is not writable for the application.

问题在于这4个目录已在此目录下建立,并赋予权限
mkdir -p /var/www/html/itop/web/conf
chown -R apache:apache /var/www/html/itop/web/conf

请问下这是会情况,是哪里没做吗?

弓长三金 发表于 2018-2-5 14:37:06

查看了之前的帖子,原来是没有设置SELinux权限导致
setsebool -P httpd_unified 1
执行后故障排除

admin 发表于 2018-2-6 13:15:13

xiaowan1109 发表于 2018-5-10 17:47:20

chmod -R 777 html
这很明显是访问权限的问题
页: [1]
查看完整版本: CENTOS7安装ITOP报错