From owner-freebsd-questions@FreeBSD.ORG Tue Apr 5 21:59:49 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03CF216A4CE for ; Tue, 5 Apr 2005 21:59:49 +0000 (GMT) Received: from mail.nativenerds.com (host-70-0-111-24.midco.net [24.111.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E9B943D55 for ; Tue, 5 Apr 2005 21:59:48 +0000 (GMT) (envelope-from estover@nativenerds.com) Received: from red (host-14-37-230-24.midco.net [24.230.37.14]) j35MCAxX098909; Tue, 5 Apr 2005 16:12:11 -0600 (MDT) (envelope-from estover@nativenerds.com) From: Ed Stover To: Christopher Lane , questions@freebsd.org In-Reply-To: <4252A251.2060408@inteliport.com> References: <4252A251.2060408@inteliport.com> Content-Type: text/plain Organization: Native Nerds Date: Tue, 05 Apr 2005 15:59:48 -0600 Message-Id: <1112738388.3137.13.camel@red.nativenerds.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail.nativenerds.com Subject: Re: question about mysql-server.sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: estover@nativenerds.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 21:59:49 -0000 rcsubr is the culprit, when you added the line in the rc.conf then all was well. You can add a line in the rc.conf and then run the /usr/local/etc/rc.d/mysql-server.sh start command with out having to reboot. Personally I really dislike rcsubr, makes me think that FreeBSD is drifting toward linux's overly comlexness... a script to start a script that starts a script that starts a script, blah blah blah.... On Tue, 2005-04-05 at 10:36 -0400, Christopher Lane wrote: > Hi, > > Long story made short: The mysql-server.sh that came with > mysql-server-4.1.10a (installed from cvsup'ed ports) wouldn't work until > after I rebooted the server. It's working now, so I know I shouldn't > complain, but anyone know what happened? > > Long story: > 1. Minimum installation, added ports distribution, cvsup to latest ports. > 2. cd /usr/ports/mysql41-server; make install > 3. '/usr/local/etc/rc.d/mysql-server.sh start' does nothing. > 4. I noticed that rc_subr wasn't installed, even though freshports says > it is required. So I installed rc_subr from ports, but still no love. > 5. I put mysql_enable="YES" in rc.conf (since I would soon want it there > anyway) and restarted the server. > 6. mysql-server.sh works like a charm now. > > Thanks in advance to anyone who can help shine some light on what might > have changed that made mysql-server.sh work. > > Chris > > _______________________________________________ > 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"