[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#819419: libc6: GLIBC_PRIVATE not defined in file libc.so.6



Am 28.03.2016 um 14:14 schrieb Aurelien Jarno:
> On 2016-03-28 13:22, pv0001@dynapic.net wrote:
>> Package: libc6
>> Version: 2.22-4
>> Severity: normal
>> 
>> Dear Maintainer,
>> 
>> Apache2 does not start
>> 
>> Error reported:
>> apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax
>> error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load
>> /usr/lib/apache2/modules/libphp5.so into server:
>> /lib/x86_64-linux-gnu/libresolv.so.2: symbol __h_errno, version
>> GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
> 
> Does it happens when you (re)start apache2, or when it is reloaded from
> a cron job?

It happend after run of logrorate:

/etc/cron.daily/logrotate:
Job for apache2.service failed because the control process exited with
error code. See "systemctl status apache2.service" and "journalctl -xe"
for details.
error: error running shared postrotate script for
'/var/log/apache2/*.log /var/log/apache2/*/*.log
/var/log/apache2-dev/*/*.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1

>> Output of: # ldd /bin/ls
>>         linux-vdso.so.1 (0x00007ffea898f000)
>>         libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1
>> (0x00007f19ea11f000)
>>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f19e9d7b000)
>>         libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
>> (0x00007f19e9b0a000)
>>         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f19e9906000)
>>         /lib64/ld-linux-x86-64.so.2 (0x000055f6125c6000)
>>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>> (0x00007f19e96e9000)
> 
> That looks fine. That said it looks like libc.so.6 is still the version
> from libc6 2.21. Can you try to execute /lib/x86_64-linux-gnu/libc.so.6
> and check the version?

# /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Debian GLIBC 2.22-4) stable release version 2.22, by
Roland McGrath et al.
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 5.3.1 20160316.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.

> 
> Aurelien
> 


Reply to: