short Q

jekillen jekillen at prodigy.net
Tue Nov 27 16:14:14 PST 2007


On Nov 27, 2007, at 2:50 AM, Gerard Seibert wrote:

>> 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.
No, I was referring to what ever runs the rc script. Is that init?
( could go back and look at Absolute BSD, and as a matter
of fact I am awaiting delivery of the new edition as I write this.
>
> 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.
Originally, I was in a hurry and was having trouble with ports. This 
approach had
worked for three machines. But one I was having endless problems with. 
Meanwhile
I got it together to get ports to work. But the port did not install  a 
startup script for
MySQL, at least in /etc/rc.d,
>
>
Thank you for your response.
Jeff K



More information about the freebsd-questions mailing list