So I swapped to using WSGI with this apache config ....
WSGIScriptAlias / /home/user/python/djcode/cfServer/apache/django.wsgi
WSGIDaemonProcess site-1 threads=30
WSGIProcessGroup site-1
<Directory "/home/user/python/djcode/cfServer/apache">
AllowOverride None
Options None
Require all granted
</Directory>
and this django.wsgi
import os, sys
sys.path.append('/home/user/python/djcode')
os.environ['DJANGO_SETTINGS_MODULE'] = 'cfServer.settings'
os.environ['ORACLE_HOME'] = '/oracle/11gStdEd'
os.environ['PYTHON_EGG_CACHE'] = '/var/www/.python-eggs'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
and I get segmentation faults (debug level tracing from apache error log)
[Tue Mar 20 14:16:28.126341 2012] [core:notice] [pid 17487:tid 47401308446624] AH00051: child pid 17490 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump
[Tue Mar 20 14:16:28.126385 2012] [:info] [pid 17487:tid 47401308446624] mod_wsgi (pid=17490): Process 'site-2' has died, deregister and restart it.
[Tue Mar 20 14:16:28.126394 2012] [:info] [pid 17487:tid 47401308446624] mod_wsgi (pid=17490): Process 'site-2' has been deregistered and will no longer be monitored.
[Tue Mar 20 14:16:28.126826 2012] [:info] [pid 17846:tid 47401308446624] mod_wsgi (pid=17846): Starting process 'site-2' with uid=48, gid=48 and threads=25.
[Tue Mar 20 14:16:28.127268 2012] [:info] [pid 17846:tid 47401308446624] mod_wsgi (pid=17846): Initializing Python.
Back trace on core file ...
Core was generated by `/usr/local/apache2/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000036422cb2e6 in poll () from /lib64/libc.so.6
(gdb) bt
#0 0x00000036422cb2e6 in poll () from /lib64/libc.so.6
#1 0x00002b1c7a05dd79 in apr_poll (aprset=0x7fff13f01e40, num=1,
nsds=0x7fff13f01e94, timeout=0) at poll/unix/poll.c:120
#2 0x00002b1c7d5166d3 in wsgi_daemon_main (p=0x1257a138, daemon=0x12696218)
at mod_wsgi.c:11330
#3 0x00002b1c7d51851f in wsgi_start_process (p=0x1257a138, daemon=0x12696218)
at mod_wsgi.c:11969
#4 0x00002b1c7d518f50 in wsgi_start_daemons (pconf=0x1257a138,
ptemp=<value optimized out>, plog=<value optimized out>,
s=<value optimized out>) at mod_wsgi.c:12181
#5 wsgi_hook_init (pconf=0x1257a138, ptemp=<value optimized out>,
plog=<value optimized out>, s=<value optimized out>) at mod_wsgi.c:13755
#6 0x0000000000444c2c in ap_run_post_config (pconf=0x1257a138,
plog=0x125df538, ptemp=0x125a5348, s=0x125a3508) at config.c:101
#7 0x0000000000428734 in main (argc=3, argv=0x7fff13f02498) at main.c:765
Using WSGI briefly solved the original problem, in that I could see the complete admin page that was previously truncated but now nothing works - I get internal server error for all pages on the server.
Regards, ADN