Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 05:50:56 -0500
From:      Gerard Seibert <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: short Q
Message-ID:  <20071127055051.726E.GERARD@seibercom.net>
In-Reply-To: <2854bfb4a1bd36877e398b36f610daf5@prodigy.net>
References:  <20071126055614.5FD1.GERARD@seibercom.net> <2854bfb4a1bd36877e398b36f610daf5@prodigy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> On November 26, 2007 at 07:53PM jekillen wrote:

> > Did you install this from ports? If so. the script would have been 
> > placed
> > there all ready.
> Yes, that is what provoked the original question. I had built and 
> installed
> from source tarball in the past. But one machine was always a problem.
> Once I did install from ports I was lacking info. The startup script 
> was not
> in /etc/rc.d (although I have subsequently got into on 
> /usr/local/etc/rc.d)

That is where it belongs!

> I had followed instructions from MySQL documentation and put the script
> they supplied in /etc/rc.d; mysql.server, but for some reason the script
> did not actually start MyQSL. But the systems seems to look for some
> thing with mysql in the name and runs it if it is in /etc/rc.d. That is 
> how
> I figured out what to do. (or maybe the system will try to run anything
> that is in /etc/rc.d if there is a corresponding enable line in rc.conf 
> it
> understands). The academic question is, is the program that runs the
> startup routine, itself a script or is it a binary?
> Thanks

If you are referring to the script in '/usr/local/etc/rc.d', it is just a
plain script. You can edit it.

Is there a specific reason you installed from a tarball rather than use the
ports system? I have always installed MySQL from ports without any problems.


-- 
Gerard



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