Re: db error

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

 




On Apr 9, 2007, at 4:43 AM, Marcus Habermehl (BMH1980) wrote:

Jeff Johnson schrieb:

On Apr 5, 2007, at 10:34 AM, Marcus Habermehl (BMH1980) wrote:
[...]
Doing the following should either reproduce your rpm problem or verify your
db build, depending on results:

    cd /var/lib/rpm
    db_verify Packages
root:/var/lib/rpm$ db_verify Packages
db_verify: PANIC: fatal region error detected; run recovery
root:/var/lib/rpm$ db_recover
root:/var/lib/rpm$ db_verify Packages
root:/var/lib/rpm$


Note that db_verify is part of Berkeley DB. Install Berkeley DB correctly is
going to be the fix.

Is LD_ASSUME_KERNEL set when building? Berkeley DB must be able
to detect functional posix mutexes if choosing what type of locking to use
implicitly. Otherwise, add --enable-posixmutexes.

Is rpm statically linked? If so, there's some additional compiler flags that need
to be used with some glibc's.

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux