Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 19:48:06 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-stable@freebsd.org
Subject:   Re: Failover-HA-Setup
Message-ID:  <eolqpr$po3$2@sea.gmane.org>
In-Reply-To: <1169046617.23831.46.camel@richard02>
References:  <1169038057.23831.24.camel@richard02>	<200701171608.55482.nvass@teledomenet.gr> <1169046617.23831.46.camel@richard02>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Richard wrote:

> Am Mittwoch, den 17.01.2007, 16:08 +0200 schrieb Nikos Vassiliadis:

>> I remember that heartbeat can call any script you it tell to.
>> So, you have to let heartbeat start MySQL. rc will just start
>> heartbeat.
> Yes, you are right, and exactly that was my problem. It didn't start.

Hmm, do you have more information - in which way did it fail? rc.d
scripts (including those for mysql) bring in variables via rc.subr:

----
#
# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool):  Set to "NO" by default.
#                       Set it to "YES" to enable MySQL.
# mysql_limits (bool):  Set to "NO" by default.
#                       Set it to yes to run `limits -e -U mysql`
#                       just before mysql starts.
# mysql_dbdir (str):    Default to "/var/db/mysql"
#                       Base database directory.
# mysql_args (str):     Custom additional arguments to be passed
#                       to mysqld_safe (default empty).
#

. /etc/rc.subr

name="mysql"
rcvar=`set_rcvar`

load_rc_config $name

: ${mysql_enable="NO"}
: ${mysql_limits="NO"}
: ${mysql_dbdir="/var/db/mysql"}
: ${mysql_args=""}
----

Are you saying this part has failed, or that you don't have the proper
variables in /etc/rc.conf?


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrm9mldnAQVacBcgRAplqAJ9U9a1NHwq3qsI8wUlWZH/bnUSr1QCfb7kz
/Zxh8z9C8NLt7Fh8IvfDKm4=
=exS4
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eolqpr$po3$2>