[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Not able to setup multiple databases
From: |
Sudha Mudhavalapu |
Subject: |
Not able to setup multiple databases |
Date: |
Tue, 28 Jan 2003 17:46:28 +0530 |
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.
Wipro_Disclaimer.txt
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Not able to setup multiple databases,
Sudha Mudhavalapu <=