[mod_python] problems with mod_python 3.1.3 with Apache 2.0.48 under OS X server 10.3.4

Sébastien Arnaud arnaudsj at mac.com
Fri Jun 11 12:02:22 EDT 2004


Hi,

I wondered if anybody had any trouble with mod_python under OS X Server 
10.3.4 (Panther)?

I compiled from source apache 2.0.48 via fink and compiled without any 
trouble mod_python. Nevertheless when I try to access a simple "Hello, 
World!" file, using the mod_python.publisher I get the following error 
in apache2 error_logs:

[Thu Jun 10 14:50:27 2004] [notice] caught SIGTERM, shutting down
[Thu Jun 10 14:50:30 2004] [notice] mod_python: Creating 32 session 
mutexes based on 6 max processes and 25 max threads.
[Thu Jun 10 14:50:30 2004] [notice] Apache/2.0.48 (Unix) 
mod_python/3.1.3 Python/2.3 configured -- resuming normal operations
[Thu Jun 10 14:50:55 2004] [notice] mod_python: (Re)importing module 
'mod_python.publisher'
[Thu Jun 10 14:50:57 2004] [notice] child pid 29534 exit signal Bus 
error (10)

Any subsequent attempts to call the same file (http://localhost/) 
results in the repetition of this line:
[Thu Jun 10 14:50:55 2004] [notice] mod_python: (Re)importing module 
'mod_python.publisher'
[Thu Jun 10 14:50:57 2004] [notice] child pid 29534 exit signal Bus 
error (10)

Thank you in advance for your help. I attached my apache2 conf file, 
which is very small and minimalistic for now.

Cheers,

Sébastien

"apache2.conf":

Listen 8080
ServerRoot /sw/var/apache2
ServerName localhost
DocumentRoot /sw/var/apache2/htdocs/python
User  nobody
Group nobody
LoadModule python_module /sw/lib/apache2/modules/mod_python.so
MaxRequestsPerChild 0
ErrorLog logs/error_log

<Directory />
     Options FollowSymLinks
     AllowOverride None
</Directory>

<Directory /sw/var/apache2/htdocs/python/>
         SetHandler mod_python
         PythonHandler mod_python.publisher
         PythonDebug On
</Directory>

<IfModule prefork.c>
MaxClients       150
StartServers     5
MinSpareServers  5
MaxSpareServers 10
</IfModule>

<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 155 bytes
Desc: This is a digitally signed message part
Url : http://modpython.org/pipermail/mod_python/attachments/20040611/65779ffc/PGP.bin


More information about the Mod_python mailing list