bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem after adding a new database


From: Rick Macdonald
Subject: Re: Problem after adding a new database
Date: Fri, 25 Jan 2002 16:15:39 -0700 (MST)

On Fri, 25 Jan 2002, Naveen wrote:

> Yeah it gets into the gnats-db/pending directory
> I have not created the log file.

The next step is to run the cron job manually to see if it picks up
the file from the gnats-queue directory.

> At 02:39 PM 1/25/2002 -0700, you wrote:
> >On Fri, 25 Jan 2002, Naveen wrote:
> >
> > >
> > > Yeah I figured that ,it was becoz path in the alias was not correct.
> > > But I don't know what happens to the mail which I am sending to
> > > mhp@epic.cadence.com.
> >
> >Does it get into the log file?
> >Does it get into the gnats-db/gnats-queue directory?
> >
> > > Thanx
> > > Naveen
> > > At 02:22 PM 1/25/2002 -0700, you wrote:
> > > >On Fri, 25 Jan 2002, Naveen wrote:
> > > >
> > > > >
> > > > > Thanks alot for Help
> > > > > I tried what you told me .I modified my aliases file.
> > > > > For my mhp-db GNATS_SITE=mhp
> > > > >
> > > > > Both the database are on server epic
> > > > > So when I send test mail at mhp@epic.cadence.com
> > > > > nothing happens I don't know where the mail goes.
> > > >
> > > >It says right in the error message that the gants-db doesn't exist. Why 
> > > >is
> > > >that?
> > > >
> > > > > For gnats-db GNATS_SITE="epic"
> > > > > So when I send mail I get
> > > > > The original message was received at Thu, 24 Jan 2002 19:09:09 
> > -0800 (PST)
> > > > > from mailhub.Cadence.COM [158.140.128.33]
> > > > > ----- The following addresses had permanent fatal errors -----
> > > > > "|/opt/local/libexec/gnats/queue-pr -q -d /usr/local/share/gnats-db/"
> > > > > (expanded from: bug-q)
> > > > > ----- Transcript of session follows -----
> > > > > queue-pr: Could not change to database 
> > (/usr/local/share/gnats-db/): does
> > > > > not exist.
> > > > > 554 "|/opt/local/libexec/gnats/queue-pr -q -d
> > > > > /usr/local/share/gnats-db/"... unknown mailer error 1
> > > > > Reporting-MTA: dns; cds11343.Cadence.COM
> > > > >
> > > > >
> > > > > My cron file is like this
> > > > > 5,15,25,35,45,55 * * * * /opt/local/libexec/gnats/queue-pr --run -d
> > > > > /usr/local/share/gnats/mhp-db/
> > > > > 0,10,20,30,40,50 * * * * /opt/local/libexec/gnats/queue-pr --run -d
> > > > > /usr/local/share/gnats/gnats-db/
> > > > >
> > > > >
> > > > > After I changed my cron file
> > > > > Now even when I create a problem through gnatsweb problem is sent but 
> > > > > I
> > > > > don't know where
> > > > >
> > > > > This is whats happening.
> > > > >
> > > > > Thanx for help
> > > > >
> > > > > Naveen
> > > > >
> > > > >
> > > > > At 08:01 PM 1/24/2002 -0700, you wrote:
> > > > > >On Thu, 24 Jan 2002, Naveen wrote:
> > > > > >
> > > > > > >
> > > > > > > Hey Rick
> > > > > > > Thanx a lot for help.
> > > > > > >
> > > > > > > Even After modifying the file .It still goes to previos 
> > database(i.e.
> > > > > > > gnats-db)
> > > > > > > I think the mail somehow is always sent to bugs.(in gnatsweb it 
> > is the
> > > > > > > default address)
> > > > > > > I don't know how to set up mail account for mhp so that mail 
> > goes to
> > > > > > mhp-db
> > > > > > > database.
> > > > > > >
> > > > > > > Or may be there is something else I am missing.Can you guide me .
> > > > > >
> > > > > >The lines below _do_ set up a mail address of "mph", and direct 
> > the mail
> > > > > >to mhp-db. Send email to "mph" manually and you should see it go 
> > into the
> > > > > >right database. Just send any email. It will go into the "pending"
> > > > > >category. Once you have that working, then somebody else can help you
> > > > > >configure gnatsweb for multiple databases, because I don't know 
> > how to do
> > > > > >it. I think that's your problem now, but please test sending email
> > > > > >manually first to make sure everything else is working.
> > > > > >
> > > > > >
> > > > > > > At 02:58 PM 1/24/2002 -0700, you wrote:
> > > > > > > >On Thu, 24 Jan 2002, Naveen wrote:
> > > > > > > >
> > > > > > > > > These are the following enteries
> > > > > > > > > gnats-admin:nsingh@tality.com
> > > > > > > > > bugs:steffens@tality.com
> > > > > > > > > bugs:"|/opt/local/libexec/gnats/queue-pr -q -d
> > > > > > /usr/local/share/gnats-db/"
> > > > > > > > > mhp:"/opt/local/libexec/gnats/queue-pr -q -d
> > > > > > > > /usr/local/share/gnats/mhp-db/"
> > > > > > > >
> > > > > > > >
> > > > > > > >You're missing some things. Try this:
> > > > > > > >
> > > > > > > >(NOTE: for the entries "tality-gnats" and "mph-gnats", you 
> > need to
> > > > use the
> > > > > > > >GNATS_SITE configuration value, which you can find in
> > > > gnats-adm/config,
> > > > > > > >with "-gnats" on the end. I just used guesses below.)
> > > > > > > >
> > > > > > > >gnats-admin:nsingh@tality.com
> > > > > > > >tality-gnats: bugs
> > > > > > > >bug-q:  "|/opt/local/libexec/gnats/queue-pr -q -d
> > > > > > /usr/local/share/gnats-db/"
> > > > > > > >bug-log: /usr/local/share/gnats/gnats-db/gnats-adm/bugs.log
> > > > > > > >bugs:    bug-q, bug-log
> > > > > > > >
> > > > > > > >mph-gnats: mph
> > > > > > > >mhp-q:   "/opt/local/libexec/gnats/queue-pr -q -d
> > > > > > > >/usr/local/share/gnats/mhp-db/"
> > > > > > > >mph-log: /usr/local/share/gnats/mph-db/gnats-adm/bugs.log
> > > > > > > >mph:     mph-q, nph-log
> > > > > > > >
> > > > > > > >You can remove the log entries if you wish. If you use them, make
> > > > sure the
> > > > > > > >gnats user can write to them (I just make the log files 666
> > > > permissions).
> > > > > > > >
> > > > > > > > > I am running this cron file
> > > > > > > > > 0-59 * * * * /opt/local/libexec/queue-pr -q -d
> > > > > > > > /usr/local/share/gnats/mhp-db/"
> > > > > > > >
> > > > > > > >You need a cron job for each database. You can string them 
> > together:
> > > > > > > > > 0-59 * * * * /opt/local/libexec/queue-pr -q
> > > > > > > >         -d /usr/local/share/gnats/gnats-db ;
> > > > > > > >                /opt/local/libexec/queue-pr -q
> > > > > > > >         -d /usr/local/share/gnats/mhp-db
> > > > > > > >
> > > > > > > >
> > > > > > > > > At 01:52 PM 1/24/2002 -0700, you wrote:
> > > > > > > > >
> > > > > > > > > >Each database gets a similar but complete set of mail 
> > aliases,
> > > > and
> > > > > > needs
> > > > > > > > > >it's own cron job. Please send us all the gnats-releated 
> > entries
> > > > > > in your
> > > > > > > > > >alias file.
> > > > > > > > > >
> > > > > > > > > >On Thu, 24 Jan 2002, Naveen wrote:
> > > > > > > > > >
> > > > > > > > > > > I added a new new database to my existing gnats
> > > > installation (i.e.
> > > > > > > > 3.1.x)
> > > > > > > > > > > I had a earliar database called gnats-db and now I created
> > > > a new
> > > > > > > > called
> > > > > > > > > > mp-db
> > > > > > > > > > >
> > > > > > > > > > > When ever I create a problem report for my new database 
> > it goes
> > > > > > > > into the
> > > > > > > > > > > previous database .
> > > > > > > > > > > I checked my aliases file.I have aliases defined for both.
> > > > > > > > > > >
> > > > > > > > > > > I am using it for first time .I  saw the flow chart 
> > ,according
> > > > > > to that
> > > > > > > > > > when
> > > > > > > > > > > you create a problem it sends a mail
> > > > > > > > > > > to the database-
> > > > > > > > > > > 1 How does it figure from the database name the mail 
> > address?
> > > > > > > > > > >
> > > > > > > > > > > I am using gnatsweb to send a mail  Does gnatsweb need 
> > to know
> > > > > > the mail
> > > > > > > > > > > address.
> > > > > > > > > > > When I log in to gnatsweb it shows me the new fields 
> > for the
> > > > > > > > database.But
> > > > > > > > > > > when I submit it goes to
> > > > > > > > > > > previous database with catgory as pending.
> > > > > > > > > > > It does that may be becoz the mail is send to bugs which 
> > > > > > > > > > > is
> > > > > > default
> > > > > > > > address
> > > > > > > > > > >
> > > > > > > > > > > How do I send mail to mp-db.DO I need to setup an account.
> > > > > > > > > > > How does this thing works?
> > > > > > > > > > >
> > > > > > > > > > > Man I am totally confused
> > > > > > > > > > >
> > > > > > > > > > > Can somebody please help me
> > > > > > > > > > >
> > > > > > > > > > > Thanx
> > > > > > > > > > > Naveen
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > _______________________________________________
> > > > > > > > > > > Help-gnats mailing list
> > > > > > > > > > > Help-gnats@gnu.org
> > > > > > > > > > > http://mail.gnu.org/mailman/listinfo/help-gnats
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >...RickM...
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >_______________________________________________
> > > > > > > > > >Help-gnats mailing list
> > > > > > > > > >Help-gnats@gnu.org
> > > > > > > > > >http://mail.gnu.org/mailman/listinfo/help-gnats
> > > > > > > > >
> > > > > > > >
> > > > > > > >...RickM...
> > > > > > >
> > > > > >
> > > > > >...RickM...
> > > > >
> > > >
> > > >...RickM...
> > >
> >
> >...RickM...
> 

...RickM...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]