Solved

Apache Error Log - [Errno 13] Permission denied:

Posted on 2009-03-29
5
1,063 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now