From owner-freebsd-questions@FreeBSD.ORG Tue May 12 05:45:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5005EA89 for ; Tue, 12 May 2015 05:45:49 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BC34E18D0 for ; Tue, 12 May 2015 05:45:48 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t4C5jeYJ079343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 12 May 2015 07:45:41 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t4C5jeMX079340; Tue, 12 May 2015 07:45:40 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 12 May 2015 07:45:40 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Motty Cruz cc: freebsd-questions@freebsd.org Subject: Re: Help! carp slave take over as master at boot! In-Reply-To: <55511AF3.3030408@gmail.com> Message-ID: References: <55511AF3.3030408@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2015 05:45:49 -0000 On Mon, 11 May 2015 14:11-0700, Motty Cruz wrote: > Hello, I have two machines running FreeBSD 10.1 Release. Machine A is the > master in Carp with advskew 20 and Machine B slave with advskew 200 both are > set to advbase 10. however, slave machine becomes Master on boot; > > my questions is, how do I configure both machines so if reboot any of the > machines whatever machine is Master stays master if secondary machine reboot. You should augment your posting with facts. You may withhold any sensitive information such as IP addresses, but a copy of the relevant lines from /etc/rc.conf and /etc/sysctl.conf would be helpful. Have you tried setting: net.inet.carp.preempt=1 in /etc/sysctl.conf? Try the command: sysctl net.inet.carp.preempt=1 to see any immediate effect. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Tue May 12 06:16:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F37DE0C for ; Tue, 12 May 2015 06:16:05 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CDB51BF6 for ; Tue, 12 May 2015 06:16:04 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ys3Tw-0002KT-5P for freebsd-questions@freebsd.org; Tue, 12 May 2015 08:15:56 +0200 Received: from pool-72-66-1-32.washdc.fios.verizon.net ([72.66.1.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 May 2015 08:15:56 +0200 Received: from nightrecon by pool-72-66-1-32.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 May 2015 08:15:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: c_rehash pgm missing from 10.1 Date: Tue, 12 May 2015 02:15:47 -0400 Lines: 25 Message-ID: References: <554E3771.5060709@gmail.com> <20150509180516.3471c1ae@curlew.lan> <554E4119.9010206@gmail.com> <5550FCBE.1020909@radel.com> <555105C1.50401@gmail.com> <55510CED.4040109@radel.com> <555119E7.7050808@gmail.com> <55512AAF.1040404@radel.com> <87fv72wj9c.fsf@elk.localnet> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-66-1-32.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2015 06:16:05 -0000 Carl Johnson wrote: [snip] > > Would you please tell us where in the source the script is located. I > have source installed (10.1-RELEASE), but all I have is the man page and > no script. The output of 'locate c_rehash' is: > /usr/ports/mail/cone/scripts/c_rehash > /usr/share/openssl/man/man1/c_rehash.1.gz > /usr/src/crypto/openssl/doc/apps/c_rehash.pod > /usr/src/secure/usr.bin/openssl/man/c_rehash.1 > The file in ports looks like it might be it, but that is not in > /usr/src. > It's not in base system. As far as the /usr/src tree goes, I think it would have been in /usr/src/crypto/openssl/tools - except it isn't. Install the /usr/ports/security/openssl port if you find you require it. As to why, it's because Perl is no longer in base either: http://lists.freebsd.org/pipermail/freebsd-security/2005-December/003436.html -Mike