From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16828 invoked from network); 14 Nov 2003 06:56:29 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 14 Nov 2003 06:56:29 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AKYp3-0000OJ-DT for listarch-gnats-devel@sources.redhat.com; Fri, 14 Nov 2003 02:56:53 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AKYow-0000OA-5k for help-gnats@gnu.org; Fri, 14 Nov 2003 02:56:46 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AKYoQ-0000E4-C4 for help-gnats@gnu.org; Fri, 14 Nov 2003 02:56:45 -0500 Received: from [62.13.39.180] (helo=exchsthlm.corp.optillion.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AKYoP-0000DZ-TD for help-gnats@gnu.org; Fri, 14 Nov 2003 02:56:14 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Nov 2003 06:56:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Failing to connect Thread-Index: AcOqJ1v4DIxckKHBRWmv4vxrYZMYIQAVQIkA From: =?iso-8859-1?Q?Tume_R=F6mer?= To: "Mel Hatzis" Cc: help-gnats@gnu.org Subject: RE: Failing to connect X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 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: 2003-q4/txt/msg00058.txt.bz2 Thanks - I solved it by creating the default as suggested, but now I understand _what_ is happening. This should definitely be mentioned in the UPGRADING document. I'll use the GNATSDB environment variable to get rid of the unneeded default database (It confuses my users :-) ) /Tume > -----Original Message----- > From: Mel Hatzis [mailto:hatzis@juniper.net] > Sent: den 13 november 2003 21:42 > To: Tume R=F6mer > Cc: help-gnats@gnu.org > Subject: Re: Failing to connect >=20 >=20 > On 11/13/2003 05:29 AM, Tume R=F6mer submitted: > > I've installed Gnats 4.0 (Upgrade from 3.113) on a Solaris=20 > 2.7 machine. > >=20 > > I'm getting the following error on a telnet connect (and in=20 > gnatsweb): > >=20 > > ----- > > telnet enterprise 1529 > > Trying > > Connected to enterprise. > > Escape character is '^]'. > > 417 GNATS initialization of database failed: No such=20 > database as default > > Connection closed by foreign host. > > ---- > >=20 > > Gnats was configured with the following: > > .//configure --host=3Dsparc-sun-solaris2.7=20 > --with-gnats-server=3Denterprise --with-full-gnats --prefix > > =3D/opt/gnats --with-gnats-default-db=3D/opt/gnats/share/gnats/FAR > >=20 > > And resides in /opt/gnats with all databases in=20 > /opt/gnats/share/gnats (FAR is one of them). > >=20 > > databases file is in /opt/gnats/etc/gnats and looks like=20 > this without the comments: > >=20 > > FAR:Field And Repair Database:/opt/gnats/share/gnats/FAR > > Development:Development and RMA=20 > Database:/opt/gnats/share/gnats/Development > > QualitySystem:Quality System=20 > Database:/opt/gnats/share/gnats/QualitySystem > > Production:Production Database:/opt/gnats/share/gnats/Production > >=20 >=20 > GNATS generally requires that you have a database named 'default'. > This is because the gnats server automatically connects to the > 'default' database when it receives a client connection. >=20 > You can circumvent this by setting the GNATSDB environment > variable to one of the databases you've defined above > (FAR, Development, QualitySystem or Production) in the > environment under which gnatsd is run. >=20 > Good luck. >=20 > -- > Mel Hatzis >=20 > > and the gnatsd.host-access looks like this: > > *:edit: > >=20 > > I really do not have a clue and would appreciate any input=20 > on how to debug this. > >=20 > > Regards, > > /Tume > >=20 > >=20 > >=20 > > _______________________________________________ > > Help-gnats mailing list > > Help-gnats@gnu.org > > http://mail.gnu.org/mailman/listinfo/help-gnats >=20 >=20 >=20 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats