Meu sistema Info: OS: CentOS release 5.7 (Final)
Apache 2.2.3 Server Running
DirectAdmin 1.40.1 Running
Exim 4.76 Running
MySQL 5.1.57 Running
Named 9.3.6 Running
ProFTPd 1.3.3c Running
sshd Running
dovecot 2.0.16 Running
Php 5.2.17 Installed
Total Memory 8052740 kB
Free Memory 3680156 kB
Total Swap Memory 25164468 kB
Free Swap Memory 25164468 kB
Enquanto eu estava tentando instalar o php-imap fazendo
yum install php-imap
recebi o seguinte erro.
[root@www mailer]# yum install php-imap
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.supportex.net
* extras: mirrors.supportex.net
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.mirror.transip.nl
base | 1.1 kB 00:00
base/primary | 1.2 MB 00:00
Segmentation fault (core dumped)
eu tentei fazer
[root@www mailer]# yum search php-imap
e recebi este erro.
[root@www mailer]# yum search php-imap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.supportex.net
* extras: mirrors.supportex.net
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.mirror.transip.nl
Segmentation fault (core dumped)
eu até tentei
[root@www mailer]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
e fez isso e obteve o mesmo erro
[root@www mailer]# yum check-update
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.supportex.net
* extras: mirrors.supportex.net
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.mirror.triple-it.nl
base | 1.1 kB 00:00
base/primary | 1.2 MB 00:00
Segmentation fault (core dumped)
então eu tentei
rm -rf /var/lib/rpm/__db.*
rpm --rebuilddb
yum clean all
yum makecache
e tenho isso
[root@www mailer]# rm -rf /var/lib/rpm/__db.*
[root@www mailer]# rm -rf /var/lib/rpm/__db.*
[root@www mailer]# rpm --rebuilddb
[root@www mailer]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@www mailer]# yum makecache
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.supportex.net
* extras: mirrors.supportex.net
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.mirror.triple-it.nl
base | 1.1 kB 00:00
base/filelists | 3.6 MB 00:00
base/other | 13 MB 00:01
base/group | 1.1 MB 00:00
base/primary | 1.2 MB 00:00
dag | 1.9 kB 00:00
dag/filelists_db | 6.1 MB 00:04
dag/other_db | 1.5 MB 00:01
dag/primary_db | 7.0 MB 00:04
extras | 2.1 kB 00:00
extras/filelists_db | 241 kB 00:00
extras/other_db | 406 kB 00:00
extras/group | 9.7 kB 00:00
extras/primary_db | 188 kB 00:00
rpmforge | 1.9 kB 00:00
rpmforge/filelists_db | 6.1 MB 00:00
rpmforge/other_db | 1.5 MB 00:00
rpmforge/primary_db | 7.0 MB 00:00
updates | 1.9 kB 00:00
updates/filelists_db | 1.9 MB 00:00
updates/other_db | 8.3 MB 00:00
updates/primary_db | 383 kB 00:00
Segmentation fault (core dumped)
como posso corrigir esse erro?
Obrigado pelo seu tempo.
atualização:
eu tentei fazer
strace -f yum make cache
e isso me deu uma saída muito longa, aqui estão as últimas linhas.
futex(0x2ba19218a500, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, st_size=1303494, ...}) = 0
stat("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, st_size=1303494, ...}) = 0
stat("/var/cache/yum/base/primary.xml.gz", {st_mode=S_IFREG|0644, st_size=1303494, ...}) = 0
open("/var/cache/yum/base/primary.xml.gz", O_RDONLY) = 10
lseek(10, 0, SEEK_CUR) = 0
read(10, "3[root@www ~]# tail /var/log/messages
www kernel: yum[4089]: segfault at 0000003900000000 rip 00000039cfc79e0a rsp 00007fff280dcaf8 error 4
/usr/lib
/usr/local/lib
zlib 1.2.3
reference :
http://www.doxer.org/learn-linux/resolved-yum-returned-segmentation-fault-error-on-centos/
http://serverfault.com/questions/256385/yum-segmentation-fault-in-centos
http://petio.org/tools/zlib.html
http://code.google.com/p/google-desktop-for-linux-mirror/downloads/detail?name=zlib-1.2.3.tar.gz&can=2&q=
Apache 2.2.3 Server Running
DirectAdmin 1.40.1 Running
Exim 4.76 Running
MySQL 5.1.57 Running
Named 9.3.6 Running
ProFTPd 1.3.3c Running
sshd Running
dovecot 2.0.16 Running
Php 5.2.17 Installed
Total Memory 8052740 kB
Free Memory 3680156 kB
Total Swap Memory 25164468 kB
Free Swap Memory 25164468 kB
7/home/buildcentos/CENTOS/5.9/en/x86_64/.repodata/primary.xml yum install php-imap
45Y73F6006_137ii,047702,g7$g;5267< 04$X[root@www mailer]# yum install php-imap
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.supportex.net
* extras: mirrors.supportex.net
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.mirror.transip.nl
base | 1.1 kB 00:00
base/primary | 1.2 MB 00:00
Segmentation fault (core dumped)
036775[root@www mailer]# yum search php-imap
\t0104422236D4vc13237{3L5k6I6233276i|fQ2Z4517715g77O374d+15W576]65251I24673hs57<2445N2l14V7d3W1z922<36,4b\v3S7\"7'6254[37=3F?50bK6S15H2:K3067137,/7Ze07O4_~4'30:\v/76\f03_6644[s7163&36476337~\f/yxUl6545%3U]-20o76733g?E!1376:!5Q404%[root@www mailer]# yum search php-imap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.supportex.net
* extras: mirrors.supportex.net
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.mirror.transip.nl
Segmentation fault (core dumped)
637)7Il1(t5073z47~47-Y~73130dM.Y\v3U4,69+ay?645~4x6175v157<7s12144k3,24,77x24PoX0l247j7\v03y7E61Cg127W44135X&K65I\n@j36cZ65L\v6IU?1612M*274>3"..., 8192) = 8192
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
atualização:
[root@www mailer]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
Problema solucionado
ATUALIZAÇÃO
como sugerido por 0x534B41
eu removi todos os zlib de
[root@www mailer]# yum check-update
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.supportex.net
* extras: mirrors.supportex.net
* rpmforge: mirror.nl.leaseweb.net
* updates: centos.mirror.triple-it.nl
base | 1.1 kB 00:00
base/primary | 1.2 MB 00:00
Segmentation fault (core dumped)
e instalado
rm -rf /var/lib/rpm/__db.*
rpm --rebuilddb
yum clean all
yum makecache
Obrigado pelo seu tempo.