public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Error Code 431
@ 2003-09-10 13:40 Prashanth Guduru
  2003-09-10 15:09 ` Yngve Svendsen
  2003-09-14  8:51 ` Andrew J. Gray
  0 siblings, 2 replies; 7+ messages in thread
From: Prashanth Guduru @ 2003-09-10 13:40 UTC (permalink / raw)
  To: help-gnats

Hi,

I have gnats-4.0 installed and have gnatsd running on
a machine. I have gnatsweb-4.0 setup on my webserver
machine and have setup the gnatsweb.html
appropriately.
I now have created 4 databases and whenever anyone
tries to create a PR the gnats.lock file in the
$GNATSROOT/database/gnats-adm directory doesnt get
deleted. After the PR is submitted, the gnatsweb page
says "Error : unparseable reply from server". When
queried i can see the PR created. I have also tried
creating a PR using send-pr from  a different machine
than the one that runs gnatsd and has databases on it.
I have set the GNATSDB env variable for this to work.
send-pr creates a new PR but i have also observed the
gnats.lock file is created and then deleted by the
send-pr. I have been having difficulties figuring out
why gnatsweb's create PR request is not being handled
properly by the gnatsd. Is there a way i can view the
logs/output of gnatsd. Have anybody seen this kinda
behaviour before. THanks in advance.

Regards,
Prashanth



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Error Code 431
@ 2003-09-10 18:39 Prashanth Guduru
  0 siblings, 0 replies; 7+ messages in thread
From: Prashanth Guduru @ 2003-09-10 18:39 UTC (permalink / raw)
  To: help-gnats

-- Yngve Svendsen <yngve.svendsen@sun.com> wrote:
> Prashanth Guduru wrote:
> 
> >Hi,
> >
> >I have gnats-4.0 installed and have gnatsd running
> on
> >a machine. I have gnatsweb-4.0 setup on my
> webserver
> >machine and have setup the gnatsweb.html
> >appropriately.
> >I now have created 4 databases and whenever anyone
> >tries to create a PR the gnats.lock file in the
> >$GNATSROOT/database/gnats-adm directory doesnt get
> >deleted. After the PR is submitted, the gnatsweb
> page
> >says "Error : unparseable reply from server". When
> >queried i can see the PR created. I have also tried
> >creating a PR using send-pr from  a different
> machine
> >than the one that runs gnatsd and has databases on
> it.
> >I have set the GNATSDB env variable for this to
> work.
> >send-pr creates a new PR but i have also observed
> the
> >gnats.lock file is created and then deleted by the
> >send-pr. I have been having difficulties figuring
> out
> >why gnatsweb's create PR request is not being
> handled
> >properly by the gnatsd. Is there a way i can view
> the
> >logs/output of gnatsd. Have anybody seen this kinda
> >behaviour before. THanks in advance.
> >  
> >
> Sorry to hear you are having difficulties.
> 
> GNATS logging is still an undocumented mess.
> However, the first thing I 
> would advise you to do is to turn on debug output in
> Gnatsweb. Simply 
> add the string "?debug=all" to the URL you use to
> access Gnatsweb. Thus, 
> the access URL should read something similar to
> this:
> 
> http://www.example.com/cgi-bin/gnatsweb.pl?debug=all
> 
> Yngve Svendsen
> Gnatsweb maintainer
> 

Hi Yngve,

THanks for your prompt response. I have actually done
that, i mean having "?debug=all" appended to the url. 
I have 2 different databases, the first one i created
was "test", it doesnt have any categories except for
the default ones.
I can create a PR using GNATSWEB in the test database
with no problem of the gnats.lock file being left
undeleted. So what i did was i did ?debug=all for both
the cases, i mean for the test database and for the
other database.Heres what i observed.


client_cmd:

subm


server_reply: 211 Ok.

client_cmd:

To: bugs
CC:
Subject: pguduru@thoreau.inka.com
From: pguduru@thoreau.inka.com
Reply-To: pguduru@thoreau.inka.com
X-Send-Pr-Version: gnatsweb-4.00 (1.124.2.2)
X-GNATS-Notify: 

>Notify-List:    pguduru@thoreau.inka.com
>Category:       pending
>Synopsis:       pguduru@thoreau.inka.com
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Class:          sw-bug
>Submitter-Id:   medc
>Originator:     pguduru@thoreau.inka.com
>Release:        pguduru@thoreau.inka.com
>Organization:
pguduru@thoreau.inka.com
>Environment:
pguduru@thoreau.inka.com
>Description:
pguduru@thoreau.inka.com
>How-To-Repeat:
pguduru@thoreau.inka.com
>Fix:
Unknown
>Unformatted:
.


server_reply: 210 PR added. 



THis is the last client command that is run in both
the cases. For the test database i can see the
server_reply: 210 PR added and in case of the other
database when PR is created the "server_reply:" is
empty and thats when i get "Error: Unparseable reply
from server" and that follows the "Problem Report
Sent. THank you for your report...........". I have
closely observed the both databases, except for the
categories there is no difference in them atall. I
dont quite understand why isnt there a 210 PR added
response from server and why is'nt the gnats.lock file
getting deleted. Any comments.

Regards,
Prashanht





__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [ Re:  Re: Error Code 431]
@ 2003-09-14  8:23 Prashanth Guduru
  2003-09-15 14:41 ` Error Code 431 Andrew J. Gray
  0 siblings, 1 reply; 7+ messages in thread
From: Prashanth Guduru @ 2003-09-14  8:23 UTC (permalink / raw)
  To: help-gnats

Hi,

I have tried what Mel had suggested me to do and i get
a "210 PR added" message. Im
pasting the output below:
200 gnatsdserver GNATS server 4.0 ready.
chdb validity
210-Now accessing GNATS database 'validity'
210 User access level set to 'edit'
user pguduru
210-Now accessing GNATS database 'validity'
210 User access level set to 'edit'
subm
211 Ok.
To: bugs
Subject: pguduru@thoreau.inka.com
From: pguduru@thoreau.inka.com
Reply-To: pguduru@thoreau.inka.com
X-Send-Pr-Version: gnatsweb-4.00 (1.124.2.2)
X-GNATS-Notify:

  >Notify-List:    pguduru@thoreau.inka.com
  >Category:       pending
  >Synopsis:       pguduru@thoreau.inka.com
  >Confidential:   yes
  >Severity:       critical
  >Priority:       high
  >Class:          sw-bug
  >Submitter-Id:   medc
  >Originator:     pguduru@thoreau.inka.com
  >Release:        pguduru@thoreau.inka.com
  >Organization:
  >pguduru@thoreau.inka.com
  >Environment:
pguduru@thoreau.inka.com
  >Description:
pguduru@thoreau.inka.com
  >How-To-Repeat:
pguduru@thoreau.inka.com
  >Fix:
Unknown
  >Unformatted:
.
210 PR added.

This is really confusing. If there is a problem with
gnatsweb.pl and if its sending bogus to gnatsd that it
cant handle, then i dont understand why there is no
error with the test database. From this little test
that Mel suggested i feel gnatsd shuld be ok. Any
ideas?

Thanks,
Prashanth


> 
> --- Mel Hatzis <hatzis@juniper.net> wrote:
> > Prashanht, try the following:
> > 
> >   1. On the gnats server, run the gnatsd binary by
> > hand...
> >     $GNATS_INSTALL_DIR/libexec/gnats/gnatsd
> > 
> >   2. For the "other" database you refer to in your
> >      earlier postings, enter:
> > 
> >      chdb <other>
> > 
> >      (replace <other> with the name of your other
> > db)
> > 
> >   3. Enter "user <username>"
> > 
> >   4. Enter the command 'subm'
> > 
> >   5. Now paste in the following PR exactly as
> given:
> > 
> > To: bugs
> > Subject: pguduru@thoreau.inka.com
> > From: pguduru@thoreau.inka.com
> > Reply-To: pguduru@thoreau.inka.com
> > X-Send-Pr-Version: gnatsweb-4.00 (1.124.2.2)
> > X-GNATS-Notify:
> > 
> >  >Notify-List:    pguduru@thoreau.inka.com
> >  >Category:       pending
> >  >Synopsis:       pguduru@thoreau.inka.com
> >  >Confidential:   yes
> >  >Severity:       critical
> >  >Priority:       high
> >  >Class:          sw-bug
> >  >Submitter-Id:   medc
> >  >Originator:     pguduru@thoreau.inka.com
> >  >Release:        pguduru@thoreau.inka.com
> >  >Organization:
> >  >pguduru@thoreau.inka.com
> >  >Environment:
> > pguduru@thoreau.inka.com
> >  >Description:
> > pguduru@thoreau.inka.com
> >  >How-To-Repeat:
> > pguduru@thoreau.inka.com
> >  >Fix:
> > Unknown
> >  >Unformatted:
> > .
> > 
> > At the end of all this, you should either get a
> > message back
> > from gnatsd showing the error or in the worst
> case,
> > gnatsd
> > will crash and dump a core file which you can then
> > examine
> > with a debugger.
> > 
> > If you get a core file, it'll really help if you
> > email the
> > help list with a stack trace.
> > 
> > --
> > Mel Hatzis
> > 
> > On 09/11/2003 01:28 PM, Prashanth Guduru wrote:
> > > Hi 
> > > 
> > > I have done a close comparison of dbconfig's for
> > the 
> > > both databases as per yngve. I ve seen
> difference,
> > but
> > > only because both the databases are so very
> > different.
> > > I have seen differences in the fields. I cannot
> > say
> > > that the problem is because of it. To test it
> this
> > way
> > > by trial and error would be very tedious i
> guess.
> > Are
> > > there any critical features i should be looking
> > for
> > > when comparing both the dbconbfigs?. 
> > > 
> > > 
> > > 
> > > 
> > >>Hi Prashanht,
> > >>
> > >>I haven't got any advice beyond what Yngve has
> > >>suggested at this
> > >>stage.  If you can discover what steps are
> > required
> > >>to reproduce the
> > >>problem then I can look into it further myself.
> > > 
> > > Andre,
> > > 
> > > Im sorry i can reproduce the problem but i cant
> > tell
> > > you how it can be. For any new database i
> create,
> > i
> > > see the same behaviour. It would be really great
> > if
> > > you can let me know how i can turn on the
> logging
> > for
> > > gnatsd.
> > > 
> > > Please let me know if i can do any more testing
> or
> > > provide more information to resolve this
> problem.
> > > 
> > > Bests,
> > > Prashanth
> > > 
> > > 
> > > 
> > > 
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-10-11 22:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-10 13:40 Error Code 431 Prashanth Guduru
2003-09-10 15:09 ` Yngve Svendsen
2003-09-14  8:51 ` Andrew J. Gray
2003-09-10 18:39 Prashanth Guduru
2003-09-14  8:23 [ Re: Re: Error Code 431] Prashanth Guduru
2003-09-15 14:41 ` Error Code 431 Andrew J. Gray
2003-09-18  1:05   ` Prashanth Guduru
2003-10-11 22:03   ` Prashanth Guduru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).