Berkeley DB (BDB) is an open source high-performance embedded database library, with API bindings for many programming languages, including C, C++, C#, Java, Perl, PHP, Ruby, Python, Tcl, and Smalltalk, and supports most modern operating systems, including Windows, Unix-like operating systems, mobile operating systems, and real-time operating systems. It originated at UC Berkeley, and is currently distributed and developed by Oracle Corporation.
Questions tagged [berkeleydb]
16 questions
3
votes
0 answers
How do I change the maximum number of locks for OpenLDAP bdb?
I'm trying to remove a memberUid from an LDAP group with ~50,000 members. It's failing with this error message:
5afc4c76 bdb(dc=example,dc=com): Lock table is out of available lock entries
5afc4c76 => bdb_idl_insert_key: c_get failed: Cannot…
Leo
- 973
- 6
- 21
- 38
2
votes
0 answers
How can I explore and/or modify Apache httpd's DAVLock file?
I have an Apache httpd server running mod_dav (and mod_dav_fs) and I have what appear to be stale locks on files that I'd like to manually expire.
I can see the DAVLock file on the disk, and the documentation says that the file is an SDBM file, but…
Christopher Schultz
- 1,056
- 1
- 11
- 20
2
votes
0 answers
How can I browse the contents of a Berkeley DB file?
I'd like to see what's in a bdb file in my Thunderbird profile:
$ file key3.db
key3.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)
I've tried this and it doesn't seem to work:
$ db_dump -l key3.db
db_dump: key3.db: unexpected file type…
Christopher Schultz
- 1,056
- 1
- 11
- 20
2
votes
2 answers
How to read a Berkeley DB log file for slapd?
I am running OpenLDAP's slapd on Fedora 14, and I see that in the directory for the database, there is a log.0000000001 file. I would like to be able to read this file, as I am interested in recent transactions that have occurred. How do I read this…
John
- 21
- 1
- 2
1
vote
1 answer
LDAP coruption after upgrade
I upgraded openldap from openldap-2.4.39-8.el6.x86_64 to 2.4.40-12.el6.x86_64 and after restarting the server i get the following error. I am trying to work out how to recover as I don't have a backup.
586d0afc <<< dnNormalize:
586d0afc…
Tim Hughes
- 313
- 3
- 10
1
vote
1 answer
htdbm and mod_authn_dbm fail when migrating between apache 2.2 servers
I'm migrating an existing website from Apache 2.2.4 on Gentoo 32-bit to Apache 2.2.27 on CentOS 64-bit. This particular site uses DBM for authentication with encrypted passwords.
On the old system if I type:
htdbm -l access.db
I get a list of the…
tudor -Reinstate Monica-
- 1,805
- 18
- 35
1
vote
1 answer
How do I recover a Berkeley DB (included in a Sun Grid Engine installation)?
I'm on CentOS 5.
[root@newjanux spooldb]# uname -a
Linux newjanux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
and SGE 6.2u2
I already have copies of the original database just in case ... berkeley db won't start…
Henry N6HCM
- 111
- 1
- 3
1
vote
0 answers
Is there a work-around for "File size limit exceeded" errors when using db_dump185
Has anyone ever attempted to upgrade an old Berkeley database that must be dumped via db_dump185?
When I try to dump a database containing comments from a website, as follows:
$ bash-3.2$ db_dump185 -f comment.dump comment.db
I get this…
Dave Aiello
- 127
- 10
1
vote
0 answers
LDAP Berkeley DB
I'm trying to configure slapd on my machine and I keep getting this error. I can recover at times using db7.7_recover but not always. I see this problem if the slapd deamon is killed for any reason.
Isn't a DB supposed to be able to take care of…
kgunjikar
- 133
- 5
1
vote
1 answer
Red Hat - Berkeley DB library - Corrupted DB
I am getting the below errors while executing the yum or rpm command.
error: rpmdb: BDB0113 Thread/process 22448/139817567954752 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY:…
Arunkumar NKL
- 11
- 4
0
votes
1 answer
DB_NOTFOUND: No matching key/data pair found (-30988)
Could anyone please explain why I get this error. I got this error(on server) while trying to bind any user in ldap server. Also I get "Insufficient access rights" output when I run the program. And I dont get it while trying to bind admin. I…
Praneetha
- 1
- 1
- 4
0
votes
1 answer
Berkeley DB: How to force transaction log rotation for log archival based on db_archive
I use Berkeley DB's db_archive to move unused transaction logs to a backup location for the purpose of disaster recovery. The intention is to reduce the data loss window to N minutes. Consequently, I execute db_archive every N minutes. If the…
horstr
- 101
- 1
0
votes
1 answer
Berkeley DB + Openldap : Program version doesn't match environment version
When I run :
#slaptest
it says "config file testing succeeded"
If I run
#slapd -f slapd.conf -d 256
I got:
buildd@lamiak:/build/buildd/openldap-2.4.31/debian/build/servers/slapd
53d0762e bdb(dc=mydomain,dc=com): Program version…
lightlid
- 1
- 2
0
votes
1 answer
How Do I Invoke Berkeley Database 1.85 Compatibility Mode Under CentOS 5?
I have been trying to work with databases that were created under Berkeley Database 1.85 so that I can convert them to MySQL.
I believe the files are Berkeley DB 1.85 under CentOS 5 for the following reasons:
bash-3.2$ file comment.db
comment.db:…
Dave Aiello
- 127
- 10
0
votes
4 answers
How to know which berkley db openldap is refering to?
I have two berkeley dbs installed on the RHEL 5.3. Now, I am confused that which one openldap is referring as its backend.
Following is the slapd.conf:
include /usr/local/etc/openldap2-4-30/schema/core.schema
include…
Infotechie
- 131
- 2
- 8