gnatsweb make test fails

Adam Weremczuk <[email protected]> Wed, 17 May 2006 17:06:50 +0100
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
Gnats 4.1.0, gnatsweb 4.0 both run on the same box (PLD Linux 2.6.8)

I've got the following:

[gnats@sierra gnatsweb-4.00]$ make test USERNAME=gnats PASSWORD=gnats 
DATABASE=default                                                                                           

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

Is the same when I try to run it as root, or without PASSWORD.




gnatsd starts fine but not automatically, I have to start it manually 
after every reboot:

[gnats@sierra root]$ /usr/local/libexec/gnats/gnatsd
200 sierra GNATS server 4.1.0 ready.

I have run
perl -MCPAN -e 'install CGI'
perl -MCPAN -e 'install MIME::Base64'
with locale problem but changed  LC_ALL="C" and it proceeded.
"mkdb default" ran ok
No other problems and errors until now.

I also checked the followning:

1. /usr/local/etc/gnats/gnats.host_access

    localhost:edit:
    *:listdb:

2. /usr/local/etc/gnats/defaults/gnats.user_access
    /usr/local/etc/com/gnatsdb/gnats-adm/gnats.user_access

    *:*:view:*
    gnats::admin:default

3. [root@sierra local]# telnet localhost 1529
    Trying 127.0.0.1.1529...
    Connected to localhost.
    Escape character is '^]'.
    Connection closed by foreign host.

4. /etc/services
    #coauthor   1529/tcp    #oracle
    support       1529/tcp    #GNATS

5. /etc/sysconfig/rc-inetd/support

    SERVICE_NAME=support
    DISABLE=no
    SOCKET_TYPE=stream
    PROTOCOL=tcp
    WAIT=no
    USER=gnats
    SERVER=/usr/local/libexec/gnats/gnatsd
    SOCK_TYPE=stream
    DAEMON=/usr/local/libexec/gnats/gnatsd
    FLAGS=nowait
    PORT=1529

    [root@sierra /]# ps aux | grep inetd
    root      1659  0.0  0.2   3184  1008 ?        Ss   15:17   0:00 
/usr/sbin/xinetd
    root      2628  0.0  0.1   1436   452 pts/1    S+   17:11   0:00 
grep inetd

    xinetd starts without complaining and uses the support file without 
a doubt, if I enter invalid values in there xintet throws error on boot

6. /usr/local/src/gnatsweb-4.00/test.log

    is empty

7.   [gnats@sierra local]$ echo $PATH
      
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/local/libexec/gnats


Shall I try something else?

Cheers
Adam