From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kazunari Sekigawa To: yngves@sources.redhat.com Cc: gnats-prs@sourceware.cygnus.com Subject: Re: gnatsweb/228: Internal Server Error when "submit edit" Date: Mon, 20 Aug 2001 21:14:00 -0000 Message-id: <20010821041401.11018.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q3/msg00073.html List-Id: The following reply was made to PR gnatsweb/228; it has been noted by GNATS. From: Kazunari Sekigawa To: Yngve Svendsen , gnats-gnats@sourceware.cygnus.com, sudheesh@softjin.com Cc: Subject: Re: gnatsweb/228: Internal Server Error when "submit edit" Date: Tue, 21 Aug 2001 13:10:44 +0900 Dear Yngve Svendsen, This is a follow-up regarding my PR. I finally got the reason. In fact, I accidentally inserted some buggy code to the original perl script and believed that I had removed them, hence, the error. Sorry for making such a trouble. Now everything is working fine. Hence, please close this PR. Thanks and best regards, K. Sekigawa Kazunari Sekigawa wrote: > > Thank you for your reply. > > Yngve Svendsen wrote: > > > > I think your problem may be caused by the GNATS database being locked. Such > > a lock might be left after running gen-index, for instance. Look for a file > > called gnats.lock in the gnats-adm directories of your databases and delete it. > > > > Gnatsweb should catch this, and I have identified the problem. However, I > > don't plan to do any more work on Gnatsweb 2.x unless more serious bugs > > surface. I believe that Gnats and Gnatsweb 4 aren't suffering from this > > problem. > > > > Please let me know how this turns out. > > > > Yngve Svendsen > > Gnatsweb maintainer > > > > Before "submit edit," there was no *lock* file. > After "submit edit," a lock file is generated in the name of > {DB}/gnats-adm/locks/{nnn}.lock > where {DB} is a database name and {nnn} is a problem number in {DB} and > {nnn}.lock contains a user's name. > The internal server error still remains the same. > > Once a lock file gets generated, then succeeding "submit edit" returns an error > message saying: > PR {CATEGORY}/{nnn} is locked by {user} > This must be OK. > > After manually removing the lock file, I again issued "submit edit" then got > the same internal server error. > > Thank you again for your help. > K. Sekigawa > > > At 06:17 01.08.2001 +0000, sekigawa@neo.shinko.co.jp wrote: > > >Hi, > > > > > >When I use "submit edit" of gnatsweb, > > >HTTP server returns an internal error as follows. > > > > > >(a) apache 1.3.19 > > > [Wed Aug 1 12:56:27 2001] [error] [client 172.30.30.36] Premature > > > end of script headers: \ > > > /usr/local/apache/cgi-bin/gnatsweb.cgi > > > > > >(b) Netscape Enterprise Suitespot 3.5 > > > [01/Aug/2001:12:46:06] failure: for host aaa.bbb.shinko.co.jp trying > > > to POST \ > > > /ppp/cgi-bin/gnats1/gnatsweb.cgi, cgi-parse-output reports: \ > > > the CGI program /var/ppp/cgi-bin/gnats1/gnatsweb.cgi did not \ > > > produce a valid header (program terminated without a valid CGI > > > header. \ > > > Check for core dump or other abnormal termination) > > > > > >Notes: > > > (1) I've renamed gnatsweb.pl to gnatsweb.cgi. > > > (2) I have multiple GNATS DBs. > > > > > >Thanks. > > >K. Sekigawa