From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B89E8138247 for ; Mon, 30 Dec 2013 11:31:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BC8CE0B41; Mon, 30 Dec 2013 11:31:24 +0000 (UTC) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 235DAE0ACF for ; Mon, 30 Dec 2013 11:31:22 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id b13so10120545wgh.30 for ; Mon, 30 Dec 2013 03:31:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=C3Y2QORyayEvKbiXnmkXUWYuIIYFXkGIV+klrebdZPw=; b=ZKLO0rAPPifxyYm1GR0CZvSf+YoDYhXgV9Xk3S7G+fIpT8swdiry8Z9pU821+57yB6 AeiquTANIIx+IOsfj4SOI8KcDSczPTgwtk4QczmiYssEIujeL0K7IJQHBs9cu8EktI8G kEYf4Xu2MmX5v8jXON5uGTfuyV0JyHA6eUhSWzmerPRX6Djlx+IugsMFNRCRnnfYCpNt jPAuLPyLhMBpre2ikfTf1ARCe/dsWk+tMG7p/d9nuvJEZZ3I8DWyC4Dw454xCT0SUVEf juDhEL0LrG+wWspSXF0/d6au13G8K3byItpnp0Ew2fLytM/C8oOmLUYeGVqcdAr5Fr9z B95A== X-Received: by 10.180.85.71 with SMTP id f7mr44560704wiz.41.1388403081725; Mon, 30 Dec 2013 03:31:21 -0800 (PST) Received: from [172.20.0.41] (196-210-126-126.dynamic.isadsl.co.za. [196.210.126.126]) by mx.google.com with ESMTPSA id po3sm25550803wjc.3.2013.12.30.03.31.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 03:31:21 -0800 (PST) Message-ID: <52C15972.7080103@gmail.com> Date: Mon, 30 Dec 2013 13:30:58 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Apache died this morning... why? References: <52C14F49.60309@libertytrek.org> In-Reply-To: <52C14F49.60309@libertytrek.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: d1d38c93-d4b8-4201-99af-36fd81b55887 X-Archives-Hash: f2fb5430aacaf14f7f16d27470cd3146 On 30/12/2013 12:47, Tanstaafl wrote: > Good morning everyone, > > Came in this morning to a server with a non-running apache... > > It did restart ok, but when I checked the error log, I found this: > > [Mon Dec 30 03:10:02 2013] [notice] Graceful restart requested, doing > restart > [Mon Dec 30 03:10:02 2013] [error] (9)Bad file descriptor: > apr_socket_accept: (client socket) > apache2: Syntax error on line 169 of /etc/apache2/httpd.conf: Syntax > error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load > /usr/lib64/apache2/modules/libphp5.so into server: /lib64/libc.so.6: > version `GLIBC_2.16' not found (required by /usr//lib64/libcurl.so.4) > > I did recently do the gcc upgrade to 4.7... so is this because I failed > to rebuild sys-devel/libtool? The error is that PHP5 cannot load as it wants libcurl which is complaining about a missing libc version. To see what's going on, run ldd on: /usr/lib64/apache2/modules/libphp5.s /usr//lib64/libcurl.so.4 preserved-rebuild should just take care of all this automagically. Do you have preserve-libs in FEATURES? > > Or do I need to rebuild apache? Or both? Do a pretend run of revdep-rebuild. I'll bet you end up rebuilding curl and/or php, but not apache. Apache is unlikely to be at fault, it loads a dynamic module and use it, that module either works or it doesn't. > > The GCC Upgrade guide is a bit outdated (still referring to gcc 3.4 and > 4.1, with no mention of newer versions, so I wasn't sure if that was > still necessary... According to the posted error, this has nothing to do with compiler versions, it is linker errors related to glibc You do not have to rebuild system, world or the known universe. You only have to do that when the a gcc upgrade changes the data format on-disk that the C++ compiler generates. That has not happened here. There's an insane amounts of FUD around about rebuilding gcc, all of it originating from ricers without a clue. You run strictly stable-only so never fear, if a gcc upgrade required a world rebuild you would have already been subjected to 12-month long threads about it right here on this list -- Alan McKinnon alan.mckinnon@gmail.com