Go watch:

http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations

That presentation explains a lot about permissions and other errors you can.

Recommend that before you even try and get Django running that you get a 
WSGI hello world script running. Use what is shown in:

  http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide

Graham

On Friday, March 11, 2011 7:46:31 AM UTC-5, balu wrote:
>
> Here is the error log sir. 
>
>
>
> [Wed Feb 09 22:23:25 2011] [notice] Apache/2.2.16 (Ubuntu) configured 
> -- resuming normal operations 
> [Wed Feb 09 23:28:09 2011] [notice] caught SIGTERM, shutting down 
> [Wed Mar 09 20:10:30 2011] [notice] Apache/2.2.16 (Ubuntu) configured 
> -- resuming normal operations 
> [Wed Mar 09 20:12:55 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Wed Mar 09 20:12:58 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Wed Mar 09 20:37:40 2011] [notice] caught SIGTERM, shutting down 
> [Wed Mar 09 20:37:41 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. 
> [Wed Mar 09 20:37:41 2011] [warn] mod_wsgi: Runtime using Python/ 
> 2.6.6. 
> [Wed Mar 09 20:37:41 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.2 Python/2.6.6 configured -- resuming normal operations 
> [Wed Mar 09 22:15:57 2011] [error] Exception KeyError: 
> KeyError(-1217283440,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Wed Mar 09 22:15:57 2011] [error] Exception KeyError: 
> KeyError(-1217283440,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Wed Mar 09 22:15:57 2011] [notice] caught SIGTERM, shutting down 
> [Wed Mar 09 22:15:58 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. 
> [Wed Mar 09 22:15:58 2011] [warn] mod_wsgi: Runtime using Python/ 
> 2.6.6. 
> [Wed Mar 09 22:15:58 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.2 Python/2.6.6 configured -- resuming normal operations 
> [Wed Mar 09 22:36:18 2011] [error] Exception KeyError: 
> KeyError(-1216181616,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Wed Mar 09 22:36:18 2011] [error] Exception KeyError: 
> KeyError(-1216181616,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Wed Mar 09 22:36:18 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 17:00:59 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. 
> [Thu Mar 10 17:00:59 2011] [warn] mod_wsgi: Runtime using Python/ 
> 2.6.6. 
> [Thu Mar 10 17:00:59 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.2 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 17:01:45 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to / denied 
> [Thu Mar 10 17:01:45 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to /favicon.ico denied 
> [Thu Mar 10 17:01:48 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to /favicon.ico denied 
> [Thu Mar 10 17:01:58 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to / denied 
> [Thu Mar 10 17:02:05 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to / denied 
> [Thu Mar 10 17:02:12 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to / denied 
> [Thu Mar 10 17:06:08 2011] [error] Exception KeyError: 
> KeyError(-1217029488,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:06:08 2011] [error] Exception KeyError: 
> KeyError(-1217029488,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:06:08 2011] [notice] SIGHUP received.  Attempting to 
> restart 
> [Thu Mar 10 17:06:08 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. 
> [Thu Mar 10 17:06:08 2011] [warn] mod_wsgi: Runtime using Python/ 
> 2.6.6. 
> [Thu Mar 10 17:06:08 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.2 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 17:06:24 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to / denied 
> [Thu Mar 10 17:06:30 2011] [error] Exception KeyError: 
> KeyError(-1217029488,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:06:30 2011] [error] Exception KeyError: 
> KeyError(-1217029488,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:06:30 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 17:06:47 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. 
> [Thu Mar 10 17:06:47 2011] [warn] mod_wsgi: Runtime using Python/ 
> 2.6.6. 
> [Thu Mar 10 17:06:47 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.2 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 17:13:32 2011] [error] [client 127.0.0.1] (13)Permission 
> denied: access to / denied 
> [Thu Mar 10 17:13:49 2011] [error] Exception KeyError: 
> KeyError(-1217340784,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:13:49 2011] [error] Exception KeyError: 
> KeyError(-1217340784,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:13:49 2011] [notice] SIGHUP received.  Attempting to 
> restart 
> [Thu Mar 10 17:13:49 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. 
> [Thu Mar 10 17:13:49 2011] [warn] mod_wsgi: Runtime using Python/ 
> 2.6.6. 
> [Thu Mar 10 17:13:49 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.2 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 17:23:21 2011] [error] Exception KeyError: 
> KeyError(-1217340784,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:23:21 2011] [error] Exception KeyError: 
> KeyError(-1217340784,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 17:23:21 2011] [notice] SIGHUP received.  Attempting to 
> restart 
> [Thu Mar 10 17:23:21 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. 
> [Thu Mar 10 17:23:21 2011] [warn] mod_wsgi: Runtime using Python/ 
> 2.6.6. 
> [Thu Mar 10 17:23:21 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.2 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 17:32:22 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/exam 
> [Thu Mar 10 17:32:24 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/exam 
> [Thu Mar 10 17:32:52 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/exam 
> [Thu Mar 10 17:32:52 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 17:32:55 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 17:33:11 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/exam 
> [Thu Mar 10 20:52:32 2011] [error] Exception KeyError: 
> KeyError(-1217340784,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 20:52:32 2011] [error] Exception KeyError: 
> KeyError(-1217340784,) in <module 'threading' from '/usr/lib/python2.6/ 
> threading.pyc'> ignored 
> [Thu Mar 10 20:52:32 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 21:06:51 2011] [notice] Apache/2.2.16 (Ubuntu) configured 
> -- resuming normal operations 
> [Thu Mar 10 21:07:10 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/exam 
> [Thu Mar 10 21:07:12 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 21:07:19 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 21:07:44 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 21:07:46 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 21:08:42 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 21:09:18 2011] [notice] Apache/2.2.16 (Ubuntu) configured 
> -- resuming normal operations 
> [Thu Mar 10 21:15:34 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 22:44:32 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 22:45:27 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 22:45:30 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/favicon.ico 
> [Thu Mar 10 22:45:33 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/exam 
> [Thu Mar 10 22:45:37 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/exam 
> [Thu Mar 10 22:47:00 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 22:50:24 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 22:51:14 2011] [crit] [client 127.0.0.1] (13)Permission 
> denied: /home/balu/Django/workspace/.htaccess pcfg_openfile: unable to 
> check htaccess file, ensure it is readable 
> [Thu Mar 10 22:51:22 2011] [crit] [client 127.0.0.1] (13)Permission 
> denied: /home/balu/Django/workspace/.htaccess pcfg_openfile: unable to 
> check htaccess file, ensure it is readable 
> [Thu Mar 10 22:56:15 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 22:56:16 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 22:56:34 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Thu Mar 10 22:56:39 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Thu Mar 10 22:56:47 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Thu Mar 10 22:56:53 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Thu Mar 10 23:14:14 2011] [notice] caught SIGTERM, shutting down 
> [Thu Mar 10 23:14:15 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Thu Mar 10 23:14:20 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Thu Mar 10 23:14:25 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Thu Mar 10 23:14:36 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Thu Mar 10 23:34:17 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 09:20:43 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 09:21:06 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 09:22:37 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 09:22:38 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 09:22:58 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 09:23:11 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 14:14:55 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 14:15:18 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 14:21:11 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 14:21:31 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:21:31 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:21:32 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:21:32 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:24:53 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:26:51 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 14:26:52 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 14:26:59 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:27:16 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:47:50 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 14:47:51 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 14:48:07 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 14:59:31 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 14:59:39 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 14:59:42 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 15:01:36 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 15:01:37 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 15:02:00 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 15:02:19 2011] [notice] caught SIGTERM, shutting down 
> [Fri Mar 11 15:05:57 2011] [notice] Apache/2.2.16 (Ubuntu) mod_wsgi/ 
> 3.3 Python/2.6.6 configured -- resuming normal operations 
> [Fri Mar 11 15:06:12 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 15:06:20 2011] [crit] [client ::1] (13)Permission denied: / 
> home/balu/Django/workspace/.htaccess pcfg_openfile: unable to check 
> htaccess file, ensure it is readable 
> [Fri Mar 11 15:07:25 2011] [crit] [client 127.0.0.1] (13)Permission 
> denied: /home/balu/Django/workspace/.htaccess pcfg_openfile: unable to 
> check htaccess file, ensure it is readable 
> [Fri Mar 11 15:07:29 2011] [crit] [client 127.0.0.1] (13)Permission 
> denied: /home/balu/Django/workspace/.htaccess pcfg_openfile: unable to 
> check htaccess file, ensure it is readable 
> [Fri Mar 11 15:09:04 2011] [notice] caught SIGTERM, shutting down 
>
>
>
> On Mar 11, 5:40 pm, Xavier Ordoquy <xord...@linovia.com> wrote: 
> > Le 11 mars 2011 à 13:25, Kenneth Gonsalves a écrit : 
> > 
> > > On Fri, 2011-03-11 at 04:17 -0800, balu wrote: 
> > >> I tried to deploy django with the following. But I couldn't able 
> > >> succeed. Please let me know the exact steps in configuring apache 
> > >> server, configuring mod_wsgi. 
> > 
> > >> I had gone through the official site. But couldn't understand it 
> > >> completely the configuration process. 
> > 
> > >> apache, mod_wsgi, nginx, mysql on ubuntu 10.10 
> > 
> > > first make up your mind - do you want apache or nginx? You cannot have 
> > > both. Secondly post the configuration you have tried and post the 
> *full* 
> > > error messages. 
> > 
> > Actually, you can have apache/mod_wsgi behind a nginx because of static 
> files. 
> > 
> > Anyway, without the errors, there's little we can do. 
> > The documentation (
> http://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/) gives the 
> directions. There isn't much to do to get django working with mod_wsgi. 
> > 
> > Steps are: 
> > - install apache 
> > - install mod_wsgi 
> > - configure both 
> > - configure your virtual host 
> > - follow the documentation 
> > 
> > Regards, 
> > Xavier.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to