This is the mail archive of the
gnats-devel@sources.redhat.com
mailing list for the GNATS project.
Re: how to install gnatsweb???
- To: Wes Barris <wes at networkcs dot com>
- Subject: Re: how to install gnatsweb???
- From: George Nawfal <george at cplane dot com>
- Date: Mon, 19 Mar 2001 13:08:03 -0500
- CC: Mailing List <gnats-devel at sourceware dot cygnus dot com>
- References: <20010319102059.A74330@us.networkcs.com>
Hi!
I've had this problem before. I was missing a colon in one of the lines in the 'Categories' file.
Look into your gnats-db.conf file and make sure that it is correct.
Then look into the configuration files and verify that they are correct too. Try to restore those files to their defaults and
see if that solves your problem. It worked for me.
George
Wes Barris wrote:
> Hello,
>
> I need some help installing gnatsweb. I am trying to do this on a
> new Redhat 7 (Linux) system. I have tried installing gnats via rpm
> (the prefered method), cvs (as described on
> http://sources.redhat.com/gnats/), and finally, building manually (using
> configure, make, etc.). It seems that gnats itself is working. I can
> use either send-pr or query-pr and all is well.
>
> I can't get gnatsweb-2.7beta to work with any of these installations.
> It can't be that hard. Others use it, right? The INSTALL file that
> comes with gnatsweb says:
>
> 1) install gnatsd -- Done.
>
> 2) configure host access -- Done.
>
> 3) gnats/web servers on same hose -- Skip.
>
> 4) line 1 of gnatsweb.pl -- Done.
>
> 5) make test USERNAME=anon PASSWORD=pw DATABASE=db_alias
>
> What is the "db_alias"? This is the first I have seen it mentioned.
> Here is what I tried:
>
> root@kirby# make test USERNAME=wes PASSWORD=test DATABASE=gnats-adm
> perl test.pl
> Content-type: text/html
>
> <H1>Software error:</H1>
> <PRE>Can't call method "header" on an undefined value at gnatsweb.pl line 2117, <SOCK> line 1.
> </PRE>
> <P>
> For help, please send mail to this site's webmaster, giving this error message
> and the time and date of the error.
>
> [Mon Mar 19 10:13:54 2001] test.pl: Can't call method "header" on an undefined value at gnatsweb.pl line 2117, <SOCK> line 1.
> connect...........................................FAIL
> make: *** [test] Error 255
> root@kirby#
>
> Would someone please please please tell me what I am missing? Others
> must get this error too. I have followed all of the instructions
> as far as I can tell. What do others do to get gnatsweb to work???
>
> When I try to access gnatsweb.pl from the web, it prompts me for
> a username and password, but the database selection box is empty.
> I have attached a very small gif showing what it looks like.
>
> -----------------------------------------------------------------------
> Wes Barris wes@networkcs.com
> Network Computing Services, Inc. 612.626.8090
> -----------------------------------------------------------------------
> Today's fortune: It is easier to fight for one's principles than to
> live up to them.
>
> ------------------------------------------------------------------------
> Name: gnatsweb.gif
> gnatsweb.gif Type: GIF Image (image/gif)
> Encoding: base64