Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-stable Digest, Vol 351, Issue 2

1 view
Skip to first unread message

freebsd-sta...@freebsd.org

unread,
Apr 6, 2010, 1:28:39 AM4/6/10
to freebsd...@freebsd.org
Send freebsd-stable mailing list submissions to
freebsd...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
or, via email, send a message with subject or body 'help' to
freebsd-sta...@freebsd.org

You can reach the person managing the list at
freebsd-st...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-stable digest..."


Today's Topics:

1. Re: CPU problems after 8.0-STABLE update (Akephalos)
2. sysctl(?) problem on boot in 8-STABLE (Jeff Blank)
3. Re: sysctl(?) problem on boot in 8-STABLE (Jeff Blank)
4. Re: fault tolerant web servers on freebsd (Mike Jakubik)
5. Re: FreeBSD-8 Dual Booting With Pre-Installed Windows 7?
(S Roberts)
6. Re: fault tolerant web servers on freebsd (Maciej Jan Broniarz)
7. Re: fault tolerant web servers on freebsd (Andriy Gapon)
8. Re: sysctl(?) problem on boot in 8-STABLE (Mikolaj Golub)
9. Re: sysctl(?) problem on boot in 8-STABLE (Jeff Blank)
10. Re: [ HEADS UP ] Ports unstable for the next 10 days
(Ion-Mihai Tetcu)
11. ldd manpage - example does not work (Rainer Hurling)
12. Re: ldd manpage - example does not work (Garrett Cooper)
13. Re: ldd manpage - example does not work (Michael Butler)
14. Re: fault tolerant web servers on freebsd (Pete French)
15. Re: IPFW and NAT woes on 8-STABLE (Freddie Cash)
16. Re: [ HEADS UP ] Ports unstable for the next 10 days
(Antonio Olivares)
17. Re: [ HEADS UP ] Ports unstable for the next 10 days
(Garrett Cooper)
18. Re: fault tolerant web servers on freebsd (Tonix (Antonio Nati))
19. Re: ldd manpage - example does not work (Rainer Hurling)
20. Re: fault tolerant web servers on freebsd (Maciej Jan Broniarz)
21. Re: fault tolerant web servers on freebsd (Tonix (Antonio Nati))
22. Re: fault tolerant web servers on freebsd (jfa...@goldsword.com)
23. FreeBSD 7.3/i386 libalias related panic (Artem Kim)
24. Re: ldd manpage - example does not work (Dominic Fandrey)
25. Re: fault tolerant web servers on freebsd (Maciej Jan Broniarz)
26. Re: fault tolerant web servers on freebsd (Adam Vande More)
27. Re: [ HEADS UP ] Ports unstable for the next 10 days
(Pascal Stumpf)
28. Re: fault tolerant web servers on freebsd (Mehmet Erol Sanliturk)
29. binding on 127.0.0.1 not working after upgrade to 7.3 (Mikhail T.)
30. Re: binding on 127.0.0.1 not working after upgrade to 7.3
(Jeremy Chadwick)
31. Re: binding on 127.0.0.1 not working after upgrade to 7.3
(Mikhail T.)
32. Re: binding on 127.0.0.1 not working after upgrade to 7.3
(Jeremy Chadwick)
33. Re: install touching mbr (Randi Harper)


----------------------------------------------------------------------

Message: 1
Date: Mon, 5 Apr 2010 12:54:06 +0300
From: Akephalos <akephalos...@gmail.com>
Subject: Re: CPU problems after 8.0-STABLE update
To: Andriy Gapon <a...@icyb.net.ua>
Cc: Attilio Rao <att...@freebsd.org>, freebsd...@freebsd.org
Message-ID: <20100405125406.633777...@gmail.com>
Content-Type: text/plain; charset=US-ASCII

On Mon, 05 Apr 2010 12:45:34 +0300
Andriy Gapon <a...@icyb.net.ua> wrote:

>
> So we weren't fast enough and lost you :-(
> Holidays, you know.
>
> --
> Andriy Gapon

It's ok, I had to experiment fast with different things. My intention is to rebuild the system up to the next week-end - if I have the time, with overnight buildings, maybe tomorrow or so and I'll come up with the answers you require.

Cheers,
Mihai


------------------------------

Message: 2
Date: Mon, 5 Apr 2010 10:56:22 -0400
From: Jeff Blank <j...@mr-happy.com>
Subject: sysctl(?) problem on boot in 8-STABLE
To: freebsd...@freebsd.org
Message-ID: <20100405145...@mr-happy.com>
Content-Type: text/plain; charset=us-ascii

Hi,

I upgraded an 8-STABLE box to r206119 and am now unable to boot
multi-user. I found that it hangs at line 58/59 of
/etc/rc.d/initrandom:

( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
| dd of=/dev/random bs=8k 2>/dev/null

when I run each of these commands by hand, I get only as far as
'sysctl -a', which seems to exit normally but leaves my keyboard
unresponsive (actually acting like I'm leaning on the <enter> key).
more digging reveals 'sysctl dev.uart' to be what triggers it.

this is the entirety of dev.uart from r204154:

dev.uart.0.%desc: 16550 or compatible
dev.uart.0.%driver: uart
dev.uart.0.%location: handle=\_SB_.PCI0.UAR1
dev.uart.0.%pnpinfo: _HID=PNP0501 _UID=1
dev.uart.0.%parent: acpi0
dev.uart.0.wake: 0

seems about the same from r206119.

I've attached boot output from r206119.

Any ideas? any other info I need to provide?

thanks much,
Jeff


------------------------------

Message: 3
Date: Mon, 5 Apr 2010 11:58:07 -0400
From: Jeff Blank <j...@mr-happy.com>
Subject: Re: sysctl(?) problem on boot in 8-STABLE
To: freebsd...@freebsd.org
Message-ID: <20100405155...@mr-happy.com>
Content-Type: text/plain; charset=us-ascii

On Mon, Apr 05, 2010 at 10:56:22AM -0400, Jeff Blank wrote:
> I've attached boot output from r206119.

whoops--either I didn't or it got tanked. sorry.
http://web.mr-happy.com/mlf/20100405-boot-r206119.txt

Jeff


------------------------------

Message: 4
Date: Mon, 05 Apr 2010 11:45:38 -0400
From: Mike Jakubik <mike.j...@intertainservices.com>
Subject: Re: fault tolerant web servers on freebsd
To: freebsd...@freebsd.org
Message-ID: <4BBA05A...@intertainservices.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

You may want to check out carp(4).

http://www.freebsd.org/cgi/man.cgi?query=carp

On 4/5/2010 7:29 AM, Maciej Jan Broniarz wrote:
> Hi All,
>
> I am thinking about building a fault tolerant web servers running FreeBSD. The servers would be serving web sites using jails+apache+php+mysql.
> Would anyone be so kind, as to give me some advice about building such a solution? I have read a lot about freebsd cluster, but it was focused on computing clusters, and not fault tolerant one.
>
> If anyone has some experience with the issue, I'll be very grateful.
>
> Best regards,
> mjb
> _______________________________________________
> freebsd...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"
>


------------------------------

Message: 5
Date: Mon, 5 Apr 2010 17:08:18 +0100
From: S Roberts <sta...@vickiandstacey.com>
Subject: Re: FreeBSD-8 Dual Booting With Pre-Installed Windows 7?
To: Masoom Shaikh <masoom...@gmail.com>, FreeBSD Mailing List
<freebsd-...@freebsd.org>, freebsd...@freebsd.org
Cc: Warren Block <wbl...@wonkity.com>
Message-ID: <20100405170818.00001dc7@unknown>
Content-Type: text/plain; charset=ISO-8859-1

Hello Masoom,

On Mon, 5 Apr 2010 20:56:39 +0530
Masoom Shaikh <masoom...@gmail.com> wrote:

> On Mon, Apr 5, 2010 at 7:13 PM, S Roberts <sta...@vickiandstacey.com>
> wrote:
> > Hello Masoom,
> >
> > On Mon, 5 Apr 2010 18:54:12 +0530
> > Masoom Shaikh <masoom...@gmail.com> wrote:
> >
> >> On Mon, Apr 5, 2010 at 6:45 PM, S Roberts
> >> <sta...@vickiandstacey.com> wrote:
> >> > Hi Masoom,
> >> >   Good to hear from you..,
> >> >
> >> > On Mon, 5 Apr 2010 18:32:57 +0530
> >> > Masoom Shaikh <masoom...@gmail.com> wrote:
> >> >
> >> >> On Sun, Apr 4, 2010 at 2:52 PM, Stacey Roberts
> >> >> <sta...@vickiandstacey.com> wrote:
> >> >> > Hello Leslie,
> >> >> >      Good to hear from you..,
> >> >> >
> >> >> > On Sun, 04 Apr 2010, Leslie Jensen wrote:
> >> >> >>
> >> >> >> http://www.mail-archive.com/freebsd-...@freebsd.org/msg229158.html
> >> >> >>
> >> >> >> /Leslie
> >> >> >>
> >> >> >
> >> >> > I had a look at the thread - thanks..,
> >> >> >
> >> >> > The documentation for EasyBCD documentation itself states that
> >> >> > its compatible with windows vista - there's nowhere that
> >> >> > actually states that it supports windows 7.
> >> >>
> >> >> I have been using EasyBCD on Win7 + FBSD8 for some 6+ months now
> >> >>
> >> >
> >> > That's great to hear.., Can you confirm that you started off
> >> > with a pre-installed windows 7 machine / single disk and then
> >> > **added** FreeBSD, please?
> >>
> >> Win7 was not pre-installed. I have three partitions,
> >> part1(c:) - NTFS
> >> part2(d:) - FAT32
> >> part3 - UFS2, not visible to Win7, visible in Disk Management
> >> console as free space
> >>
> >> Win7 is installed on part1, part2 is data drive so that bot OSes
> >> can read/write do not want to use fusefs
> >>
> >> first install Win7, then FreeBSD, then boot in Win7 and use
> >> EasyBCD to add FreeBSD as another entry
> >> remember to advise FreeBSD to not touch MBR.
> >>
> >
> > Understood. So for your installation of FreeBSD, selecting "None
> > Leave Master Boot Record untouched" actually did work - and you did
> > **NOT** find that sysinstall still went ahead and messed with the
> > mbr?
> >
> > Sorry for the questions, but I recall a recent thread where a few
> > people confirmed that this option does not behave as expected,
> > and folks ended up with broken windows mbrs.
>
> yes,
> http://lists.freebsd.org/pipermail/freebsd-stable/2010-April/056100.html
> thread is actually correct, for me it is fresh install, in your case
> it is little tricky to get it straight for a fresh install you can
> install FreeBSD first then Win7, and then use EasyBSD. done.
>

Wiping the machine as you suggest is not an option.

This is a new, windows 7 preinstalled machine that came with **NO**
windows 7 install disks.

> i guess, i have done that too. i.e. installed FreeBSD after Win7, then
> used Win7 CD to repair
> but take care, it can fail with that irritating send, don't send
> dialog box
>

I'd have like to have known this earlier.., I wasn't set to start until
later this evening, so I guess its good to have found this out now.

> so here is one trick if you got guts to try :). I recently got saved
> with this trick
>
> you have Win7 pre-installed, now free up some space and let FreeBSD
> install, select the option "do not touch mbr". Next boot you will find
> Win7 gone. Boot from Win7 CD and let it install at same location where
> it is/was installed. Setup will warn you of already existing
> installation. It might additionally say that it will move old
> installation to "Windows.old" folder. Ignore this warning and let
> setup continue. If I remember correctly the second option is
> Extracting Windows Files(percentage). Let it come to second step and
> execute it for a 5 mins, then cancel the setup, ignore all warning and
> it will undo all changes, but by that time it will already have fixed
> the bootloader problem. After you cancel setup, give it all time it
> needs to undo, don't force reboot/power down.
>
> hope this will enable you too install FreeBSD, a great development
> environment have fun!
>

As I said above, the machine did not come with windows 7 installation
media included.

W Block earlier referred to the sysinstall mbr issue as a "rare bug",
but if you have yourself encountered this bug 6 months ago, then it
would appear to have been broken for a long time.

A search of PRs show;
Mon, 26 Sep 2005 14:37:58 GMT: bin/86600: sysinstall(8): Sysinstall
boot manager screen is misleading

Tue, 26 Feb 2008 09:03:41 -0800 (PST): bin/121124: sysinstall(8):
FreeBSD 6.3 installation deletes MBR partition

Sat, 20 Dec 2008 00:11:51 GMT: bin/129771: sysinstall(8): 7.1 RC1
sysinstalls installs boot0 even when told not to

I've been managing FreeBSD servers for years now, so I guess this type
of issue did slip through my attention gap - even so, going by the
earliest date there, seems like this ball has been dropping for a long
time :-/

Thanks for the suggestions, Masoom.

Regards,

S Roberts

> >
> > Thanks again, Masoom.
> >
> > Regards,
> >
> > S Roberts
> >
> >> have fun!!
> >>
> >> >
> >> > Tell me something - Which of the 3 FreeBSD boot manager options
> >> > did you select, please?
> >>
> >> don't let FreeBSD touch your MBR, Win7 won't like that
> >>
> >> >
> >> > Thanks!
> >> >
> >> > Regards,
> >> >
> >> > S Roberts
> >> >
> >> >
> >> >> >
> >> >> > Or, am I missing something?
> >> >> >
> >> >> > I noted that the link by the responder in the thread also
> >> >> > refers to a document that is based on windows vista, but will
> >> >> > review this as well.
> >> >> >
> >> >> > Thanks!
> >> >> >
> >> >> > Regards,
> >> >> >
> >> >> > S Roberts
> >> >> >
> >> >> >
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> > Hello,
> >> >> >> > Sorry if this has been asked before, but can some point me
> >> >> >> > to where I can find info on installing FreeBSD-8 to a
> >> >> >> > windows-7 pre-installed machine (single disk) in a
> >> >> >> > dual-boot set up, please?
> >> >> >> >
> >> >> >> > Any assistance is appreciated.
> >> >> >> >
> >> >> >> > Thanks.
> >> >> >> >
> >> >> >> > Regards,
> >> >> >> >
> >> >> >> > S Roberts
> >> >> >> > _______________________________________________
> >> >> >> > freebsd-...@freebsd.org mailing list
> >> >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> >> >> > To unsubscribe, send any mail to
> >> >> >> > "freebsd-questi...@freebsd.org"
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> > _______________________________________________
> >> >> > freebsd-...@freebsd.org mailing list
> >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> >> > To unsubscribe, send any mail to
> >> >> > "freebsd-questi...@freebsd.org"
> >> >> >
> >> >
> >> >
> >> _______________________________________________
> >> freebsd-...@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "freebsd-questi...@freebsd.org"
> >
> >
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questi...@freebsd.org"

------------------------------

Message: 6
Date: Mon, 05 Apr 2010 19:04:35 +0200
From: Maciej Jan Broniarz <gau...@gausus.net>
Subject: Re: fault tolerant web servers on freebsd
To: Mike Jakubik <mike.j...@intertainservices.com>
Cc: freebsd...@freebsd.org
Message-ID: <4BBA1823...@gausus.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

W dniu 10-04-05 17:45, Mike Jakubik pisze:
> You may want to check out carp(4).
>
> http://www.freebsd.org/cgi/man.cgi?query=carp
>

Thanks. Carp is fine, but I still have to figure out how to synchronize
data on disks or in the database. Usign just carp would leave me with
two separate databases containing only parts of users input. Is there a
soulution similar to drbd+heartbeat on Linux? Geom_gate looks nice, but
I have no idea if it has been used in a production enviroment.

All best,
mjb


------------------------------

Message: 7
Date: Mon, 05 Apr 2010 20:13:37 +0300
From: Andriy Gapon <a...@icyb.net.ua>
Subject: Re: fault tolerant web servers on freebsd
To: Maciej Jan Broniarz <gau...@gausus.net>
Cc: Mike Jakubik <mike.j...@intertainservices.com>,
freebsd...@freebsd.org
Message-ID: <4BBA1A41...@icyb.net.ua>
Content-Type: text/plain; charset=UTF-8

on 05/04/2010 20:04 Maciej Jan Broniarz said the following:
> W dniu 10-04-05 17:45, Mike Jakubik pisze:
>> You may want to check out carp(4).
>>
>> http://www.freebsd.org/cgi/man.cgi?query=carp
>>
>
> Thanks. Carp is fine, but I still have to figure out how to synchronize
> data on disks or in the database. Usign just carp would leave me with
> two separate databases containing only parts of users input. Is there a
> soulution similar to drbd+heartbeat on Linux? Geom_gate looks nice, but
> I have no idea if it has been used in a production enviroment.

Perhaps you would find HAST useful:
http://wiki.freebsd.org/HAST

--
Andriy Gapon


------------------------------

Message: 8
Date: Mon, 05 Apr 2010 21:11:39 +0300
From: Mikolaj Golub <to.my....@gmail.com>
Subject: Re: sysctl(?) problem on boot in 8-STABLE
To: Jeff Blank <j...@mr-happy.com>
Cc: freebsd...@freebsd.org
Message-ID: <86aatha...@kopusha.onet>
Content-Type: text/plain; charset=us-ascii

On Mon, 5 Apr 2010 10:56:22 -0400 Jeff Blank wrote:

> Hi,
>
> I upgraded an 8-STABLE box to r206119 and am now unable to boot
> multi-user. I found that it hangs at line 58/59 of
> /etc/rc.d/initrandom:
>
> ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
> | dd of=/dev/random bs=8k 2>/dev/null
>
> when I run each of these commands by hand, I get only as far as
> 'sysctl -a', which seems to exit normally but leaves my keyboard
> unresponsive (actually acting like I'm leaning on the <enter> key).
> more digging reveals 'sysctl dev.uart' to be what triggers it.

kern/143040 looks similar.

--
Mikolaj Golub


------------------------------

Message: 9
Date: Mon, 5 Apr 2010 14:18:33 -0400
From: Jeff Blank <j...@mr-happy.com>
Subject: Re: sysctl(?) problem on boot in 8-STABLE
To: Mikolaj Golub <to.my....@gmail.com>
Cc: freebsd...@freebsd.org
Message-ID: <20100405181...@mr-happy.com>
Content-Type: text/plain; charset=us-ascii

On Mon, Apr 05, 2010 at 09:11:39PM +0300, Mikolaj Golub wrote:
> On Mon, 5 Apr 2010 10:56:22 -0400 Jeff Blank wrote:
> > when I run each of these commands by hand, I get only as far as
> > 'sysctl -a', which seems to exit normally but leaves my keyboard
> > unresponsive (actually acting like I'm leaning on the <enter> key).
> > more digging reveals 'sysctl dev.uart' to be what triggers it.
> kern/143040 looks similar.

Ah, you're right, it does. Could someone please take a look at that
PR then? Looks like it was submitted in January but hasn't been
assigned yet.

thanks,
Jeff


------------------------------

Message: 10
Date: Mon, 5 Apr 2010 21:31:33 +0300
From: Ion-Mihai Tetcu <ite...@FreeBSD.org>
Subject: Re: [ HEADS UP ] Ports unstable for the next 10 days
To: Ion-Mihai Tetcu <ite...@FreeBSD.org>
Cc: sta...@freebsd.org, ques...@freebsd.org,
freebs...@freebsd.org
Message-ID: <20100405213...@it.buh.tecnik93.com>
Content-Type: text/plain; charset="us-ascii"

Just a status update:

PNG and cURL are in, and png fall-outs are believed to be fixed.

Xorg update has gone through an -exp run on Pointy and our xorg team is
working on fixing the approx. 60 ports with problems.

I will begin -exp runs for Gnome and KDE updates tonight or tomorrow
morning.


Packages status:
- i386:
- 6 after png and curl
- 7 after png and curl
- an 8 incremental build is in progress and should be shortly finished
- 9 pacakges are from middle March
- amd64:
- 6 packages are post png and curl
- 7 build is in progress and will be finished tomorrow
- 8 last build was done in the middle of the png update/fixes; we
won't run an other before Xorg, KDE and Gnome go in (for lack of
resources).
- 9 build in progress (with sources that are believed to fix the zlib
problem).


In other words, if you wish to update without waiting for Xorg, Gnome
and KDE now it's a good moment.


HTH,

--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> ite...@FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100405/05966064/signature-0001.pgp

------------------------------

Message: 11
Date: Mon, 05 Apr 2010 20:35:18 +0200
From: Rainer Hurling <rhu...@gwdg.de>
Subject: ldd manpage - example does not work
To: freebsd...@freebsd.org
Message-ID: <4BBA2D66...@gwdg.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

The manpage for ldd(1) gives a nice example of finding binaries, which
link against a given library, see

http://www.freebsd.org/cgi/man.cgi?query=ldd&apropos=0&sektion=0&manpath=FreeBSD+8.0-RELEASE&format=html


The example looks as follows:

find . -type f | xargs -n1 file -F | grep ELF | cut -f1 -d' ' | xargs
ldd -f '%A %o\n' | grep libc.so.6


Unfortunately this example does not work for me. Is seems that the part
with xargs does not output anything and so is the showstopper (?)

It would be nice if someone could give me some advice what is wrong here.

Thanks in advance,
Rainer Hurling


------------------------------

Message: 12
Date: Mon, 5 Apr 2010 11:40:32 -0700
From: Garrett Cooper <yane...@gmail.com>
Subject: Re: ldd manpage - example does not work
To: Rainer Hurling <rhu...@gwdg.de>
Cc: freebsd...@freebsd.org
Message-ID:
<v2t7d6fde3d1004051140m1...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Apr 5, 2010 at 11:35 AM, Rainer Hurling <rhu...@gwdg.de> wrote:
> The manpage for ldd(1) gives a nice example of finding binaries, which link
> against a given library, see
>
> http://www.freebsd.org/cgi/man.cgi?query=ldd&apropos=0&sektion=0&manpath=FreeBSD+8.0-RELEASE&format=html
>
>
> The example looks as follows:
>
> find . -type f | xargs -n1 file -F | grep ELF | cut -f1 -d' ' | xargs ldd -f
> '%A %o\n' | grep libc.so.6
>
>
> Unfortunately this example does not work for me. Is seems that the part with
> xargs does not output anything and so is the showstopper (?)
>
> It would be nice if someone could give me some advice what is wrong here.

1. The file(1) usage looks incorrect (I get a lot of messages like the
following):

Usage: file [-bcikLhnNrsvz0] [-e test] [-f namefile] [-F separator]
[-m magicfiles] file...
file -C -m magicfiles
Try `file --help' for more information.

2. It's no longer libc.so.6 for many versions of FreeBSD; it can
potentially be libc.so.7...

HTH,
-Garrett


------------------------------

Message: 13
Date: Mon, 05 Apr 2010 14:52:02 -0400
From: Michael Butler <i...@protected-networks.net>
Subject: Re: ldd manpage - example does not work
To: Garrett Cooper <yane...@gmail.com>
Cc: freebsd...@freebsd.org
Message-ID: <4BBA3152...@protected-networks.net>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/05/10 14:40, Garrett Cooper wrote:
> On Mon, Apr 5, 2010 at 11:35 AM, Rainer Hurling <rhu...@gwdg.de> wrote:

>> The example looks as follows:
>>
>> find . -type f | xargs -n1 file -F | grep ELF | cut -f1 -d' ' | xargs ldd -f
>> '%A %o\n' | grep libc.so.6

[ .. snip .. ]

> 1. The file(1) usage looks incorrect (I get a lot of messages like the
> following):
>
> Usage: file [-bcikLhnNrsvz0] [-e test] [-f namefile] [-F separator]
> [-m magicfiles] file...
> file -C -m magicfiles
> Try `file --help' for more information.
>
> 2. It's no longer libc.so.6 for many versions of FreeBSD; it can
> potentially be libc.so.7...

Try ..

find . -type f | xargs -n1 file -F ' ' | grep ELF | cut -f1 -d' ' \
| xargs ldd -f '%A %o\n' | grep libc.so.[67]

;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAku6MVIACgkQQv9rrgRC1JLrXgCZAauZv2h8SrqkKdJNL5Xpv9KN
ml8An20zgpbjrJVZ2XdLc6/HVch69f3w
=sBOs
-----END PGP SIGNATURE-----


------------------------------

Message: 14
Date: Mon, 05 Apr 2010 19:54:17 +0100
From: Pete French <petef...@ticketswitch.com>
Subject: Re: fault tolerant web servers on freebsd
To: gau...@gausus.net, mike.j...@intertainservices.com
Cc: freebsd...@freebsd.org
Message-ID: <E1NyrRB-...@dilbert.ticketswitch.com>

> soulution similar to drbd+heartbeat on Linux? Geom_gate looks nice, but
> I have no idea if it has been used in a production enviroment.

I use it for production - it works nicely, but you wont get automatic
failover that way.

-pete.

------------------------------

Message: 15
Date: Mon, 5 Apr 2010 12:17:17 -0700
From: Freddie Cash <fjw...@gmail.com>
Subject: Re: IPFW and NAT woes on 8-STABLE
To: freebsd...@freebsd.org
Message-ID:
<i2ib269bc571004051217ia...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Mon, Apr 5, 2010 at 2:18 AM, Jonathan Chen <jo...@chen.org.nz> wrote:

> I decided to csup my sources from Jan 18 2010 to something more recent
> this weekend; but when I completed the upgrade, my IPFW and NAT
> configuration didn't work anymore. I spent the better part of the day
> making sure that:
>
> 1. the upgrade was correct
> 2. my hardware was good.
>
> When I finally managed to revert the system source back to an earlier
> snapshot (hard to do when I had no connectivity to the 'Net), my
> configuration started working again. Has anyone else had the same
> problem as I've been having, or did I just get the code at a bad time?
>

There's a long thread about this on the freebsd-ipfw list. See the archives
for all the details.

--
Freddie Cash
fjw...@gmail.com


------------------------------

Message: 16
Date: Mon, 5 Apr 2010 14:05:35 -0500
From: Antonio Olivares <olivar...@gmail.com>
Subject: Re: [ HEADS UP ] Ports unstable for the next 10 days
To: Ion-Mihai Tetcu <ite...@freebsd.org>
Cc: sta...@freebsd.org, ques...@freebsd.org,
freebs...@freebsd.org
Message-ID:
<w2q75107331004051205s58...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Ion-Mihai,

Does this fix the following issue?

I have installed FreeBSD 8.0 and updated it to current p2

I try to use konqueror and I get

There was an error loading the module About-Page for Konqueror.
The diagnostics is:
Cannot load library /usr/local/kde4/lib/kde4/konq_aboutpage.so:
(Shared object "libjpeg.so.10" not found, required by "libkhtml.so.7")

Other programs like kile and k3b don't work because of the same
message or others. I did not know about this, otherwise I would not
have tried to install these programs in the first place, till the
coast was clear :(

Thanks though, I saw the message a little bit late :(

Regards,

Antonio


On 4/5/10, Ion-Mihai Tetcu <ite...@freebsd.org> wrote:
> Just a status update:
>
> PNG and cURL are in, and png fall-outs are believed to be fixed.
>
> Xorg update has gone through an -exp run on Pointy and our xorg team is
> working on fixing the approx. 60 ports with problems.
>
> I will begin -exp runs for Gnome and KDE updates tonight or tomorrow
> morning.
>
>
> Packages status:
> - i386:
> - 6 after png and curl
> - 7 after png and curl
> - an 8 incremental build is in progress and should be shortly finished
> - 9 pacakges are from middle March
> - amd64:
> - 6 packages are post png and curl
> - 7 build is in progress and will be finished tomorrow
> - 8 last build was done in the middle of the png update/fixes; we
> won't run an other before Xorg, KDE and Gnome go in (for lack of
> resources).
> - 9 build in progress (with sources that are believed to fix the zlib
> problem).
>
>
> In other words, if you wish to update without waiting for Xorg, Gnome
> and KDE now it's a good moment.
>
>
> HTH,
>
> --
> IOnut - Un^d^dregistered ;) FreeBSD "user"
> "Intellectual Property" is nowhere near as valuable as "Intellect"
> FreeBSD committer -> ite...@FreeBSD.org, PGP Key ID 057E9F8B493A297B
>


------------------------------

Message: 17
Date: Mon, 5 Apr 2010 12:31:13 -0700
From: Garrett Cooper <yane...@gmail.com>
Subject: Re: [ HEADS UP ] Ports unstable for the next 10 days
To: Antonio Olivares <olivar...@gmail.com>
Cc: sta...@freebsd.org, Ion-Mihai Tetcu <ite...@freebsd.org>,
ques...@freebsd.org, freebs...@freebsd.org
Message-ID:
<s2j7d6fde3d1004051231u5...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Apr 5, 2010 at 12:05 PM, Antonio Olivares
<olivar...@gmail.com> wrote:
> Ion-Mihai,
>
> Does this fix the following issue?
>
> I have installed FreeBSD 8.0 and updated it to current p2
>
>  I try to use konqueror and I get
>
>  There was an error loading the module About-Page for Konqueror.
>  The diagnostics is:
>  Cannot load library /usr/local/kde4/lib/kde4/konq_aboutpage.so:
>  (Shared object "libjpeg.so.10" not found, required by "libkhtml.so.7")
>
> Other programs like kile and k3b don't work because of the same
> message or others.  I did not know about this, otherwise I would not
> have tried to install these programs in the first place, till the
> coast was clear :(
>
> Thanks though, I saw the message a little bit late :(

Nope. You need to update all of jpeg. See UPDATING for more
details (but substitute this for the portmaster directions: "
portmaster -r 'jpeg-*' ".
HTH,
-Garrett


------------------------------

Message: 18
Date: Mon, 05 Apr 2010 22:08:20 +0200
From: "Tonix (Antonio Nati)" <to...@interazioni.it>
Subject: Re: fault tolerant web servers on freebsd
To: Maciej Jan Broniarz <gau...@gausus.net>,
freebsd...@freebsd.org
Message-ID: <4BBA4334...@interazioni.it>
Content-Type: text/plain; charset=UTF-8; format=flowed

Maciej Jan Broniarz ha scritto:
> W dniu 10-04-05 17:45, Mike Jakubik pisze:
>> You may want to check out carp(4).
>>
>> http://www.freebsd.org/cgi/man.cgi?query=carp
>>
>
> Thanks. Carp is fine, but I still have to figure out how to
> synchronize data on disks or in the database. Usign just carp would
> leave me with two separate databases containing only parts of users
> input. Is there a soulution similar to drbd+heartbeat on Linux?
> Geom_gate looks nice, but I have no idea if it has been used in a
> production enviroment.

Just to use exact words, fault toulerancy is not possible with any
FreeBSD/Linux O.S.
F.T. means outage can occur in every moment, but all current operation
will be always completed by other equipments; so there will not be
interrupted/lost operations.

The most you can have is HA (High Availability), that means operations
currently executed on servers which have outage are interrupted, but new
operations will be completed as they will be executed on other equipments.

Carp is fine for HA is you have always both db and file storage always
available.
For DB you can use MySQL replica, cross-replicating local MySQL data
among all servers. Each server will keep its own copy, always up to
date with other servers.
This will make all DB data always available, except data recorded in the
last milliseconds.

About file storage, you must have an external reliable NFS server.

Tonino

> All best,
> mjb
> _______________________________________________
> freebsd...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"
>


--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it to...@interazioni.it
------------------------------------------------------------

------------------------------

Message: 19
Date: Mon, 05 Apr 2010 22:09:28 +0200
From: Rainer Hurling <rhu...@gwdg.de>
Subject: Re: ldd manpage - example does not work
To: Michael Butler <i...@protected-networks.net>
Cc: Garrett Cooper <yane...@gmail.com>, freebsd...@freebsd.org
Message-ID: <4BBA4378...@gwdg.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Thank you very much for your answers!

On 05.04.2010 20:52 (UTC+1), Michael Butler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 04/05/10 14:40, Garrett Cooper wrote:
>> On Mon, Apr 5, 2010 at 11:35 AM, Rainer Hurling<rhu...@gwdg.de> wrote:
>
>>> The example looks as follows:
>>>
>>> find . -type f | xargs -n1 file -F | grep ELF | cut -f1 -d' ' | xargs ldd -f
>>> '%A %o\n' | grep libc.so.6
>
> [ .. snip .. ]
>
>> 1. The file(1) usage looks incorrect (I get a lot of messages like the
>> following):
>>
>> Usage: file [-bcikLhnNrsvz0] [-e test] [-f namefile] [-F separator]
>> [-m magicfiles] file...
>> file -C -m magicfiles
>> Try `file --help' for more information.
>>
>> 2. It's no longer libc.so.6 for many versions of FreeBSD; it can
>> potentially be libc.so.7...

I want to create a list of binaries, which are linked against the old
libz.so.5 and must be upgraded ...

find /usr/local/ -type f | xargs -n1 file -F ' ' | grep ELF | cut -f1
-d' ' | xargs ldd -f '%A %o\n' | grep libz.so.5 > ~/libz.so.5.txt

>
> Try ..
>
> find . -type f | xargs -n1 file -F ' ' | grep ELF | cut -f1 -d' ' \
> | xargs ldd -f '%A %o\n' | grep libc.so.[67]
>
> ;-)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (FreeBSD)
>
> iEYEARECAAYFAku6MVIACgkQQv9rrgRC1JLrXgCZAauZv2h8SrqkKdJNL5Xpv9KN
> ml8An20zgpbjrJVZ2XdLc6/HVch69f3w
> =sBOs
> -----END PGP SIGNATURE-----

------------------------------

Message: 20
Date: Mon, 05 Apr 2010 22:13:44 +0200
From: Maciej Jan Broniarz <gau...@gausus.net>
Subject: Re: fault tolerant web servers on freebsd
To: "Tonix (Antonio Nati)" <to...@interazioni.it>
Cc: freebsd...@freebsd.org
Message-ID: <4BBA4478...@gausus.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

W dniu 10-04-05 22:08, Tonix (Antonio Nati) pisze:
> Maciej Jan Broniarz ha scritto:
>> W dniu 10-04-05 17:45, Mike Jakubik pisze:
>
> Just to use exact words, fault toulerancy is not possible with any
> FreeBSD/Linux O.S.
> F.T. means outage can occur in every moment, but all current operation
> will be always completed by other equipments; so there will not be
> interrupted/lost operations.

Hmm. Thanks for the tip. Which *NIX os can be used to build an FT
solution then? Solaris? AIX? HP-UX?

> Carp is fine for HA is you have always both db and file storage always
> available.
> For DB you can use MySQL replica, cross-replicating local MySQL data
> among all servers. Each server will keep its own copy, always up to date
> with other servers.
> This will make all DB data always available, except data recorded in the
> last milliseconds.
>
> About file storage, you must have an external reliable NFS server.

So, to be redundant one should run 2 x web servers + 2 x storage +2 x
mysql. Sounds like fun, but also like a lot of work. So how do the web
hosting prividers manage to use FreeBSD for theirs solution?
I am curious do they have a cluster/reudndant solution for every part of
the system, or they just accept thet something will fail at some time.

Best regards,
mjb

------------------------------

Message: 21
Date: Mon, 05 Apr 2010 22:37:24 +0200
From: "Tonix (Antonio Nati)" <to...@interazioni.it>
Subject: Re: fault tolerant web servers on freebsd
To: Maciej Jan Broniarz <gau...@gausus.net>
Cc: freebsd...@freebsd.org
Message-ID: <4BBA4A0...@interazioni.it>
Content-Type: text/plain; charset=UTF-8; format=flowed

Maciej Jan Broniarz ha scritto:
> W dniu 10-04-05 22:08, Tonix (Antonio Nati) pisze:
>> Maciej Jan Broniarz ha scritto:
>>> W dniu 10-04-05 17:45, Mike Jakubik pisze:
> >
>> Just to use exact words, fault toulerancy is not possible with any
>> FreeBSD/Linux O.S.
>> F.T. means outage can occur in every moment, but all current operation
>> will be always completed by other equipments; so there will not be
>> interrupted/lost operations.
>
> Hmm. Thanks for the tip. Which *NIX os can be used to build an FT
> solution then? Solaris? AIX? HP-UX?

For a FT solution you need usually an hardware solution, very expensive.
Server must have all doubled, with custom chips for checking if parts
are working (and which part is broken, which may not be easy to understand).

VMware claims to have a software fault toulerant solution, syncronizing
two servers in real-time, but I don't know the efficiency.

The most ISP use HA solutions, which are ok for the most of WEB/e-mail
operations.

Operations are not available for a few milliseconds/seconds, depending
on the architecture you use.

Just to complete, drbd+heartbeat are NOT FT. They are HA. When the
master server goes down, backup server must acknowledge the new status,
then mount the replicated disk (think to disk check!), then start
services working on that disk. So this solution needs a lot of
seconds, probably minutes to work.

With a good carp architecture, you just need milliseconds.

Tonino

--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it to...@interazioni.it
------------------------------------------------------------

------------------------------

Message: 22
Date: Mon, 05 Apr 2010 16:43:06 -0400
From: jfa...@goldsword.com
Subject: Re: fault tolerant web servers on freebsd
To: freebsd...@freebsd.org
Message-ID: <20100405164306....@www.goldsword.com>
Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed"

Quoting Maciej Jan Broniarz <gau...@gausus.net>:
> W dniu 10-04-05 22:08, Tonix (Antonio Nati) pisze:
>> Maciej Jan Broniarz ha scritto:
>>> W dniu 10-04-05 17:45, Mike Jakubik pisze:
>>
>> Just to use exact words, fault toulerancy is not possible with any
>> FreeBSD/Linux O.S.
>> F.T. means outage can occur in every moment, but all current operation
>> will be always completed by other equipments; so there will not be
>> interrupted/lost operations.
>
> Hmm. Thanks for the tip. Which *NIX os can be used to build an FT
> solution then? Solaris? AIX? HP-UX?

You're asking a question that has not easy or compete answer. Fault
tolerant at what level? Do you want to guarantee that _every_ DB
operation competes? What about random file reads or writes? Do you
want to guarantee that two identical operations with the same data
will produce the same result? (That's _not_ the same as the previous
questions...)

So first you have to define your workload, then define what errors you
must avoid or allow, and then define how to deal with failures,
errors, etc.

Then you can start talking about High Availability vs. level of Fault
tolerance, vs. ....

John

-----------------------------------------------------------------
J. T. Farmer <jfa...@goldsword.com> <jfa...@orfencer.org>
GoldSword Systems, Knoxville TN Coach & Instructor
Consulting, Knoxville Academy of the Blade
Software Development, Maryville Fencing Club
Project Management


------------------------------

Message: 23
Date: Tue, 6 Apr 2010 00:37:51 +0400
From: Artem Kim <arte...@inbox.ru>
Subject: FreeBSD 7.3/i386 libalias related panic
To: freebsd...@freebsd.org
Message-ID: <201004060037.5...@inbox.ru>
Content-Type: text/plain; charset="us-ascii"

Hi,
I have a machine that acts as a NAS (mpd5 PPPoE).

Also on the same machine using NAT (ipfw + ng_nat).

Not so long ago, during one hour, I have two identical kernel panic:


FreeBSD nas3.xxx.ru 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 17:55:26
MSK 2010 i386


nas3# kgdb kernel.debug /var/crash/vmcore.1
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x7d4c
fault code = supervisor read, page not present
instruction pointer = 0x20:0x8069ac41
stack pointer = 0x28:0xd259a8b0
frame pointer = 0x28:0xd259a8c8
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 27 (irq17: bge1)
trap number = 12
panic: page fault
cpuid = 1
Uptime: 1h14m2s
Physical memory: 1014 MB
Dumping 103 MB: 88 72 56 40 24bge1: watchdog timeout -- resetting
8
<5>bge1: link state changed to DOWN

Reading symbols from /boot/kernel/acpi.ko...Reading symbols from
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
#0 doadump () at pcpu.h:196
196 __asm __volatile("movl %%fs:0,%0" : "=r" (td));


(kgdb) list *0x8069ac41
0x8069ac41 is in DeleteLink (/usr/src/sys/netinet/libalias/alias_db.c:857).
852 {
853 struct libalias *la = lnk->la;
854
855 LIBALIAS_LOCK_ASSERT(la);
856 /* Don't do anything if the link is marked permanent */
857 if (la->deleteAllLinks == 0 && lnk->flags & LINK_PERMANENT)
858 return;
859
860 #ifndef NO_FW_PUNCH
861 /* Delete associated firewall hole, if any */
(kgdb)

(kgdb) bt
#0 doadump () at pcpu.h:196
#1 0x8059ce94 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2 0x8059d31a in panic (fmt=0x104 <Address 0x104 out of bounds>) at
/usr/src/sys/kern/kern_shutdown.c:574
#3 0x807855dd in trap_fatal (frame=0xd259a870, eva=40) at
/usr/src/sys/i386/i386/trap.c:950
#4 0x8078595a in trap_pfault (frame=0xd259a870, usermode=0, eva=32076) at
/usr/src/sys/i386/i386/trap.c:863
#5 0x80786277 in trap (frame=0xd259a870) at /usr/src/sys/i386/i386/trap.c:541
#6 0x8076b0eb in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7 0x8069ac41 in DeleteLink (lnk=0x84e0f980) at
/usr/src/sys/netinet/libalias/alias_db.c:853
#8 0x8069ae3e in HouseKeeping (la=0x84874000) at
/usr/src/sys/netinet/libalias/alias_db.c:843
#9 0x8069947b in LibAliasInLocked (la=0x84874000, ptr=0x8458e810 "E",
maxpacketsize=2032) at /usr/src/sys/netinet/libalias/alias.c:1246
#10 0x8069a225 in LibAliasIn (la=0x84874000, ptr=0x8458e810 "E",
maxpacketsize=2032) at /usr/src/sys/netinet/libalias/alias.c:1228
#11 0x8065fd91 in ng_nat_rcvdata (hook=0x84842900, item=0x84cebba0) at
/usr/src/sys/netgraph/ng_nat.c:707
#12 0x80658606 in ng_apply_item (node=0x847de780, item=0x84cebba0, rw=1) at
/usr/src/sys/netgraph/ng_base.c:2336
#13 0x80657607 in ng_snd_item (item=0x84cebba0, flags=Variable "flags" is not
available.
) at /usr/src/sys/netgraph/ng_base.c:2254
#14 0x8067e4b6 in ipfw_check_in (arg=0x0, m0=0xd259aba8, ifp=0x84179800,
dir=1, inp=0x0) at /usr/src/sys/netinet/ip_fw_pfil.c:189
#15 0x8064af6f in pfil_run_hooks (ph=0x80847c00, mp=0xd259ac00,
ifp=0x84179800, dir=1, inp=0x0) at /usr/src/sys/net/pfil.c:78
#16 0x806812bd in ip_input (m=0x87135900) at
/usr/src/sys/netinet/ip_input.c:416
#17 0x8063efba in ether_demux (ifp=0x84179800, m=0x87135900) at
/usr/src/sys/net/if_ethersubr.c:834
#18 0x8063f1d6 in ether_input (ifp=0x84179800, m=0x87135900) at
/usr/src/sys/net/if_ethersubr.c:692
#19 0x80490c8f in bge_rxeof (sc=0x84187000, rx_prod=465, holdlck=1) at
/usr/src/sys/dev/bge/if_bge.c:3392
#20 0x80492d67 in bge_intr (xsc=0x84187000) at
/usr/src/sys/dev/bge/if_bge.c:3653
#21 0x8057c7bb in ithread_loop (arg=0x84180500) at
/usr/src/sys/kern/kern_intr.c:1181
#22 0x80578f25 in fork_exit (callout=0x8057c698 <ithread_loop>,
arg=0x84180500, frame=0xd259ad38) at /usr/src/sys/kern/kern_fork.c:811
#23 0x8076b160 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:271


Thanks for any help !


------------------------------

Message: 24
Date: Mon, 05 Apr 2010 23:05:44 +0200
From: Dominic Fandrey <kami...@bsdforen.de>
Subject: Re: ldd manpage - example does not work
To: Rainer Hurling <rhu...@gwdg.de>
Cc: Garrett Cooper <yane...@gmail.com>, freebsd...@freebsd.org
Message-ID: <4BBA50A8...@bsdforen.de>
Content-Type: text/plain; charset=UTF-8

On 05/04/2010 22:09, Rainer Hurling wrote:
>> I want to create a list of binaries, which are linked against the old
>> libz.so.5 and must be upgraded ...

Install sysutils/bsdadminscripts and rung pkg_libchk. :)

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


------------------------------

Message: 25
Date: Mon, 05 Apr 2010 23:10:17 +0200
From: Maciej Jan Broniarz <gau...@gausus.net>
Subject: Re: fault tolerant web servers on freebsd
To: jfa...@goldsword.com
Cc: freebsd...@freebsd.org
Message-ID: <4BBA51B9...@gausus.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

W dniu 10-04-05 22:43, jfa...@goldsword.com pisze:
> Quoting Maciej Jan Broniarz <gau...@gausus.net>:
>> W dniu 10-04-05 22:08, Tonix (Antonio Nati) pisze:
>>> Maciej Jan Broniarz ha scritto:
>>>> W dniu 10-04-05 17:45, Mike Jakubik pisze:
>>>
>
> So first you have to define your workload, then define what errors you
> must avoid or allow, and then define how to deal with failures, errors,
> etc.
> Then you can start talking about High Availability vs. level of Fault
> tolerance, vs. ....

Let's say i need to run a few php/sql based web sites and I would like
to maintain uptime of about 99,99% per month. No matter how good the
hardware - it will always fail at some time. My goal is to build a
system, that can maintain that uptime.

From what You say I need some level of HA system, to maintain the
required uptime.

So, as I've said earlier (correct me, if I'm wrong) - the setup could
look something like that:

- 2 web servers with carp
- 2 storage servers with on-line sync mechanism running
- 2 mysql servers with on-line database replication

(i'm skiping power and network issues at the moment).

Few people have told me about a setup with linux, drbd and heartbeat
which offers them some level of HA. Has anyone tried anything similar on
FreeBSD?

mjb

------------------------------

Message: 26
Date: Mon, 5 Apr 2010 16:32:43 -0500
From: Adam Vande More <amvan...@gmail.com>
Subject: Re: fault tolerant web servers on freebsd
To: Maciej Jan Broniarz <gau...@gausus.net>
Cc: freebsd...@freebsd.org
Message-ID:
<g2o6201873e1004051432zd...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Apr 5, 2010 at 4:10 PM, Maciej Jan Broniarz <gau...@gausus.net>wrote:

>
> Let's say i need to run a few php/sql based web sites and I would like to
> maintain uptime of about 99,99% per month. No matter how good the hardware -
> it will always fail at some time. My goal is to build a system, that can
> maintain that uptime.
>
> From what You say I need some level of HA system, to maintain the required
> uptime.
>
> So, as I've said earlier (correct me, if I'm wrong) - the setup could look
> something like that:
>
> - 2 web servers with carp
> - 2 storage servers with on-line sync mechanism running
> - 2 mysql servers with on-line database replication
>
> (i'm skiping power and network issues at the moment).
>
> Few people have told me about a setup with linux, drbd and heartbeat which
> offers them some level of HA. Has anyone tried anything similar on FreeBSD?
>

Each HA implementation is different, you still really haven't provided
enough details eg are servers running off same switch, or are you going to
have latency issues(DRBD and ggate both dislike latency). DB replication
doesn't necessarily need to be done via block level replication. Generally
speaking, you'll make your storage backend HA first, then build other
services off that like iscsi or nfs. There is no single answer to this
because there are so many needs and ways to address them. and yes,
sysutils/heartbeat works with *BSD and they are in use. There are also
other options like
http://lethargy.org/~jesus/writes/postgresql-warm-standby-on-zfs-crack


--
Adam Vande More


------------------------------

Message: 27
Date: Tue, 6 Apr 2010 00:27:23 +0200
From: Pascal Stumpf <Pascal...@cubes.de>
Subject: Re: [ HEADS UP ] Ports unstable for the next 10 days
To: freebsd...@freebsd.org
Message-ID: <201004060027.242...@cubes.de>
Content-Type: Text/Plain; charset="utf-8"

On Monday 05 April 2010 21:31:13 Garrett Cooper wrote:
> On Mon, Apr 5, 2010 at 12:05 PM, Antonio Olivares
>
> <olivar...@gmail.com> wrote:
> > Ion-Mihai,
> >
> > Does this fix the following issue?
> >
> > I have installed FreeBSD 8.0 and updated it to current p2
> >
> > I try to use konqueror and I get
> >
> > There was an error loading the module About-Page for
Konqueror.
> > The diagnostics is:
> > Cannot load library
/usr/local/kde4/lib/kde4/konq_aboutpage.so:
> > (Shared object "libjpeg.so.10" not found, required by
"libkhtml.so.7")
> >
> > Other programs like kile and k3b don't work because of the
same
> > message or others. I did not know about this, otherwise I
would not
> > have tried to install these programs in the first place, till the
> > coast was clear :(
> >
> > Thanks though, I saw the message a little bit late :(
>
> Nope. You need to update all of jpeg. See UPDATING for
more
> details (but substitute this for the portmaster directions: "
> portmaster -r 'jpeg-*' ".
> HTH,
> -Garrett

You should wait with this until after the KDE update though if
you don’t want to compile KDE twice.

- Pascal


------------------------------

Message: 28
Date: Mon, 5 Apr 2010 18:32:00 -0400
From: Mehmet Erol Sanliturk <m.e.sa...@gmail.com>
Subject: Re: fault tolerant web servers on freebsd
To: Maciej Jan Broniarz <gau...@gausus.net>
Cc: freeb...@freebsd.org, freebsd-stable
<freebsd...@freebsd.org>
Message-ID:
<w2oa333b2be1004051532ub...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Mon, Apr 5, 2010 at 7:29 AM, Maciej Jan Broniarz <gau...@gausus.net>wrote:

> Hi All,
>
> I am thinking about building a fault tolerant web servers running FreeBSD.
> The servers would be serving web sites using jails+apache+php+mysql.
> Would anyone be so kind, as to give me some advice about building such a
> solution? I have read a lot about freebsd cluster, but it was focused on
> computing clusters, and not fault tolerant one.
>
> If anyone has some experience with the issue, I'll be very grateful.
>
> Best regards,
> mjb
>

There is a concept : Self-stabilization .

There will be a ring of computers working simultaneously . If any one of
them fails , others will continue to handle tasks requested from those
systems . Such a ring may utilize load-balancing to distribute work load to
currently working computers .

http://en.wikipedia.org/wiki/Self-stabilization
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.88.4096&rep=rep1&type=pdf
http://search.yahoo.com/search;_ylt=A03uoRZ7YbpLwjUB8W.bvZx4?p=self+stabilization&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-701

www.selfstabilization.org

http://en.wikipedia.org/wiki/Load_balancing_%28computing%29

http://en.wikipedia.org/wiki/Category:Fault_tolerance
http://en.wikipedia.org/wiki/Category:Reliability_engineering
http://en.wikipedia.org/wiki/Category:Distributed_computing


Actually , FreeBSD itself is an operating system : It manages single
computers . You need other software to handle distributed computing . Such a
language among others is

www.mozart-oz.org
*Mozart is available as a FreeBSD port.


*Thank you very much .

Mehmet Erol Sanliturk


------------------------------

Message: 29
Date: Mon, 05 Apr 2010 21:25:51 -0400
From: "Mikhail T." <mi+...@aldan.algebra.com>
Subject: binding on 127.0.0.1 not working after upgrade to 7.3
To: sta...@FreeBSD.org
Message-ID: <4BBA8D9F...@aldan.algebra.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello!

I just rebuilt my system from 7.2-stable to 7.3. The first thing to fail
upon restart was the PostgreSQL-server. But there are other failures --
for example, webmin is unreachable at its usual https://localhost:10000/

ktrace-ing postgres reveals:

19875 postgres CALL bind(0x3,0x8015190f0,0x10)
19875 postgres STRU struct sockaddr { AF_INET, 127.0.0.1:5432 }
19875 postgres RET bind -1 errno 49 Can't assign requested address
19875 postgres CALL socket(PF_LOCAL,SOCK_DGRAM,0)
19875 postgres RET socket 4


I rebuilt postgress server anew, just in case, but it is still
failing... Changing the listen_addresses from 'localhost' to
'my.lan.ip.add' allows the server to start-up, but now I need to change
the configuration of the local applications...

Similarly, 'ssh localhost' no longer works, although `ssh my.lan.ip.add'
works...

The only unusual thing about my system is that I build with
`NO_INET6=yes'. But it all worked with the kernel from a month ago...
The ::1-definition in /etc/hosts is now commented-out, but that didn't
help any...

Please, advise. Thanks!

-mi

------------------------------

Message: 30
Date: Mon, 5 Apr 2010 19:14:14 -0700
From: Jeremy Chadwick <fre...@jdc.parodius.com>
Subject: Re: binding on 127.0.0.1 not working after upgrade to 7.3
To: "Mikhail T." <mi+...@aldan.algebra.com>
Cc: sta...@FreeBSD.org
Message-ID: <20100406021...@icarus.home.lan>
Content-Type: text/plain; charset=us-ascii

On Mon, Apr 05, 2010 at 09:25:51PM -0400, Mikhail T. wrote:
> Hello!
>
> I just rebuilt my system from 7.2-stable to 7.3. The first thing to fail
> upon restart was the PostgreSQL-server. But there are other failures --
> for example, webmin is unreachable at its usual https://localhost:10000/
>
> ktrace-ing postgres reveals:
>
> 19875 postgres CALL bind(0x3,0x8015190f0,0x10)
> 19875 postgres STRU struct sockaddr { AF_INET, 127.0.0.1:5432 }
> 19875 postgres RET bind -1 errno 49 Can't assign requested address
> 19875 postgres CALL socket(PF_LOCAL,SOCK_DGRAM,0)
> 19875 postgres RET socket 4
>
>
> I rebuilt postgress server anew, just in case, but it is still
> failing... Changing the listen_addresses from 'localhost' to
> 'my.lan.ip.add' allows the server to start-up, but now I need to change
> the configuration of the local applications...
>
> Similarly, 'ssh localhost' no longer works, although `ssh my.lan.ip.add'
> works...
>
> The only unusual thing about my system is that I build with
> `NO_INET6=yes'. But it all worked with the kernel from a month ago...
> The ::1-definition in /etc/hosts is now commented-out, but that didn't
> help any...
>
> Please, advise. Thanks!

Check ifconfig -a and make sure lo0 appears / has a correct IP address,
and the interface is up.

Also, if the machine has firewall rules, make sure they're written so
that lo0 is excluded from the list (in pf.conf, 'set skip on lo0' does
the trick).

--
| Jeremy Chadwick j...@parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |

------------------------------

Message: 31
Date: Mon, 05 Apr 2010 22:51:37 -0400
From: "Mikhail T." <mi+...@aldan.algebra.com>
Subject: Re: binding on 127.0.0.1 not working after upgrade to 7.3
To: Jeremy Chadwick <fre...@jdc.parodius.com>
Cc: sta...@FreeBSD.org
Message-ID: <4BBAA1B9...@aldan.algebra.com>
Content-Type: text/plain; charset=KOI8-R

Jeremy Chadwick ÎÁÐÉÓÁ×(ÌÁ):
> Check ifconfig -a and make sure lo0 appears / has a correct IP address,
> and the interface is up.
>
You are right, it is not up:

lo0: flags=8008<LOOPBACK,MULTICAST> metric 0 mtu 16384

Manually running `ifconfig lo0 127.0.0.1' fixed the problem for the time
being...

But why? What changed so significantly in the last few month, that lo0
broke, of all things? :-)

Thanks!

-mi

------------------------------

Message: 32
Date: Mon, 5 Apr 2010 20:51:44 -0700
From: Jeremy Chadwick <fre...@jdc.parodius.com>
Subject: Re: binding on 127.0.0.1 not working after upgrade to 7.3
To: "Mikhail T." <mi+...@aldan.algebra.com>
Cc: sta...@FreeBSD.org
Message-ID: <20100406035...@icarus.home.lan>
Content-Type: text/plain; charset=utf-8

On Mon, Apr 05, 2010 at 10:51:37PM -0400, Mikhail T. wrote:
> Jeremy Chadwick Ð½Ð°Ð¿Ð¸Ñ Ð°Ð²(ла):
> > Check ifconfig -a and make sure lo0 appears / has a correct IP address,
> > and the interface is up.
> >
> You are right, it is not up:
>
> lo0: flags=8008<LOOPBACK,MULTICAST> metric 0 mtu 16384
>
> Manually running `ifconfig lo0 127.0.0.1' fixed the problem for the time
> being...
>
> But why? What changed so significantly in the last few month, that lo0
> broke, of all things? :-)

It hasn't broken on any of the systems I maintain, including my own two
home servers. If this problem was common/widespread, there'd be a lot
more reports of it coming in.

There is likely something else going on in your rc.conf or configuration
setup (possibly you botched a mergemaster merge?) which is causing the
problem.

--
| Jeremy Chadwick j...@parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |

------------------------------

Message: 33
Date: Mon, 5 Apr 2010 22:28:25 -0700
From: Randi Harper <ra...@freebsd.org>
Subject: Re: install touching mbr
To: Bruce Cran <br...@cran.org.uk>
Cc: freebsd...@freebsd.org, Jeremy Chadwick
<fre...@jdc.parodius.com>
Message-ID:
<x2ye277d6c81004052228ge...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Apr 3, 2010 at 8:05 PM, Bruce Cran <br...@cran.org.uk> wrote:
> On Saturday 03 April 2010 21:58:56 Jeremy Chadwick wrote:
>> On Sat, Apr 03, 2010 at 05:48:12PM -0300, Nenhum_de_Nos wrote:
>> > I just installed a 8.0R amd64 from memstick. when asked, I said to
>> > leave mbr untouched. when I rebooted, it was freebsd bootloader that
>> > was on control. this options is not what I think it should, or there
>> > is really a issue here ?
>>
>> I can confirm this behaviour.  Someone may have broken something when
>> tinkering around in that part of sysinstall (since the Standard vs.
>> BootMgr options were moved around compared to previous releases).
>
> I have a patch at http://reviews.freebsdish.org/r/15/ waiting to be committed.
> I believe the "None" option won't change the bootcode itself but will still
> mark the FreeBSD partition as active.
>
> --
> Bruce Cran

I disagree with some of the wording. Specifically, lines 100-102 of
usr.sbin/sade/menus.c

"If you will only have FreeBSD on the machine the boot manager is not
needed and it slows down the boot while offering you the choice of
which operating system to boot."

^^ not 100% true, as the boot manager also provides the option of PXE
booting. This statement seems excessively wordy and unnecessary.

Also, should this be broken up into two patches? One for the change in
sade, the other for sysinstall? I'm not picky about this, but you are
fixing two issues in two separate programs.

-- randi


------------------------------


End of freebsd-stable Digest, Vol 351, Issue 2
**********************************************

0 new messages