LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-12-2010, 01:20 AM   #1
IHeartLinux
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Rep: Reputation: 0
EGGS???


My server is running Apache+Django with MySQLdb

I'm getting an error with my eggs! Please help!

I tried creating a /var/www/.python-eggs directory that my user was allowed to access, but it didn't remove the error.

I then tried to make a symbolic link as follows (while in /var/www/):
sudo ln -s /var/tmp/.python-eggs .python-eggs
but that also didn't remove the error...

So I'm really out of ideas. I heard something about fixing my httpd.conf by adding a PythonImport, but I had trouble understanding how to do that.

So please Linux masters, what is the easiest way to remove this problem?



_______________________________________________________

Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

[Errno 13] Permission denied: '/var/www/.python-eggs/MySQL_python-1.2.3-py2.6-linux-x86_64.egg-tmp'

The Python egg cache directory is currently set to:

/var/www/.python-eggs

Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory
 
Old 07-12-2010, 01:32 AM   #2
IHeartLinux
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Yeah, this is really troubling. I tried making the symbolic link again, and I can definitely perform:
touch /var/www/.python-eggs
This is making no sense
 
Old 07-12-2010, 03:16 AM   #3
IHeartLinux
LQ Newbie
 
Registered: Jul 2010
Posts: 8

Original Poster
Rep: Reputation: 0
OMG figured it out! Using a symbolic link worked once I did

sudo chmod 777 .python-eggs

Maybe not the safest thing in the world though
 
Old 01-29-2011, 07:48 PM   #4
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
EGG_CACHE Must be Writeable

You need to set up an area for the EGG_CACHE that can be written to by MySQL. My project's home directory was not such a place, unless I wanted to put MySQL into my project's group, or set permissions too lax. I opted to let the EGG_CACHE be /tmp. I also could have created a root directory writable by MySQL.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Finding Easter Eggs… LXer Syndicated Linux News 0 09-18-2009 12:30 PM
eggs! 144419855310001 General 23 01-31-2008 08:04 AM
EGGS OVER EASY for the noob cornbeef LinuxQuestions.org Member Intro 2 01-09-2006 04:18 PM
Formerly known as eggs scott_R General 3 01-26-2004 03:33 AM
compile easter eggs sarahan Linux - Software 0 01-09-2004 03:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration