Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2005 20:05:37 -0700
From:      Joshua Lewis <joshua.lewis@prideindesign.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Startup scripts question
Message-ID:  <BE89C391.41F%joshua.lewis@prideindesign.com>

next in thread | raw e-mail | index | archive | help
How do startup scripts work?

I added:

mysql_enable=3D=B2YES=B2

But I don=B9t think it is working. I had rebooted my system the other day and
my mail server stopped working (postfix reading from mysql tables) and I
tried looking at my running processes:

ps =ADax |grep sql=20

and nothing was returned. So I guessed mysql was not running.

I tried:

mysql start

and I got a socket error. I usually get this error when SQL was not started
properly. So I ran

/usr/local/etc/rc.d/mysql-server.sh start

And low and behold it was all working. So how do startup scripts work. Did =
I
add the wrong value to my /etc/rc.conf file?

Or did I miss something somewhere?

Does the entry in /etc/rc.conf correlate to the startup script. Should I
change my rc.conf file to read

mysql-server_enable=3D=B2YES=B2

Any advice would be welcome. Thanks for your time.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE89C391.41F%joshua.lewis>