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.mckin...@gmail.com


Reply via email to