Presently I have a server running Centos 4.6
All of a sudden the server started responding slow.
I disconnected my putty session and reconnected.
It took a while before I got the login prompt.
When I try to run "yum upgrade" all I get "segemntation fault".
When I try to run "rpm" I get the same.
So I downloaded the rpm source from rpm.org.
When I try to unpack it with "tar xzvf rpm-4.4.2.2.tar.gz", it waits a while and exits with just "bus error"
I tried "man yum" that started with "Formatting page" and then.... nothing
Where do I need to look what is the source of the problem?
I already discovered a few things.
Bus error has to do with the kernel.
Segmentation fault might indicate a conflict of version between libraries or libraries and application.
Either might indicate a hardware error (how do I test for it)
When I run "strace yum upgrade" the part with the segmentation fault is:
Code:
open("/lib/libselinux.so.1", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340pO\0004\0\0\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=56336, ...}) = 0
old_mmap(0x4f5000, 56176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4f5000
old_mmap(0x502000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0xd000) = 0x502000
close(5) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
When I run "tar xzvf rpm-4.4.2.2.tar.gz" the part with the bus error is:
Code:
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=48505456, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d6c000
close(3) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 0
umask(0) = 022
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7f6cae8) = 30000
close(4) = 0
fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
read(3, "rpm-4.4.2.2/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 10240) = 10240
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Thanks in advance