Subject: Re: How to contril rc scripts start order on NetBSD
To: netbsd <netbsd@purk.ee>
From: Mr Mine Sakiyama <msakiyam@yahoo.com>
List: netbsd-help
Date: 05/09/2002 13:14:40
Thanks for thw quick responce.. I have put both
mysql.server AND snort start scrip in /etc/rc.local in
the order I like them to start, and it worked.
Mine
--- netbsd <netbsd@purk.ee> wrote:
> start your daemon in rc.local
>
> Greetings
>
> ----- Original Message -----
> From: "Mr Mine Sakiyama" <msakiyam@yahoo.com>
> To: <netbsd-help@netbsd.org>
> Cc: <msakiyam@nortelnetworks.com>
> Sent: Thursday, May 09, 2002 10:25 PM
> Subject: How to contril rc scripts start order on
> NetBSD
>
>
> > Hello,
> > I am running NetBSD current (NetBSD 1.5ZC) as
> > NAT/firewall router using ipfilter. Recently I
> have
> > installed ACID and snort using mysql database. I
> have
> > created a simple snort start scrip and put it in
> > /etc/rc.d along with mysql.server scripts that
> came
> > with MySQL install. When the system starts, snort
> > always start before mysql and complains that it
> could
> > not connect to the mysql database. How can I
> configure
> > so mysql always start earlier than snort? I have
> put
> > /usr/local/bin/snort -D -c /etc/snort.conf
> > in /etc/rc.local but thinking that rc.local
> excetes
> > after all the scripts in /etc/rc.d ran. I can
> start
> > snort no problem after the sysems comes up fully.
> I
> > have read bunch of articles and also documents but
> not
> > finding the right answer. Also I am not sure how
> to
> > use the rcorder directives such as REQUIRE: and
> > PROVIDE: ..(where do I put them??) If anyone
> could
> > give me an insights on this , I would greatfully
> > appriciate it..
> > thanks
> >
> > Mine
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Shopping - Mother's Day is May 12th!
> > http://shopping.yahoo.com
> >
>
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com