Bonjour tout le monde Je me permets de vous écrire car je le souci suivant sur 2 serveurs squeeze récemment installés: [root@XXX]:/etc/apt # cat /etc/debian_version 6.0.1 [root@XXX]:/etc/apt # dpkg -l |grep ii| egrep -w "dpkg|apt" ii apt 0.8.10.3 Advanced front-end for dpkg ii apt-dater-host 0.8.4-4+squeeze1 host helper application for apt-dater ii apt-utils 0.8.10.3 APT utility programs ii dpkg 1.15.8.10 Debian package management system [root@XXX]:/etc/apt # rm -rf /var/cache/apt/*.bin [root@XXX]:/etc/apt # apt-get update Hit http://ftp.fr.debian.org squeeze Release.gpg Ign http://ftp.fr.debian.org/debian/ squeeze/contrib Translation-en Ign http://ftp.fr.debian.org/debian/ squeeze/contrib Translation-en_US Ign http://ftp.fr.debian.org/debian/ squeeze/main Translation-en Ign http://ftp.fr.debian.org/debian/ squeeze/main Translation-en_US Ign http://ftp.fr.debian.org/debian/ squeeze/non-free Translation-en Ign http://ftp.fr.debian.org/debian/ squeeze/non-free Translation-en_US Hit http://ftp.fr.debian.org squeeze Release Hit http://ftp.fr.debian.org squeeze/main amd64 Packages Hit http://ftp.fr.debian.org squeeze/contrib amd64 Packages Hit http://ftp.fr.debian.org squeeze/non-free amd64 Packages Reading package lists... Error! Segmentation fault [root@XXX]:/etc/apt # tail /var/log/messages Jun 15 14:33:52 XXX kernel: [ 2430.221023] apt-get[5315]: segfault at ffffffffffffffff ip 00007f40d398254e sp 00007fffac086fa0 error 4 in libapt-pkg.so.4.10.1[7f40d3933000+100000] Voici ce que me donne le strace de la commande: [root@XXX]:/etc/apt # rm -rf /var/cache/apt/*.bin [root@XXX]:/etc/apt # strace apt-get update execve("/usr/bin/apt-get", ["apt-get", "update"], [/* 27 vars */]) = 0 brk(0) = 0x14c2000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6ee4fe0000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/x86_64/libapt-pkg.so.4.10", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib/tls/x86_64", 0x7fffd88b2700) = -1 ENOENT (No such file or directory) open("/lib/tls/libapt-pkg.so.4.10", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib/tls", 0x7fffd88b2700) = -1 ENOENT (No such file or directory) open("/lib/x86_64/libapt-pkg.so.4.10", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib/x86_64", 0x7fffd88b2700) = -1 ENOENT (No such file or directory) open("/lib/libapt-pkg.so.4.10", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/usr/lib/tls/x86_64/libapt-pkg.so.4.10", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib/tls/x86_64", 0x7fffd88b2700) = -1 ENOENT (No such file or directory) open("/usr/lib/tls/libapt-pkg.so.4.10", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib/tls", 0x7fffd88b2700) = -1 ENOENT (No such file or directory) open("/usr/lib/x86_64/libapt-pkg.so.4.10", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib/x86_64", 0x7fffd88b2700) = -1 ENOENT (No such file or directory) open("/usr/lib/libapt-pkg.so.4.10", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360%\3\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1070800, ...}) = 0 mmap(NULL, 3167840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6ee4abf000 mprotect(0x7f6ee4bbf000, 2097152, PROT_NONE) = 0 mmap(0x7f6ee4dbf000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x100000) = 0x7f6ee4dbf000 mmap(0x7f6ee4dc4000, 1632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6ee4dc4000 close(3) = 0 open("/lib/libutil.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=10648, ...}) = 0 mmap(NULL, 2105608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6ee48bc000 ... stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_squeeze_Release.gpg", {st_mode=S_IFREG|0644, st_size=1671, ...}) = 0 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_squeeze_Release.gpg", {st_mode=S_IFREG|0644, st_size=1671, ...}) = 0 stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_squeeze_Release.gpg", {st_mode=S_IFREG|0644, st_size=1671, ...}) = 0 stat("/var/cache/apt/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/cache/apt/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/var/cache/apt/", W_OK) = 0 ) = 29g package lists... 0% lists... 0%\r", 29 stat("/var/cache/apt/pkgcache.bin", {st_mode=S_IFREG|0644, st_size=14725857, ...}) = 0 open("/var/cache/apt/pkgcache.bin", O_RDONLY) = 5 fcntl(5, F_SETFD, FD_CLOEXEC) = 0 fstat(5, {st_mode=S_IFREG|0644, st_size=14725857, ...}) = 0 mmap(NULL, 14725857, PROT_READ|PROT_WRITE, MAP_PRIVATE, 5, 0) = -1 ENOMEM (Cannot allocate memory) open("/usr/share/locale/en_US.ISO-8859-15/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.ISO-8859-15/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Segmentation fault Bien sur le serveur ne fout rien: [root@XXX]:/etc/apt # free total used free shared buffers cached Mem: 16459236 481056 15978180 0 9656 244828 -/+ buffers/cache: 226572 16232664 Swap: 4194296 0 4194296 [root@XXX]:/etc/apt # uptime 14:36:45 up 43 min, 2 users, load average: 0.04, 0.06, 0.01 Une idée de la provenance du 'Cannot allocate memory' -- Cordialement, JM |