已解决 RPM安装包出现chcon: failed to get security context of `/var/www/html/': No data available
Preparing...                ########################################### [100%]
   1:zentaopms              ########################################### [100%]
chcon: failed to get security context of `/var/www/html/': No data available
zentaopms has been successfully installed.

Please restart httpd and visit http://localhost/zentao.

————————————————————————————————————————

访问网页显示:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.15 (Red Hat) Server at 10.32.8.22 Port 80
禅道版本 7.1.stable 源码包
操作系统 CentOS
客户端浏览器 Chrome

提问者: jdkleo 悬赏:5 日期: 2015-05-21 09:37:49 答案:1 点击:5722

获取技术支持

QQ: 电话:
备注
注,非root账号,但具有root组权限,是否由此引起?
设置备注
答案列表
2015/05/21
把selinux关闭再试试。
2015/05/21
确认selinux为关闭状态:[root@Wmsfe2 ~]# /usr/sbin/sestatus -v
SELinux status: disabled
[root@Wmsfe2 ~]# getenforce
Disabled
2015/05/22
再确认一下文件的读写权限 apache是否有读写权限,还是不行的话 推荐用禅道源码包进行安装。