public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Re: Errors from running make test as stated in install document
@ 2001-05-10  4:06 Graham Lillico
  0 siblings, 0 replies; 6+ messages in thread
From: Graham Lillico @ 2001-05-10  4:06 UTC (permalink / raw)
  To: yngve.svendsen, gnats-devel

>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:58:27 +0200
>
>At 12:54 10.05.2001 +0200, Yngve Svendsen wrote:
>>At 11:51 10.05.2001 +0100, Graham Lillico wrote:
>>>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
>>
>>You have to say
>>/usr/local/share/gnats/gnats-db:default
>
>Oops! That should be /usr/local/share/gnats/gnats-db:gnats-db,default
>
>- Yngve
>
OK so my /etc/gnats-db.conf contains

/usr/local/share/gnats/gnats-db:gnats-db,default

and when I do the make test I still get

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 12:03:03 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.

Got me stumped....

Graham

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Errors from running make test as stated in install document
  2001-05-10  3:56 ` Yngve Svendsen
@ 2001-05-10  4:00   ` Yngve Svendsen
  0 siblings, 0 replies; 6+ messages in thread
From: Yngve Svendsen @ 2001-05-10  4:00 UTC (permalink / raw)
  To: Graham Lillico, gnats-devel

At 12:54 10.05.2001 +0200, Yngve Svendsen wrote:
>At 11:51 10.05.2001 +0100, Graham Lillico wrote:
>>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
>
>You have to say
>/usr/local/share/gnats/gnats-db:default

Oops! That should be /usr/local/share/gnats/gnats-db:gnats-db,default

- Yngve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Errors from running make test as stated in install document
  2001-05-10  3:51 Graham Lillico
@ 2001-05-10  3:56 ` Yngve Svendsen
  2001-05-10  4:00   ` Yngve Svendsen
  0 siblings, 1 reply; 6+ messages in thread
From: Yngve Svendsen @ 2001-05-10  3:56 UTC (permalink / raw)
  To: Graham Lillico, gnats-devel

At 11:51 10.05.2001 +0100, Graham Lillico wrote:
>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

You have to say
/usr/local/share/gnats/gnats-db:default

Otherwise, there will be no database named gnats-db, just one called "default".

I think that should clear up your problems.

- Yngve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Errors from running make test as stated in install document
@ 2001-05-10  3:51 Graham Lillico
  2001-05-10  3:56 ` Yngve Svendsen
  0 siblings, 1 reply; 6+ messages in thread
From: Graham Lillico @ 2001-05-10  3:51 UTC (permalink / raw)
  To: yngve.svendsen, gnats-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Errors from running make test as stated in install document
  2001-05-10  2:52 Graham Lillico
@ 2001-05-10  3:02 ` Yngve Svendsen
  0 siblings, 0 replies; 6+ messages in thread
From: Yngve Svendsen @ 2001-05-10  3:02 UTC (permalink / raw)
  To: Graham Lillico, gnats-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Errors from running make test as stated in install document
@ 2001-05-10  2:52 Graham Lillico
  2001-05-10  3:02 ` Yngve Svendsen
  0 siblings, 1 reply; 6+ messages in thread
From: Graham Lillico @ 2001-05-10  2:52 UTC (permalink / raw)
  To: gnats-devel

Hi,

Sorry if this message get repeated but Hotmail went deft on me...

Anyway first of all I would like to thank Yngve Svendsen for helping me out
on the last problem as that problem seems to have gone away.

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.

I have taken a look at the code and it looks fine to me, anyone got any idea
what could be causing this?

regards

Graham
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-05-10  4:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-10  4:06 Errors from running make test as stated in install document Graham Lillico
  -- strict thread matches above, loose matches on Subject: below --
2001-05-10  3:51 Graham Lillico
2001-05-10  3:56 ` Yngve Svendsen
2001-05-10  4:00   ` Yngve Svendsen
2001-05-10  2:52 Graham Lillico
2001-05-10  3:02 ` Yngve Svendsen

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