Hello,

I am sorry, as I was in very urgent, I just re installed Ubuntu and
along with it apache2 + wsgi.
Now it is working properly.

**Thank you very much for your patience.**

On May 3, 10:34 pm, Graham Dumpleton <[email protected]>
wrote:
> I can only think of two things.
>
> 1. Where you have placed WSGIScriptAlias means it is being loaded
> before wsgi.load is included. This is doubtful based on you saying it
> is in default site definition.
>
> 2. You have managed to include some hidden control characters or odd
> unicode characters in the WSGIScriptAlias line.
>
> I would suggest the following as first step.
>
> 1. Comment out WSGIScriptAlias line.
>
> 2. In wsgi.load add a line:
>
>    XXX
>
> and do a config test.
>
> 'XXX' is an error and Apache should thus give an error. If it doesn't,
> then wsgi.load isn't being loaded for some reason.
>
> 3. If does error, then get rid of the 'XXX' and in site default file add:
>
>   <IfModule mod_wsgi.c>
>   XXX
>   </IfModule>
>
> Do config test again. If that doesn't error, then mod_wsgi not being
> loaded by time default site file loaded.
>
> Graham
>
> On 4 May 2011 11:48, tan3 <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hello Graham,
>
> > this is the content of wsgi.load
> > LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so
>
> > I even reloaded , stopped and did all that with apache. Is it
> > something wrong with my System as in the Operating system not getting
> > installed or is it corrupt?
>
> > Thanks for your patience.. I am thinking to reinstall everything and
> > start from scratch. Will i proceed?
>
> > Nagaraj
>
> > On May 3, 4:45 pm, Graham Dumpleton <[email protected]>
> > wrote:
> >> Have you tried doing a complete stop and then start of Apache and not
> >> just a reload?
>
> >> A reload is actually just a restart which doesn't actually shutdown
> >> Apache. Usually a restart is all that is needed, but a complete
> >> stop/start is worth a try.
>
> >> Also post the contents of the wsgi.load file as I asked previously.
>
> >> Graham
>
> >> On 3 May 2011 21:39, tan3 <[email protected]> wrote:
>
> >> > I am sorry for not replying correctly.
>
> >> > I did use this command
> >> > APACHE_RUN_USER=www-data APACHE_RUN_GROUP=www-data /usr/sbin/apache2 -
> >> > M
> >> > and got the wsgi_module shown
>
> >> > here is its result :
> >> > Loaded Modules:
> >> >  core_module (static)
> >> >  log_config_module (static)
> >> >  logio_module (static)
> >> >  mpm_worker_module (static)
> >> >  http_module (static)
> >> >  so_module (static)
> >> >  alias_module (shared)
> >> >  auth_basic_module (shared)
> >> >  authn_file_module (shared)
> >> >  authz_default_module (shared)
> >> >  authz_groupfile_module (shared)
> >> >  authz_host_module (shared)
> >> >  authz_user_module (shared)
> >> >  autoindex_module (shared)
> >> >  cgid_module (shared)
> >> >  deflate_module (shared)
> >> >  dir_module (shared)
> >> >  env_module (shared)
> >> >  mime_module (shared)
> >> >  negotiation_module (shared)
> >> >  reqtimeout_module (shared)
> >> >  setenvif_module (shared)
> >> >  status_module (shared)
> >> >  wsgi_module (shared)
> >> > Syntax OK
>
> >> > and the contents of
> >> > /etc/apache2/mods-available are :
> >> > total 396
> >> > 12 drwxr-xr-x 2 root root 12288 2011-05-02 17:37 .
> >> >  4 drwxr-xr-x 7 root root  4096 2011-05-02 17:46 ..
> >> >  4 -rw-r--r-- 1 root root   332 2010-11-19 02:46 actions.conf
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 actions.load
> >> >  4 -rw-r--r-- 1 root root   815 2010-11-19 02:46 alias.conf
> >> >  4 -rw-r--r-- 1 root root    62 2010-11-19 02:46 alias.load
> >> >  4 -rw-r--r-- 1 root root    60 2010-11-19 02:46 asis.load
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 auth_basic.load
> >> >  4 -rw-r--r-- 1 root root    74 2010-11-19 02:46 auth_digest.load
> >> >  4 -rw-r--r-- 1 root root    74 2010-11-19 02:46 authn_alias.load
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 authn_anon.load
> >> >  4 -rw-r--r-- 1 root root    85 2010-11-19 02:46 authn_dbd.load
> >> >  4 -rw-r--r-- 1 root root    70 2010-11-19 02:46 authn_dbm.load
> >> >  4 -rw-r--r-- 1 root root    78 2010-11-19 02:46 authn_default.load
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 authn_file.load
> >> >  4 -rw-r--r-- 1 root root    90 2010-11-19 02:46 authnz_ldap.load
> >> >  4 -rw-r--r-- 1 root root    70 2010-11-19 02:46 authz_dbm.load
> >> >  4 -rw-r--r-- 1 root root    78 2010-11-19 02:46 authz_default.load
> >> >  4 -rw-r--r-- 1 root root    82 2010-11-19 02:46 authz_groupfile.load
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 authz_host.load
> >> >  4 -rw-r--r-- 1 root root    74 2010-11-19 02:46 authz_owner.load
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 authz_user.load
> >> >  4 -rw-r--r-- 1 root root  3265 2010-11-19 02:46 autoindex.conf
> >> >  4 -rw-r--r-- 1 root root    70 2010-11-19 02:46 autoindex.load
> >> >  4 -rw-r--r-- 1 root root    62 2010-11-19 02:46 cache.load
> >> >  4 -rw-r--r-- 1 root root    70 2010-11-19 02:46 cern_meta.load
> >> >  4 -rw-r--r-- 1 root root    69 2010-11-19 02:46 cgid.conf
> >> >  4 -rw-r--r-- 1 root root    60 2010-11-19 02:46 cgid.load
> >> >  4 -rw-r--r-- 1 root root    58 2010-11-19 02:46 cgi.load
> >> >  4 -rw-r--r-- 1 root root    76 2010-11-19 02:46 charset_lite.load
> >> >  4 -rw-r--r-- 1 root root    37 2010-11-19 02:46 dav_fs.conf
> >> >  4 -rw-r--r-- 1 root root    79 2010-11-19 02:46 dav_fs.load
> >> >  4 -rw-r--r-- 1 root root    58 2010-11-19 02:46 dav.load
> >> >  4 -rw-r--r-- 1 root root    68 2010-11-19 02:46 dav_lock.load
> >> >  4 -rw-r--r-- 1 root root    58 2010-11-19 02:46 dbd.load
> >> >  4 -rw-r--r-- 1 root root   438 2010-11-19 02:46 deflate.conf
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 deflate.load
> >> >  4 -rw-r--r-- 1 root root   122 2010-11-19 02:46 dir.conf
> >> >  4 -rw-r--r-- 1 root root    58 2010-11-19 02:46 dir.load
> >> >  4 -rw-r--r-- 1 root root   604 2010-11-19 02:46 disk_cache.conf
> >> >  4 -rw-r--r-- 1 root root    89 2010-11-19 02:46 disk_cache.load
> >> >  4 -rw-r--r-- 1 root root    64 2010-11-19 02:46 dump_io.load
> >> >  4 -rw-r--r-- 1 root root    58 2010-11-19 02:46 env.load
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 expires.load
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 ext_filter.load
> >> >  4 -rw-r--r-- 1 root root    89 2010-11-19 02:46 file_cache.load
> >> >  4 -rw-r--r-- 1 root root    64 2010-11-19 02:46 filter.load
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 headers.load
> >> >  4 -rw-r--r-- 1 root root    62 2010-11-19 02:46 ident.load
> >> >  4 -rw-r--r-- 1 root root    68 2010-11-19 02:46 imagemap.load
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 include.load
> >> >  4 -rw-r--r-- 1 root root   408 2010-11-19 02:46 info.conf
> >> >  4 -rw-r--r-- 1 root root    60 2010-11-19 02:46 info.load
> >> >  4 -rw-r--r-- 1 root root   176 2010-11-19 02:46 ldap.conf
> >> >  4 -rw-r--r-- 1 root root    60 2010-11-19 02:46 ldap.load
> >> >  4 -rw-r--r-- 1 root root    76 2010-11-19 02:46 log_forensic.load
> >> >  4 -rw-r--r-- 1 root root   185 2010-11-19 02:46 mem_cache.conf
> >> >  4 -rw-r--r-- 1 root root    87 2010-11-19 02:46 mem_cache.load
> >> >  8 -rw-r--r-- 1 root root  7411 2010-11-19 02:46 mime.conf
> >> >  4 -rw-r--r-- 1 root root    60 2010-11-19 02:46 mime.load
> >> >  4 -rw-r--r-- 1 root root    81 2010-11-19 02:46 mime_magic.conf
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 mime_magic.load
> >> >  4 -rw-r--r-- 1 root root   666 2010-11-19 02:46 negotiation.conf
> >> >  4 -rw-r--r-- 1 root root    74 2010-11-19 02:46 negotiation.load
> >> >  4 -rw-r--r-- 1 root root    87 2010-11-19 02:46 proxy_ajp.load
> >> >  4 -rw-r--r-- 1 root root   355 2010-11-19 02:46 proxy_balancer.conf
> >> >  4 -rw-r--r-- 1 root root    97 2010-11-19 02:46 proxy_balancer.load
> >> >  4 -rw-r--r-- 1 root root   803 2010-11-19 02:46 proxy.conf
> >> >  4 -rw-r--r-- 1 root root    95 2010-11-19 02:46 proxy_connect.load
> >> >  4 -rw-r--r-- 1 root root   141 2010-11-19 02:46 proxy_ftp.conf
> >> >  4 -rw-r--r-- 1 root root    87 2010-11-19 02:46 proxy_ftp.load
> >> >  4 -rw-r--r-- 1 root root    89 2010-11-19 02:46 proxy_http.load
> >> >  4 -rw-r--r-- 1 root root    62 2010-11-19 02:46 proxy.load
> >> >  4 -rw-r--r-- 1 root root    89 2010-11-19 02:46 proxy_scgi.load
> >> >  4 -rw-r--r-- 1 root root    64 2010-03-22 03:51 python.load
> >> >  4 -rw-r--r-- 1 root root   429 2010-11-19 02:46 reqtimeout.conf
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 reqtimeout.load
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 rewrite.load
> >> >  4 -rw-r--r-- 1 root root  1211 2010-11-19 02:46 setenvif.conf
> >> >  4 -rw-r--r-- 1 root root    68 2010-11-19 02:46 setenvif.load
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 speling.load
> >> >  4 -rw-r--r-- 1 root root  2750 2010-11-19 02:46 ssl.conf
> >> >  4 -rw-r--r-- 1 root root    58 2010-11-19 02:46 ssl.load
> >> >  4 -rw-r--r-- 1 root root   753 2010-11-19 02:46 status.conf
> >> >  4 -rw-r--r-- 1 root root    64 2010-11-19 02:46 status.load
> >> >  4 -rw-r--r-- 1 root root    72 2010-11-19 02:46 substitute.load
> >> >  4 -rw-r--r-- 1 root root    64 2010-11-19 02:46 suexec.load
> >> >  4 -rw-r--r-- 1 root root    70 2010-11-19 02:46 unique_id.load
> >> >  4 -rw-r--r-- 1 root root   604 2010-11-19 02:46 userdir.conf
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 userdir.load
> >> >  4 -rw-r--r-- 1 root root    70 2010-11-19 02:46 usertrack.load
> >> >  4 -rw-r--r-- 1 root root    66 2010-11-19 02:46 version.load
> >> >  4 -rw-r--r-- 1 root root    74 2010-11-19 02:46 vhost_alias.load
> >> >  8 -rw-r--r-- 1 root root  5055 2010-05-14 06:02 wsgi.conf
> >> >  4 -rw-r--r-- 1 root root    60 2010-05-14 06:02 wsgi.load
>
> >> > and
> >> > /etc/apache2/mods-enabled are :
> >> > total 8
> >> > 4 drwxr-xr-x 2 root root 4096 2011-05-02 18:08 .
> >> > 4 drwxr-xr-x 7 root root 4096 2011-05-02 17:46 ..
> >> > 0 lrwxrwxrwx 1 root root   28 2011-04-27 04:16 alias.conf -> ../mods-
> >> > available/alias.conf
> >> > 0 lrwxrwxrwx 1 root root   28 2011-04-27 04:16 alias.load -> ../mods-
> >> > available/alias.load
> >> > 0 lrwxrwxrwx 1 root root   33 2011-04-27
>
> ...
>
> read more »

-- 
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