Solved

Apache Error Log - [Errno 13] Permission denied:

Posted on 2009-03-29
5
1,083 Views
Last Modified: 2012-05-06
I created a folder in /var/www called google.  THis is where my adwords api code is.
When I try to run a python web service that call google python api I get this message in the error logs...

 stream = open(filename, mode)
IOError
 [Errno 13] Permission denied: '/var/www/google/development/awapi_python_lib_4.3.1/logs/soap_xml.log'

II did a chmod 755 for /var/www/google and did not workk
I added <Directory /var/www/google/>
   Options FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
 to my http.conf file and it did not work.

What do I do?

0
Comment
Question by:dmontgom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 41

Expert Comment

by:HonorGod
ID: 24012821
It is not /var/www/google for which access is needed, it is
/var/www/google/development/awapi_python_lib_4.3.1/logs
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 175 total points
ID: 24012824
Changing the access permissions to /var/www/google does not propagate down the directory hierarchy (unless, of course, the command that you issued is told to do so).

So, please check the access permissions for
/var/www/google/development/awapi_python_lib_4.3.1/logs
0
 

Author Comment

by:dmontgom
ID: 24016684
Hi,

Thanks...what is the command to change the perrmissions?

is it chmod -R 755  var/www/google/ ?

Thanks
0
 
LVL 9

Assisted Solution

by:unassassinable
unassassinable earned 75 total points
ID: 24057187
It would be best to only assign the permission for the folder/file that is needed...not all subsequent folders/files.  

chmod 755 /var/www/google/development/awapi_python_lib_4.3.1/logs   should take care of it
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 24305521
Thanks for the grade & points.  Sorry I missed the follow up question.

Good luck & have  a great day
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question