RE: Failover-HA-Setup

2007-01-17 Thread Bill Milford
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard
> Sent: Wednesday, January 17, 2007 8:37 AM
> To: freebsd-stable@freebsd.org
> Subject: Re: Failover-HA-Setup
> 
> Am Mittwoch, den 17.01.2007, 17:25 +0300 schrieb Dmitriy Kirhlarov:
> > Hi!
> >
> > On Wed, Jan 17, 2007 at 01:47:37PM +0100, Richard wrote:
> >
> > > I am running heartbeat on a STABLE-system, the failover works fine for
> > > IP-adresses and I am able to see that a
> >
> > Why you ignore carp(4) and ports/net/ifstated?
> I asked for a better solution in my OP...
> But since I am familiar with heartbeat on Linux, I thought I could give
> it a try...
> 
> >
> > > '/usr/local/etc/rc.d/mysql-server start' statement is issued. BUT since
> > > the variables for mysql are not set in rc.conf (Otherwise it would be
> > > started at startup), it isn't starting at all.
> >
> > You can use in /etc/rc.conf:
> >
> > [ -r /usr/local/etc/rc.mysql.conf ] && . /usr/local/etc/rc.mysql.conf
> >
> > and using this include for manipulate with mysql start variables.
> >
> > Your shared IP address moving with script, I think. This script can
> > modify /usr/local/etc/rc.mysql.conf also.
> At the moment, I am just using heartbeat which is capable of moving IPs
> and Services from one Node to the other.
> 
> 
> Thx!
> 
> Richard
> 
> ___

You can modify the keyword section of the /usr/local/etc/rc.d/mysql-server(.sh) 
and add "nostart"  This
allows you to start it manually with /usr/local/etc/rc.d/mysql-server start, 
but it will not start at boot
time as rcorder skips files with the nostart keyword.  The startup variable can 
then be in /etc/rc.conf

Bill

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: configure scripts ignores parameters

2006-03-03 Thread Bill Milford
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Nicolas Rachinsky
> Sent: Friday, March 03, 2006 5:20 AM
> To: freebsd-stable@FreeBSD.ORG
> Subject: Re: configure scripts ignores parameters
> 
> * "Elisey O. Savateev" <[EMAIL PROTECTED]> [2006-03-03 16:10 +0500]:
> > Fri, 3 Mar 2006 11:56:09 +0100
> > Nicolas Rachinsky <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Do you have shells/bash (bash-3.1.10) installed?
> > >
> >
> > Yes. I have.
> 
> 
> I had one problem here, but unfortunately not the time to really look
> at it (and I don't have time to try it again).
> 
> My bash3 here did not correctly process
> | for foo
> | do echo "$foo"
> | done
> A similar contruct seems to be in some (most, all?) configure scripts,
> which automatically use bash to be executed (if it's available).
> 
> I installed shells/bash2 (bash-2.05b.007_4) and my problem
> disappeared.
> 
> HTH,
> Nicolas
> 
> --
> http://www.rachinsky.de/nicolas
[Bill Milford] 
I am having the some problem.  My temporary fix is to either install 
bash-3.0.16_1 which is the
latest bash package available or you can set CONFIG_SHELL=/bin/sh in your 
environment.  
The configure scripts will use bash if available and when it re-executes 
itself, somehow the
command line options do not get passed correctly.  Even the most simple option: 
./configure --help
fails.  It was causing the previously reported issues with the apr-db4 port.  
It causes problems
for me in the OpenCA configure script.  I suspect that it will affect many 
ports that use
./configure scripts to pass parameters.  I am going to re build all of my ports 
when this is
finally resolved.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pkg_sign & pkg_check missing with ports openssl

2006-02-13 Thread Bill Milford
I am using the ports beta version of openssl in order to try to get OpenCA 
working on a 6.1pre release system.


I buildworld and installworld with the following in /etc/make.conf
NO_OPENSSL=true
WITH_OPENSSL_PORT=yes
WITH_OPENSSL_BETA=yes

This doesn't install pkg_sign and pkg_check since they depend on openssl.

I installed the ports for openssl-beta, openssh-portable and heimdal to add 
back in the crypto left out of the base system, but I cannot figure out how 
to get pkg_sign and pkg_check back and if I even need to worry about it.


Bill 


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"