<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
If the database panics, it has detected a state of inconsistency it
cannot resolve and sets a panic flag to the database environment to
prevents its use. Just restarting the ds will detect the flag and
abort.<br>
You can try to remove the __db.00* files and then start DS again, if
this fails you need to rebuild the database either by a bak backup
or ldif import.<br>
<br>
Why it did panic, I think we can no longer find out.<br>
<br>
Ludwig<br>
<br>
<div class="moz-cite-prefix">On 08/02/2013 09:30 AM, Manel Gimeno
Zaragozá wrote:<br>
</div>
<blockquote cite="mid:DUB119-W27028A3E8D0D123F27793DD510@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hello,<br>
<br>
Yesterday afternoon my LDAP server crashed without doing any
modification, just consulting.<br>
<br>
My environment is an openvz container:<br>
<br>
# cat /etc/issue<br>
CentOS release 6.4 (Final)<br>
Kernel \r on an \m<br>
<br>
# uname -a<br>
Linux newldap.test.es 2.6.32-042stab053.5 #1 SMP Tue Mar 27
11:42:17 MSD 2012 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
# rpm -qa | grep 389<br>
389-console-1.1.7-1.el6.noarch<br>
389-admin-1.1.29-1.el6.x86_64<br>
389-admin-console-1.1.8-1.el6.noarch<br>
389-ds-base-1.2.11.15-14.el6_4.x86_64<br>
389-ds-console-1.2.6-1.el6.noarch<br>
389-ds-base-libs-1.2.11.15-14.el6_4.x86_64<br>
389-ds-base-devel-1.2.11.15-14.el6_4.x86_64<br>
389-adminutil-1.1.15-1.el6.x86_64<br>
<br>
<br>
Please find below the log when it crashes:<br>
<br>
<font style="font-size: 10pt;" size="2">errors:10:[01/Aug/2013:14:09:44
+0200] configure_pr_socket - Unable to move socket file
descriptor 62 above 64: OS error 24 (Too many open files)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">errors:11:[01/Aug/2013:14:09:44
+0200] configure_pr_socket - Unable to move socket file
descriptor 63 above 64: OS error 24 (Too many open files)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">errors:12:[01/Aug/2013:14:09:44
+0200] - PR_Accept() failed, Netscape Portable Runtime error
-5971 (Process open FD table is full.)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">errors:13:[01/Aug/2013:14:09:44
+0200] - PR_Accept() failed, Netscape Portable Runtime error
-5971 (Process open FD table is full.)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">errors:14:[01/Aug/2013:14:09:44
+0200] - PR_Accept() failed, Netscape Portable Runtime error
-5971 (Process open FD table is full.)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">...</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:10:01
+0200] - PR_Accept() failed, Netscape Portable Runtime error
-5971 (Process open FD table is full.)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:10:01
+0200] - PR_Accept() failed, Netscape Portable Runtime error
-5971 (Process open FD table is full.)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:10:01
+0200] - libdb: PANIC: fatal region error detected; run
recovery</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:10:01
+0200] - Serious Error---Failed in deadlock detect (aborted at
0x0), err=-30974 (DB_RUNRECOVERY: Fatal error, run database
recovery)</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:10:01
+0200] - PR_Accept() failed, Netscape Portable Runtime error
-5971 (Process open FD table is full.)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:10:01
+0200] - PR_Accept() failed, Netscape Portable Runtime error
-5971 (Process open FD table is full.)</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">...</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:12:27
+0200] - libdb: PANIC: fatal region error detected; run
recovery</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:12:27
+0200] - Serious Error---Failed in deadlock detect (aborted at
0x0), err=-30974 (DB_RUNRECOVERY: Fatal error, run database
recovery)</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:12:28
+0200] - libdb: PANIC: fatal region error detected; run
recovery</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:12:28
+0200] - Serious Error---Failed in deadlock detect (aborted at
0x0), err=-30974 (DB_RUNRECOVERY: Fatal error, run database
recovery)</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:12:28
+0200] - libdb: PANIC: fatal region error detected; run
recovery</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:12:28
+0200] - Serious Error---Failed to checkpoint database,
err=-30974 (DB_RUNRECOVERY: Fatal error, run database
recovery)</font><br>
<br>
when I noticed that the ldap had crashed, I tried to restart the
process and the following errors show up:<br>
<br>
<font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - 389-Directory/1.2.11.15 B2013.105.2259 starting up</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - WARNING: userRoot: entry cache size 10485760B is less
than db size 14729216B; We recommend to increase the entry
cache size nsslapd-cachememsize.</font><font style="font-size:
10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - libdb: PANIC: fatal region error detected; run
recovery</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Opening database environment
(/var/lib/dirsrv/slapd-ldap_kolab/db) failed. err=-30974:
DB_RUNRECOVERY: Fatal error, run database recovery</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - start: Failed to init database, err=-30974
DB_RUNRECOVERY: Fatal error, run database recovery</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Failed to start database plugin ldbm database</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - WARNING: ldbm instance userRoot already exists</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - ldbm_config_read_instance_entries: failed to add
instance entry cn=userRoot,cn=ldbm
database,cn=plugins,cn=config</font><font style="font-size:
10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - ldbm_config_load_dse_info: failed to read instance
entries</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - start: Loading database configuration failed</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Failed to start database plugin ldbm database</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: Failed to resolve plugin dependencies</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin 7-bit check is not started</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin Account Usability Plugin
is not started</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: accesscontrol plugin ACL Plugin is not started</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin ACL preoperation is not
started</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin Auto Membership Plugin is
not started</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: object plugin Class of Service is not started</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin deref is not started</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin HTTP Client is not started</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: database plugin ldbm database is not started</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: object plugin Legacy Replication Plugin is not
started</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin Linked Attributes is not
started</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: preoperation plugin Managed Entries is not
started</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: object plugin Multimaster Replication Plugin
is not started</font><font style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: object plugin Roles Plugin is not started</font><font
style="font-size: 10pt;" size="2"><br>
</font><font style="font-size: 10pt;" size="2">[01/Aug/2013:14:20:15
+0200] - Error: object plugin Views is not started</font><br>
<br>
Can any one help me?<br>
<br>
Thanks for your help<br>
<br>
Manel<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
</blockquote>
<br>
</body>
</html>