bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble in gnats/gnatsweb configuration


From: Yngve Svendsen
Subject: Re: Trouble in gnats/gnatsweb configuration
Date: Wed, 06 Jun 2001 12:11:34 +0200

At 08:50 06.06.01 +0200, Stefano Carlini wrote:

Hello everyone,
I have a problem during gnats and gnatsweb configuration.
My system is a Red-Hat 6.2 distribution on Intel x86 platform.
I installed

        - gnats-3.113.1 and
        - gnatsweb-2.8.0

I had the first problems during the test for gnatsweb;
trying to test the configuration (typing "make test USERNAME=gnats
PASSWORD=gnatsuser DATABASE=gnats-db")
I received the following error message:

> perl test.pl
> Content-type: text/html

> <H1>Software error:</H1>
> <CODE>Can't call method &quot;header&quot; on an undefined value at
gnatsweb.pl line 2199, &lt;SOCK&gt; chunk 1.
> </CODE>
> <P>
> For help, please send mail to this site's webmaster, giving this error
message
> and the time and date of the error.

> [Wed Jun  6 08:30:49 2001] test.pl: Can't call method "header" on an
undefined value at gnatsweb.pl line 2199, <SOCK> chunk 1.
> connect...........................................FAIL
> make: *** [test] Error 29

I looked at my system and I saw the gnats daemon (gnatsd) wasn't running!!!

I tried to start it but I received the following message:

> [gnats@linux1 gnats-adm]$ /usr/local/libexec/gnats/gnatsd
> 520 You are not on the host access list: stdin (stdin).

First and foremost: gnatsd is being started by inetd only when someone tries to contact your machine on port 1529. Thus, you'll seldom see gnatsd running by doing a "ps".

It looks as though you have fallen into a well-known trap in GNATS setup. The docs aren't stating clearly that you need a file /etc/gnats-db.conf even if you only have a single database on your system (this has been made clearer in the docs that come with Gnatsweb 2.8.1). This file is (kind-of) documented in Appendix C of the GNATS manual, and it basically maps the physical directory location of your GNATS database to an alias name. This alias name is the one you're supposed to give to the "make test" command.

Hope this helps,
Yngve Svendsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]