bug-gnats
[Top][All Lists]
Advanced

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

Daemon troubles


From: Rolles
Subject: Daemon troubles
Date: Thu, 07 Feb 2002 20:25:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

Hello All,

For the life of me I am unable to get Gnatsweb to work. I suspect the problem lies with the GNATS daemon. I have detailed the errors and my setup below. IP addresses etc have been replaced with XXs to protect the innocent. I am running RedHat 7.1, GNATS 3.113, and Gnatsweb 2.9.3.

I would be most appreciative of input from anyone.

Many thanks,

   Rolles

The errors that I get are as follows:

When running the make test for Gnatsweb I get:
=========================================

[root@131 gnatsweb-2.9.3]# make test USERNAME=XXXX PASSWORD=XXXXX DATABASE=XXXXXXXX
perl test.pl
Content-type: text/html

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

[Thu Feb 7 15:04:43 2002] test.pl: Can't call method "header" on an undefined value at gnatsweb.pl line 2402.
connect...........................................FAIL
make: *** [test] Error 111

=========================================
Note: I have checked that the user and password exists in gnatsd.access

When trying to run the gnats daemon directly from the command line I get the following error regardless of which user I run the command under:
=========================================

[root@131 gnatsweb-2.9.3]# /usr/local/libexec/gnats/gnatsd gnatsd
520 You are not on the host access list: stdin (stdin).

=========================================

When trying to telnet to the GNATS daemon port Iget the following error while other configured ports work without any problem (eg swat):
=========================================

[root@131 gnatsweb-2.9.3]# telnet 127.0.0.1 1529
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

=========================================

When trying the gnatsweb.pl file in a web-browser I get the following:
=========================================

host 127.0.0.1, port 1529
connect: Connection refused

=========================================
=========================================
=========================================
=========================================


All configuration files involved in the gnatsweb setup are as follows.

=========================================

/etc/hosts contains:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       Londinium.XXXXX.XXX      localhost.localdomain   localhost
XXX.XXX.XXX.XXX XXX.XXX.XXX.XX.uk

=========================================
Note: localhost exists

=========================================

[root@131 xinetd.d]# pwd
/etc/xinetd.d
[root@131 xinetd.d]# more support
# GNATS xinetd support daemon
service support
{
  disable=no
  socket_type=stream
  port=1529
  protocol=tcp
  wait=no
  user=gnats
  server=/usr/local/libexec/gnats/gnatsd
  server_args=gnatsd
}

=========================================
Note: gnatsd program is where it is stated to be.

I also tried configuring this using a single line in xinetd.conf. See the line commented out below: =========================================

[root@131 /]# more /etc/xinetd.conf
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
       instances               = 60
       log_type                = SYSLOG authpriv
       log_on_success          = HOST PID
       log_on_failure          = HOST
}

ftp     stream  tcp     nowait      root    /usr/sbin/tcpd  in.ftpd -l -a
swat    stream  tcp     nowait.400  root    /usr/local/samba/bin/swat swat
# support stream tcp nowait gnats /usr/local/libexec/gnats/gnatsd gnatsd

includedir /etc/xinetd.d

service ftp
{
       socket_type     = stream
       protocol        = tcp
       wait            = no
       user            = root
       server          = /usr/sbin/ftpd
server_args = -a -l -i -o -t 300 -T 300 -W XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
       log_on_success  -= USERID
}

=========================================

[root@131 /]# more /etc/services | grep gnats
support         1529/tcp        # cygnus bug tracker

=========================================

[root@131 /]# more /usr/local/share/gnats/gnats-db/gnats-adm/gnatsd.access
#
#                  User access levels with the GNATS daemon.
#
[snip]
# *:*:view:gameinvestor
XXXX:XXXXX:XXXX:XXXXXXXX
username:password:access:database

=========================================

[root@131 /]# more /usr/local/share/gnats/gnats-db/gnats-adm/gnatsd.conf
#
#                  Hosts that can do lookups with the GNATS daemon.
#
[snip]
#
#192.168.*:view:
#software.free.com:edit:
XXX.XXX.XXX.XXX:edit:
localhost:edit:
127.0.0.1:edit:

=========================================

[root@131 /]# more /etc/gnats-db.conf
##########################################
# list of GNATS databases and aliases
##########################################
# Field 1 - fully qualified path to database
# Field 2 - a comma separated list of aliases
# Examples provided below:
# /usr/local/gnats/standard-db:normal,standard,regular
# /usr/local/gnats/alternate-db:alt
# /home/gnats/special-db:special
/usr/local/share/gnats/gnats-db:gameinvestor,tlsmlhsbc

=========================================
=========================================
=========================================

--

_________________________________________________________________________

  G a m e I n v e s t o r
                  - an investment experience.... cost free... risk free

Rolles@GameInvestor.com (Mob)+44 7 816 369377 (Fax)+ 44 1 223 335660
_________________________________________________________________________





reply via email to

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