Re: Corrupted RPM DB can't be rebuilt.

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



On Fri, Jan 7, 2011 at 10:11 PM, Camron W. Fox <cwfox@xxxxxxxxxxxxxx> wrote:
> Alle,
>
>        I have a major problem. I'm running CentOS 5.5 on some rather old
> hardware (Dual Celeron 500MHz with 768MB of memory). Sometime in the
> last week, the DB became corrupted (I noticed when yum update would hang).
>        I've tried running rpm --rebuild with both the 2.6.18-194.17.4 and
> 2.6.18-194.26.1 kernels and get a segmentation fault each time.

This has little, if anything, to do with the kernel itself unless your
hardware drivers are seriously mangled.

Can you get an "rpm -qav" report without errors? If so, can you
re-install all the RPM's manually with a "--replacepkgs" option?

>        Consequently, I'm pretty much stuck and cannot do any update. Also, the
> machine has a tendency to hang any time operations are done. I've
> disabled some of the cronjobs that do this, but this is no way to operate.

Time to back up your configurations and rebuild, if that's feasible.
Your last /var/log/rpmpkgs that was valid should be a helpful
guideline for packages to re-install as part of a new deployment.

>        I would appreciate any input on where to go from here to try and
> rectify the problem.
>
> Best Regards,
> Camron
>
> --
> Camron W. Fox
> Hilo Office
> High Performance Computing Group
> Fujitsu Management Services of America, Inc.
> E-mail:         cwfox@xxxxxxxxxxxxxx
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux