Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Apr 2005 15:59:48 -0600
From:      Ed Stover <estover@nativenerds.com>
To:        Christopher Lane <colane@inteliport.com>, questions@freebsd.org
Subject:   Re: question about mysql-server.sh
Message-ID:  <1112738388.3137.13.camel@red.nativenerds.com>
In-Reply-To: <4252A251.2060408@inteliport.com>
References:  <4252A251.2060408@inteliport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



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