Directory service is not starting due to /var/lib/dirsrv has reached 100% and error comes : Failed to start database plugin ldbm database
Issue
- Not able to start dirsrv instance due to database library has reached maximum space.
[22/Aug/2023:11:20:22.557535006 +0100] - ERR - attrcrypt_init - All prepared ciphers are not available. Please disable attribute encryption.
[22/Aug/2023:11:20:22.558867671 +0100] - ERR - libdb - BDB2506 file userroot/id2entry.db has LSN 14457/3960312, past end of log at 1/28
[22/Aug/2023:11:20:22.559436271 +0100] - ERR - libdb - BDB2507 Commonly caused by moving a database from one database environment
[22/Aug/2023:11:20:22.560069022 +0100] - ERR - libdb - BDB2508 to another without clearing the database LSNs, or by removing all of
[22/Aug/2023:11:20:22.560787298 +0100] - ERR - libdb - BDB2509 the log files from a database environment
[22/Aug/2023:11:20:22.561437512 +0100] - ERR - bdb_instance_start - dbp->open("userroot/id2entry.db") failed: Invalid argument (22)
[22/Aug/2023:11:20:22.562194919 +0100] - ERR - bdb_instance_start - Failure Invalid argument (22)
[22/Aug/2023:11:20:22.562762847 +0100] - ERR - ldbm_back_start - Failed to start databases, err=22 Invalid argument
[22/Aug/2023:11:20:22.563498504 +0100] - ERR - ldbm_back_start - Failed to allocate 835953459 byte dbcache. Please reduce the value of nsslapd-cache-autosize and restart the server.
[22/Aug/2023:11:20:22.564637375 +0100] - ERR - plugin_dependency_startall - Failed to start database plugin ldbm database
[22/Aug/2023:11:20:22.566304629 +0100] - CRIT - dblayer_setup - dblayer_init failed
[22/Aug/2023:11:20:22.567499479 +0100] - ERR - ldbm_back_start - Failed to setup dblayer
[22/Aug/2023:11:20:22.568183410 +0100] - ERR - plugin_dependency_startall - Failed to start database plugin ldbm database
[22/Aug/2023:11:20:22.568844455 +0100] - ERR - plugin_dependency_startall - Failed to resolve plugin dependencies
Environment
- Red Hat Directory Server 11.x
- Red Hat Directory Server 12.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.