Gregory (Grisha) Trubetskoy
grisha at modpython.org
Thu Mar 18 10:34:42 EST 2004
First I'd verify that mod_python is the problem, i.e. if you remove LoadModule, does httpd then start OK? Second, I'd try to compile it without the customized Python if possible. I don't think it's the problem, but who knows. Another thing to look at is the ipc resources with the ipcs command - I don't remember whether Apache uses system v ipc on RH9, but if it does, it's possible that there are no more locks/semaphores available, especially if httpd quits abnormally. You can clean them up with ipcrm (or by rebooting the server if you're lazy). But if Apache does NOT use sysv ipc on RH9, ignore this paragraph. :-) Grisha On Thu, 18 Mar 2004, Vitaliy Yermolenko wrote: > > That just means that you're not using a threaded MPM... Are you sure there > > is nothing else in the log files? Do you have a .core file somewhere > > because httpd crashed? Does httpd appear to be running (i.e. does ps -ax > > show it?) I believe several people have test mod_python on RH9, so it > > should work OK. > > Neither core dumps nor anything in logs, see below: > > ROOT # pwd > /usr/local/apps/apache/httpd/bin > ROOT # ./apachectl -k start -e debug > [Thu Mar 18 17:11:44 2004] [debug] mod_so.c(290): loaded module python_module > ROOT # ps -fewwwwwwwww|grep http > root 8440 18551 0 17:11 pts/13 00:00:00 grep http > ROOT # cat ../logs/error_log > [Thu Mar 18 17:11:44 2004] [debug] mod_so.c(290): loaded module python_module > [Thu Mar 18 17:11:44 2004] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads. > ROOT # > > Could it be reason, when I have Python 2.3.3, installed in customized place (I used ./configure --prefix=/usr/local/apps/apache/httpd-2.0.46/modules --with-apxs=/usr/local/apps/apache/httpd/bin/apxs --with-python=/usr/local/apps/python/bin/python)? > > Could I activate some additional debugging info? > > Thanks. > > -+--> > Regards, > Vitaliy Yermolenko. >
|