public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* Not able to setup multiple databases
@ 2003-01-28 12:42 Sudha Mudhavalapu
  0 siblings, 0 replies; only message in thread
From: Sudha Mudhavalapu @ 2003-01-28 12:42 UTC (permalink / raw)
  To: help-gnats

[-- Attachment #1: Type: text/plain, Size: 2335 bytes --]

I am unable to set up the database.Here I mention the exact steps that I
followed....

1.Created the base directory for the new database, say
`/home/projects/broadcom/gnats-bcm', (owned by the GNATS user) 

2.Copied all files from `gnats-db/gnats-adm' to
`/home/projects/broadcom/gnats-bcm/gnats-adm', and edited them to
reflect the needs of new database. (owned by the gnats user) 
There is a category named pending. 

3.As the GNATS user, ran `mkcat
--directory=/home/projects/broadcom/gnats-bcm'' to create the
directories for the categories. Remove the files `current' and `index',
that exist. Run the program gen-index to create the index file

4.Now added a line for the new database to `/etc/gnats-db.conf', like
this: 
/home/projects/broadcomc/gnats-bcm:BROADCOM 

5.Added the cronjob to the file .mycron present in gnats home
directory.The contents of the file are as below..

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
HOME=/usr/local/share/gnats/gnats-db

*/1 * * * * /usr/local/libexec/gnats/queue-pr --run
*/1 * * * * /usr/local/lib/gnats/queue-pr -d
/home/projects/broadcom/gnats-bcm -r

6.ran crontab .mycron

7.Added aliases for the new database and ran newaliases
the contents of aliases file are...
gnats-admin:    root
#bugs:          "| /usr/local/libexec/gnats/queue-pr -q"
bugs:           "| /etc/smrsh/queue-pr -q"
alpine-gnats:   bugs
#query-pr:      "| /usr/local/libexec/gnats/mail-query"
query-pr:       "| /etc/smrsh/mail-query"

#Aliases for broadcom gnats database
broadcom-bugs:  "| /etc/smrsh/queue-pr -d
/home/projects/broadcom/gnats-bcm"
broadcom-query: "| /etc/smrsh/mail-query -d
/home/projects/broadcom/gnats-bcm"

8.The contents of config file present in
/home/projects/broadcom/gnats-bcm/gnats-adm are as below...
GNATS_ADDR="broadcom" GNATS_USER="gnats" GNATS_ADMIN="gnats-admin"
GNATS_SITE="alpine" SUBMITTER="alpine" DEFAULT_RELEASE="broadcom-1.0"
DEFAULT_ORGANIZATION="alpine" NOTIFY=1 ACKNOWLEDGE=1
DEFAULT_SUBMITTER="sganesh" KEEP_RECEIVED_HEADERS=1 BDAY_START=8
BDAY_END=17 BWEEK_START=1 BWEEK_END=5 DEBUG_MODE=0 

After this I logged in to gnats new database using gnatsweb.Created a PR
nothing seemed to get created in the database for that category.

Please help me where I went wrong...

Thanks and Regards
Sudha.

[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 514 bytes --]

**************************Disclaimer************************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************************

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-28 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-28 12:42 Not able to setup multiple databases Sudha Mudhavalapu

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).