IPFW and NAT woes on 8-STABLE

2010-04-05 Thread Jonathan Chen
So,

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?

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
A little learning is a dangerous thing but a lot of ignorance is
 just as bad.  - Bob Edwards
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: CPU problems after 8.0-STABLE update

2010-04-05 Thread Andriy Gapon
on 05/04/2010 05:57 Akephalos Akephalos said the following:
 Thank you for your replies. Sadly, I must say that I currently don't
 have the system installed at all so i won't be able to test the issue
 any more.
 
 @Andriy: I checked dmesg for RTC (with grep -i) and is was not there.
 Among the messages it seemed that the system detected my dual CPU type
 and stuff.
 There was something containing 'rtc', possibly 'atrtc' what Attilio
 asked for, but it's irrelevant as long as I don't remember the message -
 it didn't seem to e an error.
 
 @Attilio: my CPU is AMD Turion 64 X2. Because I don't have FreeBSD
 installed any more, I can't tell you the report, I am very sorry, my
 computer was not usable as a workstation (port-related) and I was forced
 to uninstall to try something else.
 
 I think the problem can be replicated on any computer with this
 processor, it happened to me for two times, once updating to CURRENT and
 once to STABLE, through buildkernel/world, hopefully someone else will
 be able to provide the feedback.

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

-- 
Andriy Gapon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: install touching mbr

2010-04-05 Thread S Roberts
Hello,

On Sat, 3 Apr 2010 15:44:50 -0600 (MDT)
Warren Block wbl...@wonkity.com wrote:

 On Sat, 3 Apr 2010, 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).
 
 Not sure how to repeat the bug, but it's been there at least a few 
 months:
 http://docs.freebsd.org/cgi/mid.cgi?alpine.BSF.2.00.0909262030060.13303
 http://docs.freebsd.org/cgi/mid.cgi?58c737d70909262054k7c7b1402w4f9c902fdca2640c
 

Sooo.., which **IS** the correct option to leave the existing MBR
untouched???

Regards,

S Roberts

 -Warren Block * Rapid City, South Dakota USA
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 freebsd-stable-unsubscr...@freebsd.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


fault tolerant web servers on freebsd

2010-04-05 Thread Maciej Jan Broniarz
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-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: CPU problems after 8.0-STABLE update

2010-04-05 Thread Akephalos
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


sysctl(?) problem on boot in 8-STABLE

2010-04-05 Thread Jeff Blank
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: sysctl(?) problem on boot in 8-STABLE

2010-04-05 Thread Jeff Blank
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Mike Jakubik

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-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
   

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: FreeBSD-8 Dual Booting With Pre-Installed Windows 7?

2010-04-05 Thread S Roberts
Hello Masoom,

On Mon, 5 Apr 2010 20:56:39 +0530
Masoom Shaikh masoom.sha...@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.sha...@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.sha...@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-questi...@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
  
  

Re: fault tolerant web servers on freebsd

2010-04-05 Thread Maciej Jan Broniarz

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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Andriy Gapon
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: sysctl(?) problem on boot in 8-STABLE

2010-04-05 Thread Mikolaj Golub
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: sysctl(?) problem on boot in 8-STABLE

2010-04-05 Thread Jeff Blank
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-05 Thread Ion-Mihai Tetcu
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


signature.asc
Description: PGP signature


ldd manpage - example does not work

2010-04-05 Thread Rainer Hurling
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=lddapropos=0sektion=0manpath=FreeBSD+8.0-RELEASEformat=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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ldd manpage - example does not work

2010-04-05 Thread Garrett Cooper
On Mon, Apr 5, 2010 at 11:35 AM, Rainer Hurling rhur...@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=lddapropos=0sektion=0manpath=FreeBSD+8.0-RELEASEformat=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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ldd manpage - example does not work

2010-04-05 Thread Michael Butler
-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 rhur...@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-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Pete French
 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.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: IPFW and NAT woes on 8-STABLE

2010-04-05 Thread Freddie Cash
On Mon, Apr 5, 2010 at 2:18 AM, Jonathan Chen j...@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
fjwc...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-05 Thread Antonio Olivares
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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-05 Thread Garrett Cooper
On Mon, Apr 5, 2010 at 12:05 PM, Antonio Olivares
olivares14...@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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Tonix (Antonio Nati)

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-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org




--

   in...@zioniInterazioni di Antonio Nati 
  http://www.interazioni.it  to...@interazioni.it   



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ldd manpage - example does not work

2010-04-05 Thread Rainer Hurling

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 Hurlingrhur...@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-


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Maciej Jan Broniarz

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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Tonix (Antonio Nati)

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

--

   in...@zioniInterazioni di Antonio Nati 
  http://www.interazioni.it  to...@interazioni.it   



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread jfarmer

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 jfar...@goldsword.comjfar...@orfencer.org
GoldSword Systems, Knoxville TN  Coach  Instructor
   Consulting, Knoxville Academy of the Blade
Software Development,  Maryville Fencing Club
 Project Management


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


FreeBSD 7.3/i386 libalias related panic

2010-04-05 Thread Artem Kim
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 0xf, 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
5bge1: 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 !
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: ldd manpage - example does not work

2010-04-05 Thread Dominic Fandrey
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? 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Maciej Jan Broniarz

W dniu 10-04-05 22:43, jfar...@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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Adam Vande More
On Mon, Apr 5, 2010 at 4:10 PM, Maciej Jan Broniarz gau...@gausus.netwrote:


 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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: [ HEADS UP ] Ports unstable for the next 10 days

2010-04-05 Thread Pascal Stumpf
On Monday 05 April 2010 21:31:13 Garrett Cooper wrote:
 On Mon, Apr 5, 2010 at 12:05 PM, Antonio Olivares
 
 olivares14...@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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: fault tolerant web servers on freebsd

2010-04-05 Thread Mehmet Erol Sanliturk
On Mon, Apr 5, 2010 at 7:29 AM, Maciej Jan Broniarz gau...@gausus.netwrote:

 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.4096rep=rep1type=pdf
http://search.yahoo.com/search;_ylt=A03uoRZ7YbpLwjUB8W.bvZx4?p=self+stabilizationtoggle=1cop=mssei=UTF-8fr=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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


binding on 127.0.0.1 not working after upgrade to 7.3

2010-04-05 Thread Mikhail T.
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:1/

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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: binding on 127.0.0.1 not working after upgrade to 7.3

2010-04-05 Thread Jeremy Chadwick
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:1/
 
 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 |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: binding on 127.0.0.1 not working after upgrade to 7.3

2010-04-05 Thread Mikhail T.
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=8008LOOPBACK,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

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: binding on 127.0.0.1 not working after upgrade to 7.3

2010-04-05 Thread Jeremy Chadwick
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=8008LOOPBACK,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 |

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: install touching mbr

2010-04-05 Thread Randi Harper
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
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org