Hi Ronaldo,

It is not a python script, just a shell script that either runs 'python
manage.py runfcgi' with various options (the errorlog being one), or kills
the django process if needed (I guess like you are doing with "kill -HUP
dispatch.pid"). 

I think you need to speak to the person who set up your webserver and get
them to specify an errorlog file, because it sounds like it is just throwing
an error. Or at least find out how they are starting the webserver.

Em

> -----Original Message-----
> From: django-users@googlegroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo 
> Zacarias Afonso
> Sent: 22 August 2008 13:45
> To: django-users@googlegroups.com
> Subject: Re: 500.shtml
> 
> 
> Hi Emily,
> 
> Well, in fact I don't start/stop/restart my webserver. As I 
> am using a shared host, the company where I host my website 
> do those things for me.
> When I do some modification to my site I only have to issue a 
> "kill -HUP dispatch.pid" command. Some thing that I notice is 
> that when I try to access the admin page, the dispach is 
> killed (I don't know why).
> Can you send me the python script you have that log things for you?
> 
> ps) I don't know if that is the right way to deploy jdango, 
> I'm just learning it.
> 
> Thank you very much
> Ronaldo.
> 
> On Fri, Aug 22, 2008 at 4:54 AM, Emily Rodgers 
> <[EMAIL PROTECTED]> wrote:
> >
> > How do you start / stop / restart your webserver? If you are using 
> > fastcgi, you may not have it set up to give you an error log.
> >
> > I have a script that starts / stops it, and I have 
> specified and error 
> > log for the django web server logs, and sent any errors 
> with my script 
> > commands to a file so that if it doesn't work I can see why:
> >
> > python ./manage.py runfcgi [...] errlog=/path/to/weblog >> 
> > runfcgi_errors
> > 2>&1
> >
> > Em
> >
> >> -----Original Message-----
> >> From: django-users@googlegroups.com
> >> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Ronaldo Z. Afonso
> >> Sent: 22 August 2008 01:29
> >> To: django-users@googlegroups.com
> >> Subject: Re: 500.shtml
> >>
> >>
> >> Hi Erik,
> >>
> >> I'm using a shared host with fast-cgi ...
> >> I donĀ“t know if I have a log ... I'll ask my hosting 
> service provider.
> >>
> >>
> >> On Fri, 2008-08-22 at 03:24 +0300, Erik Allik wrote:
> >> > Did you check the web server log? If you're using the built
> >> in server,
> >> > just look at the console output it produces. Because we
> >> can't help you
> >> > with the information you provided.
> >> >
> >> > Erik
> >> >
> >> >
> >> > On 22.08.2008, at 3:05, Ronaldo Z. Afonso wrote:
> >> >
> >> > >
> >> > > Hi all,
> >> > >
> >> > > This is my first post to this list. I'm trying to 
> access an Admin 
> >> > > page and I'm being redirected to a 500.shtml page. Does
> >> anyone know
> >> > > what could be happening?
> >> > > I'm using Django version 1.0.beta_1.
> >> > > Thanks in advance ...
> >> > >
> >> > > Ronaldo.
> >> > >
> >> > >
> >> > > >
> >> >
> >> >
> >> > >
> >>
> >>
> >> >
> >>
> >
> >
> >
> > >
> >
> 
> > 
> 



--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to