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

freebsd-questions Digest, Vol 303, Issue 9

1 view
Skip to first unread message

freebsd-ques...@freebsd.org

unread,
Mar 25, 2010, 8:00:24 AM3/25/10
to freebsd-...@freebsd.org
Send freebsd-questions mailing list submissions to
freebsd-...@freebsd.org

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

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

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


Today's Topics:

1. Re: hoope THIS works... (Gary Kline)
2. Re: freebsd-update(8) under sparc64? Why is it not available?
(Adam PAPAI)
3. Re: simple zfs query (Matthew Seaman)
4. ipv6 changes in src/UPDATING (Robert Huff)
5. Re: ipv6 changes in src/UPDATING (Matthew Seaman)
6. Re: Install of Apache 2.2.15 after installing ssl lastes
(Matthew Seaman)
7. Re: freebsd-update(8) under sparc64? Why is it not available?
(Ken Smith)


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

Message: 1
Date: Thu, 25 Mar 2010 01:18:14 -0700
From: Gary Kline <kl...@thought.org>
Subject: Re: hoope THIS works...
To: Olivier Nicole <Olivier...@cs.ait.ac.th>
Cc: kl...@magnesium.net, freebsd-...@freebsd.org
Message-ID: <20100325081...@thought.org>
Content-Type: text/plain; charset=us-ascii

On Thu, Mar 25, 2010 at 10:00:05AM +0700, Olivier Nicole wrote:
> > for reasons that are beyond me, a few hours ago i stopped being able to
> > connect with my mail server. mutt tells me "(connection refused)";
> > the other GUI mailer say zip; they simply do not connect.
> >
> > i rebooted my HUB among other things; before that, i could not get outside my
> > network; nor could i even get to ethic [my Server]. since the only thing i
> > did was powercycle my linksys hub, i figure that did it.
> >
> > right now i am continuing the portupgrade on my mail/web/dns server in
> > the hopes that when that is done, mail will work again. if not, what else
> > could it be? directories/files/links i need to check/?
>
> It seems the reboot of your Linksys switch helped some how.


yes; and it seems likely that the reason ii could not get to
my email was that {for unknown reasons} my dovecot has failed
to initialize.

note that i did not configure my new setup like this. now i
have one mail server and dovecot is used to distribute mail
to my other unix servers. i barely understand sendmail; i
do NOT understand dovecot... .
>
> Before portupgrading randomly this or that application, you should try
> to understand what is going wrong.
>
> Upgrade of DNS should go easily, but when you start upgrading web or
> mail, you are talking about tens or hunderds of applications, you are
> very likely something goes wrong and you break a system that was
> working before.


it seems that mail my daughter sent me from hotmail did not
pass muster because it lacked a subject. i was advised to
portupgrade {or at least upgrade my spamblocker}. i did
this. during the upgrade of either dovecot or spamassassin i
was asked to kill one or both. i figured a reboot would
reinstantiate everything. it may have; but things were not
restarted correctly.

bind9 is current; i am extremely careful with that; i just
didn't realize that i've got to approach everything with the
same caution.


>
> When you say you could not "get" to ethic, what do you mean?
>
> - Cannot ping?
>
> - Cannot ssh?
>
> - Cannot telnet port 22, 25, 80?
>
> - Cannot traceroute (if your station and the server are on different
> LAN)?
>
> - Cannot ping another machine on your LAN?
>
> - Are you sure it was not your desktop that was faulty?

my firewall was the give-away. i run pfSense and it told me
that the host was down.

the real gotcha is that my KVM wires are not plugged in
correctly. so i could not even get to the serve until i
messed with that. when i was able to type at the console
of my server, i did a therapeutic reboot. ---altho, the was
power-cycling my switch that really did the trick.

i was about to call it a century when i tried mail. mutt
failed again; that turned out to be that dovecot had failed
to restart.

Now everything is working. but it's only temporary. back in
the mid-90s a systems admin friend said that
computers/networks/<<things>> are always breaking
down. it's the sysadmin's job to do his best to keep things
going. i get an F- for that today/tonight..... FWIW, i
don't even pretend to be a syste,s admin!


>
> - Etc.
>
> You should make a diagnostic before trying to apply any solution.
>
> As the reboot of thw switch did it, to me it looks like a network
> issue: bad switch, bad cable, some highly infected machine on your LAN
> that is stressing the swtich, rather than a server/service issue.


the power line was bent to the switch; but not that badly.
[[i'm keeping a Printed list of things-to-do-before-i-hit-PANIC.]]

appreciate your mail!

gary

>
> Good luck,
>
> Olivier
> _______________________________________________
> freebsd-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

--
Gary Kline kl...@thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

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

Message: 2
Date: Thu, 25 Mar 2010 09:25:36 +0100
From: Adam PAPAI <wo...@wooh.hu>
Subject: Re: freebsd-update(8) under sparc64? Why is it not available?
To: freebsd-...@freebsd.org
Message-ID: <4BAB1E00...@wooh.hu>
Content-Type: text/plain; charset=ISO-8859-1

On 3/24/10 11:38 PM, Marius Strobl wrote:
> The last time this topic came up IMO there was quite some
> interest in getting this running but the showstopper was that
> cperciva@ said that a requirement for any platform supported
> by freebsd-update(8) would be that the build server is able
> to run buildworld in 1 hour.

And what about ccache? I'll try it.

--
Adam PAPAI


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

Message: 3
Date: Thu, 25 Mar 2010 09:05:55 +0000
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: simple zfs query
To: krad <kra...@googlemail.com>
Cc: John <comp...@googlemail.com>, freebsd-...@freebsd.org
Message-ID: <4BAB2773...@infracaninophile.co.uk>
Content-Type: text/plain; charset=UTF-8

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

On 24/03/2010 21:23:54, krad wrote:
> If you want 100% of the drives you could have a pool per drive. Its not as
> nice as one big pool, but its less risky than one big raid0

Errr... no it's not. The risk of something going wrong is exactly the
same. The only advantage is that you may have less data to restore when
things do go wrong.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurJ3MACgkQ8Mjk52CukIyjLwCfdkpLP2MvtWPWBOE4Db/bJRNR
tBkAnRA2ZcoGN/LwGaoY9gfkNkdOq6kE
=O87f
-----END PGP SIGNATURE-----


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

Message: 4
Date: Thu, 25 Mar 2010 05:17:30 -0400
From: Robert Huff <rober...@rcn.com>
Subject: ipv6 changes in src/UPDATING
To: ques...@freebsd.org
Message-ID: <19371.10794....@jerusalem.litteratus.org>
Content-Type: text/plain; charset=us-ascii


I am updating a system:

FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009 amd64

and failing to understand the (practical) consequences of
UPDATING entries 20090926 and 20091202. The system runs ipv6, but
external connectivity is though a v6-over-v4 tunnel (net/gateway6).
rc.conf currently has:

huff@>>grep v6 /etc/rc.conf
ipv6_gateway_enable="YES" # Set to YES if this host will be a gateway.
ipv6_firewall_enable="YES" # Set to YES to enable IPv6 firewall
ipv6_firewall_type="UNKNOWN" # see /etc/rc.firewall6
ipv6_firewall_script="/etc/ipfw.v6.set" # Which script to run to set up the IPv6 firewall
ipv6_firewall_flags="" # see /etc/rc.firewall6
gateway6_enable="YES"

<eyes glaze over> Um ... er ... ah ... what needs to change?

Respectfully,


Robert Huff

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

Message: 5
Date: Thu, 25 Mar 2010 10:11:06 +0000
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: ipv6 changes in src/UPDATING
To: Robert Huff <rober...@rcn.com>
Cc: ques...@freebsd.org
Message-ID: <4BAB36BA...@infracaninophile.co.uk>
Content-Type: text/plain; charset=UTF-8

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

On 25/03/2010 09:17:30, Robert Huff wrote:
>
> I am updating a system:
>
> FreeBSD 9.0-CURRENT #3: Tue Sep 15 18:49:58 EDT 2009 amd64
>
> and failing to understand the (practical) consequences of
> UPDATING entries 20090926 and 20091202. The system runs ipv6, but
> external connectivity is though a v6-over-v4 tunnel (net/gateway6).
> rc.conf currently has:
>
> huff@>>grep v6 /etc/rc.conf
> ipv6_gateway_enable="YES" # Set to YES if this host will be a gateway.
> ipv6_firewall_enable="YES" # Set to YES to enable IPv6 firewall
> ipv6_firewall_type="UNKNOWN" # see /etc/rc.firewall6
> ipv6_firewall_script="/etc/ipfw.v6.set" # Which script to run to set up the IPv6 firewall
> ipv6_firewall_flags="" # see /etc/rc.firewall6
> gateway6_enable="YES"
>
> <eyes glaze over> Um ... er ... ah ... what needs to change?

None of the above, probably. As you're using a custom firewall
initialisation script, you don't need to worry about the variables for
controlling the various pre-canned scripts.

The text in UPDATING seems fairly clear to me: for the 20090926 update,
various rc.conf variables prefixed by ipv6 are deprecated in favour of
similar variables *suffixed* by ipv6 -- this is a simple matter of
editing to sort out.

There is also a new overall control knob for turning on or off IPv6
capability entirely. The new thing here is that it allows you to make
that change per-interface rather than for the whole machine. Given you
want IPv6 capability on all interfaces, just use ipv6_prefer="YES"

You need to look at the ifconfig_ifX* or ipv6_addrs_ifX variables.
Given that you've said your machine is a router for ipv6, you can't use
rtsol(8), so you should be manually configuring addresses on your
interfaces. You may not need to make any changes there: even so,
shouldn't be too hard to debug.

For the 20091202 update, again it is pretty much a replacement of
variables with an ipv6 prefix, to ones with an ipv6 suffix. All the
variables mentioned just detail the local IP addresses and networks, and
let you select which firewall script you want to use. As it says, the
ipv6 configuration exactly parallels the ipv4 configuration now.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurNroACgkQ8Mjk52CukIwfGwCfWJ6ZGlerqj3yMNrNaqY/SOyp
LIoAn0+dT9Bp3YKnrP6dz9kGV2FZKXUg
=kAQt
-----END PGP SIGNATURE-----


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

Message: 6
Date: Thu, 25 Mar 2010 10:22:22 +0000
From: Matthew Seaman <m.se...@infracaninophile.co.uk>
Subject: Re: Install of Apache 2.2.15 after installing ssl lastes
To: r...@fiberuplink.com
Cc: freebsd-...@freebsd.org
Message-ID: <4BAB39...@infracaninophile.co.uk>
Content-Type: text/plain; charset=UTF-8

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

On 25/03/2010 01:48:36, Rob Weissenburger wrote:
> I have been picking my brain apart trying to figure this one out. Any
> help is appricated.
>
> ./configure --prefix=/usr/local/apache --mandir=/usr/local/man
> --enable-ssl --enable-suexec --enable-cgi --enable-rewrite --enable-so
> --enable-modules=most --enable-mods-shared=max --sysconfdir=/etc/apache
> --with-apr=/usr/local/ --with-apr-util=/usr/local/
>
> /usr/local/build-1/libtool --silent --mode=link gcc -g -O2
> -L/usr/local/lib -o ab ab.lo -lm
> /usr/local/httpd-2.2.15/srclib/pcre/libpcre.la
> /usr/local/lib/libaprutil-1.la -lexpat -liconv
> /usr/local/lib/libapr-1.la -lcrypt -lpthread -lssl -lcrypto -lcrypt
> -lpthread
> .libs/ab.o(.text+0xb7): In function `ssl_print_cb':
> /usr/local/httpd-2.2.15/support/ab.c:409: undefined reference to
> `BIO_get_callback_arg'
> .libs/ab.o(.text+0x25e3): In function `start_connect':
> /usr/local/httpd-2.2.15/support/ab.c:1204: undefined reference to
> `BIO_set_callback'
> .libs/ab.o(.text+0x25f1):/usr/local/httpd-2.2.15/support/ab.c:1205:
> undefined reference to `BIO_set_callback_arg'
> .libs/ab.o(.text+0x4e2f): In function `main':
> /usr/local/httpd-2.2.15/support/ab.c:2278: undefined reference to
> `SSL_CTX_set_info_callback'
> *** Error code 1
>
> # openssl version
> OpenSSL 0.9.8m 25 Feb 2010

Looks like you're linking against one version of the OpenSSL shlibs, but
configuring/compiling using headers from a different one. Can't tell
for sure from the small snippet of output you've given there though.

Are you trying to build apache from source outside the ports? Not using
the ports implies that you like sitting down and beating your brains out
over all these sorts of problems yourself, rather than just using the
solution provided for you by the port maintainer.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurOV4ACgkQ8Mjk52CukIyslQCbBwsyzUnZf/Fi9/j09nzlRfDp
QNYAnjWYcrkehGXYwgx0zzNpW4G90ld7
=SOmF
-----END PGP SIGNATURE-----


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

Message: 7
Date: Thu, 25 Mar 2010 07:36:25 -0400
From: Ken Smith <kens...@buffalo.edu>
Subject: Re: freebsd-update(8) under sparc64? Why is it not available?
To: Marius Strobl <mar...@alchemy.franken.de>
Cc: Mark Linimon <lin...@lonesome.com>, freebsd...@freebsd.org,
FreeBSD-...@freebsd.org, kens...@freebsd.org, Adam PAPAI
<wo...@wooh.hu>
Message-ID: <4BAB4AB9...@buffalo.edu>
Content-Type: text/plain; charset=ISO-8859-1

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

On 3/24/10 6:38 PM, Marius Strobl wrote:
> On Wed, Mar 24, 2010 at 02:57:09AM -0500, Mark Linimon wrote:
>> You're the first one to ask in a while. Since our userbase is small,
>> and developer time is limited, we've never set it up.
>>
>
> The last time this topic came up IMO there was quite some
> interest in getting this running but the showstopper was that
> cperciva@ said that a requirement for any platform supported
> by freebsd-update(8) would be that the build server is able
> to run buildworld in 1 hour at most (unfortunately I currently
> just can't find that email). My 4x1.5GHz V440 I originally
> intended for this purpose unfortunately still takes 72 minutes
> last time I checked. I suspect a 8x1.2GHz V880 would be able
> to meet this requirement but I simply can't afford the housing
> for such a beast.

I have none that are faster than 900MHz processors, and the
one with the most processors in it is 6x750MHz.

> Ken, did the V880s at your university become available as
> intended some time ago?

At the moment there are two - one being used by portmgr@
for package builds which is the 6x750MHz machine. The
other I do the monthly snapshots and release builds on,
it's 4x900MHz. This was its performance on the world
built of 7.3-RELEASE:

>>> World build started on Sat Mar 20 23:34:54 EDT 2010
>>> World build completed on Sun Mar 21 00:50:58 EDT 2010

- --
Ken Smith
- - From there to here, from here to | kens...@buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkurSrkACgkQ/G14VSmup/aDPACeM4Whnkrn2UfQys/22Y4qTCOa
7soAnAnjusO81m0q/9fvMBDTYR9LjUgj
=l35W
-----END PGP SIGNATURE-----


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


End of freebsd-questions Digest, Vol 303, Issue 9
*************************************************

0 new messages