From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10774 invoked from network); 4 Sep 2004 20:12:44 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 4 Sep 2004 20:12:44 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3gz1-0005oG-KZ for listarch-gnats-devel@sources.redhat.com; Sat, 04 Sep 2004 16:17:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3gyx-0005oB-GA for help-gnats@gnu.org; Sat, 04 Sep 2004 16:17:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3gyv-0005np-CU for help-gnats@gnu.org; Sat, 04 Sep 2004 16:17:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3gyv-0005nf-BE for help-gnats@gnu.org; Sat, 04 Sep 2004 16:17:53 -0400 Received: from [216.148.227.85] (helo=rwcrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C3gsa-0007C0-Ut for help-gnats@gnu.org; Sat, 04 Sep 2004 16:11:21 -0400 Received: from [192.168.0.6] (c-24-1-215-39.client.comcast.net[24.1.215.39]) by comcast.net (rwcrmhc12) with ESMTP id <20040904201119014002bd4be> (Authid: jdmiller15); Sat, 4 Sep 2004 20:11:19 +0000 Message-ID: <413A2166.1020004@millersweb.com> Date: Sun, 05 Sep 2004 19:32:00 -0000 From: David Miller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: help-gnats@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gnatsd X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2004-q3/txt/msg00050.txt.bz2 Hello A while back I had a post saying that I couldn't get gnatsweb to work. I hadn't gotten info on how to fix it until I saw a post that talked about turnning of optimization on a RedHat/Fedora machine. I didn't try it then because I knew I would be upgrading machines and OS. I now have a Fedora core 2 machine 2700 athalon. All old data was archived in a tar file. I have now tried to install gnats on the new machine. I don't know why I seem to have such a hard time with this app. I created a user gnats. NOTE: I don't remember seeing anything that states how this should be. I created gnats with a default group of gnats and let everything else in the Fedora gui add user tool take defaults. did an su and became root. coppied the tar file to /usr/local/src and did a tar -xzvf gnats-4.0.tar.gz cd to gnats-4.0 Went in to the three mentioned configure files and removed the -02 from the CFLAGS in two different locations each. make all info From another terminal window su gnats cd /usr/local/libexec/gnats ./mkdb default It complained that it didn't have rights to create /usr/loca/com/gnatsdb. NOTE: I don't remember the manual making any comment about this kind of problem. I created /usr/local/com and changed owner to gnats:gnats Went back to my terminal running as gnats and tried mkdb again. This time it created the database. In a root terminal window, I went to /usr/local/etc/gnats/databases and added the info for my database. back at the gnats terminal window did ./mkdb site_manager and it created my database. I had untared my archive in a different directory and now I overwrite my database in /usr/local/com with the one from my tar file. using query-pr, etc I can work with my database. This is the way that I have always had to do it. I am now back to where I was on my old machine. /usr/local/etc/gnats/gnatsd.host_access I added the line localhost:edit: I added the following in a file called /etc/xinetd/support service support { disable = no socket_type = stream protocol = tcp wait = no user = gnats gnats server = /usr/local/libexec/gnats/gnatsd } did /etc/rc.d/init.d/xinetd restart I can do the follow so it appears that the server works. [root@lnx101 gnats]# ./gnatsd -n 200 lnx101.home.loc GNATS server 4.0 ready. USER gnats gantspr 210-Now accessing GNATS database 'default' 210 User access level set to 'listdb' CHDB default 210-Now accessing GNATS database 'default' 210 User access level set to 'listdb' While this is still running or after it is stopped. telnet localhost 1529 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused Other things I don't understand. This is all on my machine for my development. My mail is all done with pop and snmp. I don't have the sendmail damon running. My machine is on a private network 192.168.*.* . I some times will route port 80 to my machine and give someone the IP so that they can see my webserver that I use to develop with. I would like to run gnatsweb for my own use, and may want the outside to be able to see it through port 80. If gnats is to use email it would have to be routed through my pop mail and smtp. I don't understand how to do that. Although, I know that I have to get past the server running, but when I do. make install CGI_DIR=/var/www/cgi-bin it puts the two .pl files and an html file in the cgi-bin directory and says your ready to go. Well I copy the html file to /var/www/html and point a browser to it and it gives me an info page. How will I get to the login and all the other gnats pages? Will the perl scripts take care of this once the damon can be connected to? David Miller _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats