This is the mail archive of the
gnats-devel@sources.redhat.com
mailing list for the GNATS project.
Re: Errors from running make test as stated in install document
- To: yngve dot svendsen at clustra dot com, gnats-devel at sources dot redhat dot com
- Subject: Re: Errors from running make test as stated in install document
- From: "Graham Lillico" <graham_lillico at hotmail dot com>
- Date: Thu, 10 May 2001 11:51:01 +0100
>From: Yngve Svendsen <yngve.svendsen@clustra.com>
>To: "Graham Lillico" <graham_lillico@hotmail.com>,
>gnats-devel@sources.redhat.com
>Subject: Re: Errors from running make test as stated in install document
>Date: Thu, 10 May 2001 12:00:51 +0200
>
>At 10:52 10.05.2001 +0100, Graham Lillico wrote:
>>However when i run the "make test" as directed to in the install doc I
>>receive the following error.
>>
>>make test USERNAME=anon PASSWORD=pw DATABASE=gnats-db
>>perl test.pl
>>Content-type: text/html
>>
>><H1>Software error:</H1>
>><CODE>Can't call method "header" on an undefined value at gnatsweb.pl line
>>2199.
>></CODE>
>><P>
>>Please send mail to this site's webmaster for help.
>>[Thu May 10 10:44:24 2001] test.pl: Can't call method "header" on an
>>undefined value at gnatsweb.pl line 2199.
>>connect...........................................FAIL
>>*** Error code 61
>>
>>Stop in /root/gnatsweb-2.8.0.
>
>We need some more information to resolve this:
>- Is your GNATS setup working properly?
>- Is your database called gnats-db?
>- Have you created the /etc/gnats-db.conf file with the proper contents
>(See point 5 of the Gnatsweb INSTALL doc) ?
>- Are the access permissions in gnatsd.conf and gnatsd.access set so that
>the web server can talk to gnatsd (See the INSTALL doc) ?
>
>- Yngve
>
My GNATS setup seems to be working correctly, my database is called gnats-db
and I belive I have setup my gnats-db.conf file correctly it contains the
following
*:none:
and my gnatsd.access contains
*:*:none:
the permissions on the files are
-rw-r--r-- 1 gnats wheel 1400 May 10 11:23 gnatsd.access
-rw-r--r-- 1 gnats wheel 1292 May 9 14:35 gnatsd.conf
I didn't have a /etc/gnats-db.conf as the FreeBSD port didn't install one
but I have created on and put the following in it.
/usr/local/share/gnats/gnats-db:default
Hope this helps some more.
Graham
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.