From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 08:57:53 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 5C176106568D for ; Wed, 1 Oct 2008 08:57:53 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1213C8FC2D for ; Wed, 1 Oct 2008 08:57:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1KkxWp-000OVZ-7u; Wed, 01 Oct 2008 12:57:51 +0400 To: Da Rock References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> From: Boris Samorodov Date: Wed, 01 Oct 2008 12:57:45 +0400 In-Reply-To: <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> (Da Rock's message of "Wed\, 01 Oct 2008 17\:54\:09 +1000") Message-ID: <84763862@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 08:57:53 -0000 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. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve