分享Apache 403 error, (13)Permission denied: access to / denied解决办法

CentOS系统

检查了一圈httpd.conf和目录权限,均没有发现问题。

最后,看了这篇文章,发现是因为系统启动了SELINUX导致的。

http://stackoverflow.com/questions/8816836/apache-403-error-13permission-denied-access-to-denied-fedora-16

关闭SELINUX

setenforce 0

vim /etc/selinux/config

修改

SELINUX=enforcing

改成

SELINUX=disabled

时间: 2024-09-20 18:45:42

分享Apache 403 error, (13)Permission denied: access to / denied解决办法的相关文章

sqlplus时报Linux-x86_64 Error: 13: Permission denied

在本机上非oracle用户运行sqlplus时,报以下错误:[cpdds@node1 ~]$ sqlplus cpdds_pdata/cpdds_pdata SQL*Plus: Release 10.2.0.4.0 - Production on 星期五 4月 27 13:43:16 2012 Copyright (c) 1982, 2007, Oracle.  All Rights Reserved. ERROR: ORA-01034: ORACLE not available ORA-271

Error initializing USB support: Other errors[-99]解决办法

最近一段时间在忙着练习红帽新版(rhel7)从rhce到rhca的8门课程的练习题目,所以最近一直在用kvm虚拟机做练习,不同于以往的全命令行界面操作,个别会涉及到图形下的问题,在通过virt-manager连接kvm虚拟机查看时,发现有如下报错:Error connecting to graphical console: Error initializing USB support: Other errors[-99] .     由于用不到usb设备,首先尝试通过该管理工具remove US

Fatal error: Out of memory (allocated 786432)提示解决办法

错误提示: Fatal error: Out of memory (allocated 786432) (tried to allocate 393216 bytes) in E:xxxxlibrariescommon.lib.php on line 3135 解决办法 一,在你程序页面加入  代码如下 复制代码 ini_set('memory_limit',"256M") 即可. 二,在php.ini中修改 打开php.ini 修改  代码如下 复制代码 memory_limit =

Apache日志中“指定的网络名不再可用”解决办法

错误分析 [Fri Mar 16 17:28:50 2007] [warn] (OS 64)指定的网络名不再可用. : winnt_accept: Asynchronous AcceptEx failed. AcceptEx() 是 Microsoft WinSock v2 API 一组提升网络效率 API 中的指令.而且在 Windows 上似乎蛮有可能出问 题的 解决办法 是在 httpd.conf 内加入 Win32DisableAcceptEx . Win32DisableAcceptE

Eclipse中编译Android项目工程失败,提示: Error in an XML file: aborting build 解决办法

问题: 在Eclipse中编写Android项目代码时,假设当前激活窗口是某个xml文件,此时,你按键Ctrl+F11或者F11,就会生成一个类似*.out.xml的文件,然后在console窗口提示一下错误: [2011-09-24 03:14:54 - HelloWorld] Error in an XML file: aborting build. [2011-09-24 03:14:54 - HelloWorld] res/layout/main.xml:0: error: Resour

Fatal error: Maximum execution time of 30 错误解决办法

错误提示 php 出现 Fatal error: Maximum execution time of 30 seconds exceeded in D:xxuserlogin.class.php on line 10的解决办法: 修改php.ini: max_execution_time = 300 时间,然后重起服务iis 或者在程序写 set_time_limit(时间); //0为无限制. max_execution_time = 30; Maximum execution time of

Fatal error: Cannot redeclare class 原因分析与解决办法

错误提示 Fatal error: Cannot redeclare class -. 从字面来看也很好理解,说明是重复定义了类,找了一下自己的代码,是因为存在同名的类导致的,修改了类名就好了. 原因分析 1.在同一个文件中重复声明了两次同名的类: 例如:    代码如下 复制代码 <?php   class Foo {}     // some code here     class Foo {}   ?>  在第二个 Foo 的地方就会报错. 解决:去掉第二个Foo,或者重命名. 为了防止

configure: error: OpenSSL libcrypto not found 报错解决办法

今天安装一个ss代理的时候发生一个报错,./configure提示如下: configure: error: OpenSSL libcrypto not found crypto是是OpenSSL 加密库[lib], 需要openssl-devel包. 解决办法: yum -y install openssl-devel  问题搞定.

Mysql错误:ERROR 1205 (HY000): Lock wait timeout exceeded解决办法

临时解决办法 执行mysql命令:show full processlist; 然后找出插入语句的系统id 执行mysql命令:kill id 在网络上找了想相关资料,这里摘录如下: 首先,查看数据库的进程信息: show full processlist; /*结果略,主要看id列的值*/ 再查看事物表: SELECT * FROM information_schema.INNODB_TRX\G; /*结果略,注意结果中的trx_mysql_thread_id部分的值*/ 查找对应的id,然后