Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2008 20:39:47 +1000
From:      Da Rock <rock_on_the_web@comcen.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: mysql rc script failure - correction: most installed rc scripts not running manually
Message-ID:  <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au>
In-Reply-To: <84763862@bb.ipt.ru>
References:  <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> <84763862@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote:
> Da Rock <rock_on_the_web@comcen.com.au> writes:
> > On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote:
> 
> >> Has anyone else had trouble with starting mysql server with the rc
> >> script?
> >> 
> >> I've only just installed from ports (as a dependency, mind) and
> >> technically it should just start when you run the rc script - it sets up
> >> the db dirs and stuff so it can just run. But I can't get it to do the
> >> setup stuff automatically, and so the script fails. I've done the setup
> >> manually before so its no real biggy, but I imagine others would be more
> >> than a little frustrated.
> >> 
> >> Anyone else have this trouble? I just realised I had to do this last
> >> time too...
> >> 
> >> For reference: I'm starting the script manually for testing at this
> >> point (if that makes a difference- which I believe it shouldn't).
> >
> > Manually running port installed rc scripts is not working manually. I'm
> > trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of
> > these will work when run manually- even on different machines and bsd
> > versions (all 6.x).
> >
> > Is it just me?
> 
> Sorry for may be a dumb question: did you define an
> <daemon>_enable="YES" at /etc/rc.conf[.local]? For more info
> you may look at the script you are trying to start.

So are you saying I can't start a script manually without enabling it in
rc.conf? I was not under that impression... I thought it could be
started manually for testing before setting it for automatic startup-
based on my reading in the handbook and man pages.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1222857587.27652.8.camel>