public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Re: RE: Login error while using Gnats4.0
@ 2003-02-09 23:46 Pankaj K Garg
  0 siblings, 0 replies; only message in thread
From: Pankaj K Garg @ 2003-02-09 23:46 UTC (permalink / raw)
  To: Chandra Ramesh, 'GNATS HELP'

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

Original message attached.

Please turn off your HTML message format, it makes it a
bit harder to work with.

Your problem could be caused because the index file is
not owned by GNATS_USER in 'mkdb' (gnats maintainers
please note).

Add the following line to the end of 'mkdb'

chown "${GNATS_USER}" "${dbdir}/gnats-adm/index"

For already created indices, you may want to change the
ownership manually.

Pankaj




Pankaj K Garg            gargp@acm.org
1684 Nightingale Avenue  408-373-4027
Sunnyvale, CA 94087
http://home.earthlink.net/~gargp

[-- Attachment #2: MESSAGE.HTML --]
[-- Type: TEXT/HTML, Size: 5041 bytes --]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: Login error while using Gnats4.0</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">In addition to the points mentioned in my earlier mail, I need a clarification:</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I created a file by name &quot;gnats-db.conf&quot; with appropriate entries under /etc directory.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">My database name is &quot;pqagnats&quot; and not gnats-db. So, should I create a file</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">by name &quot;gnats-db.conf&quot; or &quot;pqagnats.conf&quot;?</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Also, from the shell, I am able to file the PRs using &quot;send-pr&quot; and I also got the mail. I was also able to</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">query the PRs using query-pr from the command prompt (shell).</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">The index file is created but is looks a bit clustered unlike the index file generated by gnats-3.113 version.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">There are no separators in this index file. Is this how this file created by gnats 4.0? </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">But when I use the gnats web interface (2.9.3), I get the same error:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#0000FF" SIZE=2 FACE="Arial">&quot;GNATS server cannot read the index&quot;.</FONT>
</P>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Thanks and Regards,</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Ramesh Chandra</FONT>
</P>
<BR>
<BR>
<UL>
<P><FONT FACE="Arial"></FONT>&nbsp;<FONT SIZE=1 FACE="Tahoma">-----Original Message-----</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">From: &nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Chandra Ramesh&nbsp; </FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Friday, February 07, 2003 12:44 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">GNATS HELP</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Chandra Ramesh</FONT>
<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Tahoma">Login error while using Gnats4.0</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">We are using Gnats 4.0 on Redhat linux 7.3. We are also using the web interface files gnatsweb.pl</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">along with gnats.pm.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">The very first time itself, when I give the URL of the gnats web interface, it is coming out with the</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">following error:</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">&quot;GNATS server cannot read the index&quot;.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">How do I solve this? As for as the instructions, the &quot;index&quot; file gets created when we file the first PR.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">But even before it why is it searching for the index file? There is an empty index file created during the</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">installation under ../gnats-adm directory.</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">I have followed the instructions and ceated the database and the edited the corresponding configuration files.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">I am running the &quot;gnatsd&quot; daemon thro' xinetd. Please let me know what mistake I have done and how do I rectify</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">the above error.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks and REgards,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Ramesh Chandra</FONT>
</P>
</UL>
</BODY>
</HTML>

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-09 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-09 23:46 RE: Login error while using Gnats4.0 Pankaj K Garg

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