Questions tagged [mod-python]

36 questions
8
votes
5 answers

Why do I get error, Invalid command 'PythonHandler'?

I'm trying to deploy a Django application, but I've hit a brick wall. On Debian (latest), I've run these commands so far: apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-python…
Nick Bolton
  • 5,016
  • 12
  • 51
  • 62
5
votes
5 answers

Trac with mod_python slow?

I have some Trac installations running on my Ubuntu/Apache web server and I've noticed that when I monitor the CPU usage while accessing Trac pages that it is not uncommon for the CPU to spike up to a 100%. It concerns me that this happens with just…
Luke
  • 3,756
  • 7
  • 35
  • 39
5
votes
1 answer

how to configure ISPConfig for mod_python or mod_wsgi?

how to configure ISPConfig for mod_python or mod_wsgi for django like apps deployement?
shahjapan
  • 131
  • 1
  • 13
3
votes
2 answers

ip_conntrack_count has way too many connections

The conntrack table on my server has over 1.2 million connections, I keep bumping up the limit but the table just continues to grow (but not monotonically -- it does go down sometimes). $ cat…
Dan
  • 31
  • 1
  • 2
3
votes
2 answers

How to make apache to run python scripts using MOD_WSGI or MOD_PYTHON in RHEL6?

I am trying to make the apache to run python scripts. I have MOD_WSGI , Apache , Python installed on RHEL6. I even edited httpd.conf file to include these lines. Options Indexes FollowSymLinks MultiViews ExecCGI …
ASKN
  • 133
  • 1
  • 1
  • 7
1
vote
0 answers

syslog-ng not recognizing "python" as a parser keyword

( Yes, I've seen syslog-ng does not recognize "python" keyword . However, 1) the mentioned solution doesn't help me because I checked and mod-python is loaded, and 2) it applies to file destination rather than the parser) After having some trouble…
Shadur
  • 1,297
  • 1
  • 10
  • 20
1
vote
4 answers

mod_python with Apache Failures

I'm having an issue with mod_python and Apache, and I'm pretty certain I know what the problem is, but I'd like a bit of reassurance. I currently have a situation where I'm working with a very small VM with just 256M of RAM. Now MySQL and Apache run…
f4nt
  • 859
  • 10
  • 9
1
vote
1 answer

apache configuration for cohosting mod_python and php based apps

I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is installed and configured. We don't have a domain name as in example.com. Just IP address. So my apache .conf file looks like this ServerAdmin…
Ankur Gupta
  • 230
  • 2
  • 8
1
vote
1 answer

Python version mismatch, expected '2.6.5+', found '2.6.6'

I have this error that comes up every time I do an apache2 restart and am just wondering if anyone can shed some light on the issue. Is it something I even need to worry about at all? I have had it for a while with no problems, but had a server…
jezhug
  • 145
  • 1
  • 8
1
vote
0 answers

Apache conf changes when migrating django project from mod_python to mod_wsgi

Not sure if this is the right place to ask this question, but I'm migrating a django project from mod_python to mod_wsgi and I want to make sure I have my apache configuration correct. The old configuration looks like this: DocumentRoot…
thomascirca
  • 133
  • 3
1
vote
2 answers

python version change

I am working on centOS 5 Server with python's version 2.4.3 Now i installed python 2.5 (got command from SF) from link as wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz tar fxz Python-2.5.2.tgz cd Python-2.5.2 ./configure make make…
Astha
  • 243
  • 2
  • 6
  • 15
1
vote
2 answers

Python on CentOS 5.x

CentOS 5.x comes with python 2.4 preinstalled. I'd like to use a newer version, but I don't want to break anything. How should I install a newer version without causing problems? How can I force mod_python to use newer python, instead of 2.4 ?
monkey
  • 13
  • 2
1
vote
1 answer

What's happening when Apache's httpd %mem climbs 20+ and the CPU's %wa is running high?

I'm encountering unfamiliar Apache symptoms and I'm curious if anyone here knows how to diagnose them. I've got a pair of app servers running mod_python and Apache, recently upgraded to Django 1.2.3. They plug into a db server that runs PostGIS and…
palewire
  • 11
  • 1
1
vote
1 answer

apache2 slow responding (debian)

I'm running an apache2 2.2.9 webserver with modpython and mpm_worker_module. The current config for the mpm is ServerLimit 32 StartServers 10 MaxClients 800 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild …
baloo
  • 135
  • 1
  • 5
1
vote
4 answers

mod _python and Python 2.6

Is there anyway of getting mod python to run on the latest version of python, or do i have to downgrade my python installation to 2.5.5?
richzilla
  • 205
  • 1
  • 3
  • 13
1
2 3