From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:07:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E7A61065687 for ; Wed, 1 Oct 2008 11:07:24 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 6C16F8FC21 for ; Wed, 1 Oct 2008 11:07:24 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so474745wfg.7 for ; Wed, 01 Oct 2008 04:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=aPgni5oq6Myo2vSnlTM/+g8KiNYPy1gUL/PvcioPFfQ=; b=NuY78CjUxKuxogdZ6aFzzRHHdFiH9W0o8Tu7ipvTkEeMCPQPCQ8a+fAeNsoirNkxuJ DeeINblpdZElygAGfu1vg+U0cbjucMKgAMAg20y+PdfUXfmyYCYsFvLeknXPmjBxr6QA 3RHB8Svb39t3VMBdB9Efeu8NrALfHYhvlerHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=FiBB6z58zysdK9H6iGQ3UE553ZfAir1KSQRF4cRL/EjQULzT7TS9nuhVF/EHGRN447 9CjLzSZVjwfWmXdwE3J4Fbp2gK0nElmvxbzVWUCXOxJw3ElN6519PJS7I17/HD7XDdML k3CeF3pPlsmqYzZSV6GwleX4z3wZb/vdEW6MA= Received: by 10.142.86.7 with SMTP id j7mr3318492wfb.78.1222857999119; Wed, 01 Oct 2008 03:46:39 -0700 (PDT) Received: by 10.142.154.10 with HTTP; Wed, 1 Oct 2008 03:46:39 -0700 (PDT) Message-ID: <139b44430810010346s5d0ac48dy8f24165c81eabe46@mail.gmail.com> Date: Wed, 1 Oct 2008 12:46:39 +0200 From: "Valentin Bud" To: "Da Rock" In-Reply-To: <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> <84763862@bb.ipt.ru> <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:07:24 -0000 On Wed, Oct 1, 2008 at 12:39 PM, Da Rock wrote: > > On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: > > Da Rock 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 > > _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. > Yes you can without put it in /etc/rc.conf. Use the force word. # /usr/local/etc/rc.d/mysql-server forcestart all the best, v > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >