public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: "Sudha Mudhavalapu" <sudha.mudhavalapu@wipro.com>
To: <help-gnats@gnu.org>
Subject: Not able to setup multiple databases
Date: Tue, 28 Jan 2003 12:42:00 -0000	[thread overview]
Message-ID: <4223A04BF7D1B941A25246ADD0462FF56C7A4D@blr-m3-msg.wipro.com> (raw)

[-- 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

                 reply	other threads:[~2003-01-28 12:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4223A04BF7D1B941A25246ADD0462FF56C7A4D@blr-m3-msg.wipro.com \
    --to=sudha.mudhavalapu@wipro.com \
    --cc=help-gnats@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).