public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: David Miller <david@millersweb.com>
To: help-gnats@gnu.org
Subject: gnats and gnatsweb problems
Date: Tue, 11 May 2004 15:03:00 -0000	[thread overview]
Message-ID: <40A0381F.2010708@millersweb.com> (raw)

Hello

I have been using gnats for a while on my local machine.  I have been 
using it through local command line, send-pr query-pr etc.  Lately I 
have decided to add gnatsweb so that gnats can be accessed through a 
browser.
My gnats was 3.999 and I have upgraded to 4.0.
I have downloaded gnatsweb-4.00.

I have run
 perl -MCPAN -e 'install CGI'
 perl -MCPAN -e 'install MIME::Base64'

with no problem.

When I run make test  I get the following:
connect...........................................FAIL

Gnatsweb was unable to connect to the GNATS server.

There are several possible reasons for this.  Start off by checking
that the USERNAME, PASSWORD and DATABASE parameters you supplied are
valid.  If they are, there may be a problem in the configuration of
your GNATS server.  Check your GNATS installation, particularly the
host access files (remember that the web server needs access to the
GNATS server), then run the tests again.

make: *** [test] Error 9
[david@lnx101 gnatsweb-4.00]$ telnet localhost 1529
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.


gnatsd.host_access has the following:
*:listdb:
localhost:edit

gnatsd.user_access has the following:
gnats:*:admin

/etc/xinetd.d/support has the following:
service support
{
 disable = no
 socket_type = stream
 protocol = tcp
 wait = no
 user = gnats
 server = /usr/local/libexec/gnats/gnatsd
}

/etc/services has the following:
support        1529/tcp    prmsd gnatsd    # GNATS, cygnus bug tracker

To do a telnet to localhost works fine.

If I telnet to localhost 1529 I get the following:
[david@lnx101 gnatsweb-4.00]$ telnet localhost 1529
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
[david@lnx101 gnatsweb-4.00]$

/home/gnats/bash_profile is as follows:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
       . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/local/bin:/usr/local/libexec/gnats

export PATH
unset USERNAME


Where do I look next?
I am running on a Fedora 1.0.

Thanks in advance.

David Miller


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

             reply	other threads:[~2004-05-11  2:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-11 15:03 David Miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-10 17:18 David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40A0381F.2010708@millersweb.com \
    --to=david@millersweb.com \
    --cc=help-gnats@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).