Is the directory '/home/hannaha' even readable to the user that Apache runs as.

Home directories aren't usually readable to others on Linux systems.

Graham

On 27 July 2012 04:05, Hannah Aizenman <[email protected]> wrote:
> Hi,
>
> I've scoured the docs and followed all the recommendations and keep getting
> the following:
> [Fri Jul 27 10:57:37.320727 2012] [core:error] [pid 19144:tid
> 140192357684992] AH00546: no record of generation 0 of exiting child 5051
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> ImportError: No module named site
>
> I compiled mod_wsgi (cloned from the hg repo like the instructions said)
> against a local install of python2.7 (using both the --with-python and
> LD_RUN arguments), and ldd says that mod_wsgi was compiled against 2.7 (the
> system python is 2.6)
>
> ldd ../modules/mod_wsgi.so
>     linux-vdso.so.1 =>  (0x00007fffb9df3000)
>     libpython2.7.so.1.0 => /home/hannaha/local/lib/libpython2.7.so.1.0
> (0x00007f329dc58000)
>     libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f329da3a000)
>     libdl.so.2 => /lib64/libdl.so.2 (0x00007f329d836000)
>     libutil.so.1 => /lib64/libutil.so.1 (0x00007f329d633000)
>     libm.so.6 => /lib64/libm.so.6 (0x00007f329d3ae000)
>     libc.so.6 => /lib64/libc.so.6 (0x00007f329d01c000)
>     /lib64/ld-linux-x86-64.so.2 (0x00007f329e265000)
>
> My configuration file is:
> WSGIScriptAlias /hello /home/hannaha/hello.wsgi
> <Directory /home/hannaha>
>            Order allow,deny
>            Allow from all
> </Directory>
>
> I've used mod_wsgi+apache on other projects and this is the first time I've
> hit this wall, so could I have just missed some compilation switch
> somewhere? apache was also installed from source, and it's info is:
> Server version: Apache/2.4.2 (Unix)
> Server built:   Jul 27 2012 05:24:43
> Server's Module Magic Number: 20120211:3
> Server loaded:  APR 1.4.6, APR-UTIL 1.4.1
> Compiled using: APR 1.4.6, APR-UTIL 1.4.1
> Architecture:   64-bit
> Server MPM:     event
>   threaded:     yes (fixed thread count)
>     forked:     yes (variable process count)
> Server compiled with....
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_SYSVSEM_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=256
>  -D HTTPD_ROOT="/usr/local/apache2"
>  -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
>  -D DEFAULT_PIDLOG="logs/httpd.pid"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_ERRORLOG="logs/error_log"
>  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/5-KNkaP3OjAJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to