public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
* gnats/352: gnatsd looks for default database in /usr/local/com when configure prefix is /opt/gnats
@ 2002-02-25 20:12 duncan.lindley
0 siblings, 0 replies; 2+ messages in thread
From: duncan.lindley @ 2002-02-25 20:12 UTC (permalink / raw)
To: pdm-gnats, gnats-prs, bug-gnats
>Number: 352
>Category: gnats
>Synopsis: gnatsd looks for default database in /usr/local/com when configure prefix is /opt/gnats
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 25 23:11:37 -0500 2002
>Originator: Duncan Lindley
>Release: 3.999.1
>Organization:
>Environment:
Redhat 7.2 + updates.
Apache 1.3.23 from source
>Description:
after being configured and installed with:
./configure --prefix=/opt/gnats --with-gnats-service=support --with-gnats-user=gnats
and attempting to connect with gnatsweb, the error,
Return code: 417 - GNATS initialization of database failed: The directory /usr/local/com/gnatsdb does not exist for database default
The file /opt/gnats/etc/gnats/database states
default:Bug database:/opt/gnats/com/gnatsdb
mkdb etc all ran OK
>How-To-Repeat:
install gnats (in non-default prefix) and gnatsweb, conenct to default database.
>Fix:
Unknown
>Unformatted:
_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gnats/352: gnatsd looks for default database in /usr/local/com when configure prefix is /opt/gnats
@ 2002-03-31 11:57 Yngve Svendsen
0 siblings, 0 replies; 2+ messages in thread
From: Yngve Svendsen @ 2002-03-31 11:57 UTC (permalink / raw)
To: gnats-prs, duncan.lindley, pdm-gnats
http://bugs.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&database=gnats&pr=352
I am unable to reproduce this. I can think of one possible cause for the
problems you are seeing:
You stated in the PR:
"The file /opt/gnats/etc/gnats/database states
default:Bug database:/opt/gnats/com/gnatsdb"
The file should be named "databases", not "database". The install process
leaves a template "databases" file in the etc directory, and if you created
a file "database", the original template would be the one used. The
template file contains the /usr/local/com/gnatsdb file, and that would
cause exactly the problem you are seeing.
Your feedback on this would be appreciated.
Yngve Svendsen
_______________________________________________
Gnats-prs mailing list
Gnats-prs@gnu.org
http://mail.gnu.org/mailman/listinfo/gnats-prs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-31 19:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-25 20:12 gnats/352: gnatsd looks for default database in /usr/local/com when configure prefix is /opt/gnats duncan.lindley
2002-03-31 11:57 Yngve Svendsen
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).