From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 18:45:10 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8779B16A407 for ; Wed, 17 Jan 2007 18:45:10 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0899513C4D0 for ; Wed, 17 Jan 2007 18:45:10 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1H7FmQ-0005hq-DR for freebsd-stable@freebsd.org; Wed, 17 Jan 2007 19:45:02 +0100 Received: from 89-172-39-6.adsl.net.t-com.hr ([89.172.39.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jan 2007 19:45:02 +0100 Received: from ivoras by 89-172-39-6.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jan 2007 19:45:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Wed, 17 Jan 2007 19:48:06 +0100 Lines: 63 Message-ID: References: <1169038057.23831.24.camel@richard02> <200701171608.55482.nvass@teledomenet.gr> <1169046617.23831.46.camel@richard02> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5BFB29E29AB9BC04E5039787" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-39-6.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <1169046617.23831.46.camel@richard02> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: Failover-HA-Setup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 18:45:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5BFB29E29AB9BC04E5039787 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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). # =2E /etc/rc.subr name=3D"mysql" rcvar=3D`set_rcvar` load_rc_config $name : ${mysql_enable=3D"NO"} : ${mysql_limits=3D"NO"} : ${mysql_dbdir=3D"/var/db/mysql"} : ${mysql_args=3D""} ---- Are you saying this part has failed, or that you don't have the proper variables in /etc/rc.conf? --------------enig5BFB29E29AB9BC04E5039787 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig5BFB29E29AB9BC04E5039787--