I have Ubuntu 11.10. server which suffered from power failure today. Ever since the power went back on the unit works only partially. Some services work OK, some does not start, e.g.
apache2ctl restart Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 640: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed! Action 'restart' failed. The Apache error log may have more information. do-dist-upgrade Segmentation fault apt-get update (no output)
Upon examining dmesg, apt-get segfaults as well.
[ 552.996106] apt-get: segfault at 6f5104d2 ip b7655c03 sp bfd50ff0 error 6 in libapt-pkg.so.4.11.0[b7618000+117000]
So I tried to force fsck by using
sudo touch /forcefsck reboot
and then later by
shutdown -rF now
however after both I still get
cat /var/log/fsck/check* (Nothing has been logged yet.) (Nothing has been logged yet.)
I am a bit lost at what to try next. I though I would just reinstall some package which might be broken, but first of all I dont know which and then I am not sure how (dpkg works though). I really want to avoid having to reinstall the whole thing. Any advice is appreciated.