SOLVED DB_RUNRECOVERY: Fatal error trying to "Enable Monitoring"

Status
Not open for further replies.

Cellobita

Contributor
Joined
Jul 15, 2011
Messages
107
Recent 11.0-U1 install from scratch, under initial testing and validation; have just updated to 11.0-U2, but when I try to "Enable Monitoring" on the Active Directory page I get a

(-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery').

Shares are working as expected (SMB, AD-based Windows ACL's), so this is not overly critical, but since this is one of the changes on this release I'm wondering if this is a symptom of deeper issues.

Edit:

From /var/log/messages:

Code:
Jul 21 14:23:14 storage1 /cachetool.py: [common.freenasusers:217] Directory Groups could not be retrieved: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Jul 21 14:23:15 storage1 /cachetool.py: [common.freenasusers:335] Directory Users could not be retrieved: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Traceback (most recent call last):
  File "/usr/local/www/freenasUI/common/freenasusers.py", line 332, in __init__
  self.__users = dir(**kwargs)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 2568, in __init__
  super(FreeNAS_ActiveDirectory_Users, self).__init__(**kwargs)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 2439, in __init__
  super(FreeNAS_ActiveDirectory, self).__init__(**kwargs)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 1555, in __init__
  self.set_servers()
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 1710, in set_servers
  ssl=self.ssl, certfile=self.certfile, flags=flags)
  File "/usr/local/www/freenasUI/common/freenasldap.py", line 171, in __init__
Jul 21 14:23:15 storage1 /cachetool.py:
  self._cache = FreeNAS_LDAP_QueryCache()
  File "/usr/local/www/freenasUI/common/freenascache.py", line 313, in __init__
  super(FreeNAS_LDAP_QueryCache, self).__init__(cachedir)
  File "/usr/local/www/freenasUI/common/freenascache.py", line 104, in __init__
  0o700
bsddb3.db.DBRunRecoveryError: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')
Jul 21 14:23:16 storage1 /cachetool.py: [common.freenasusers:217] Directory Groups could not be retrieved: (-30973, 'BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery -- BDB0060 PANIC: fatal region error detected; run recovery')


Marcello Marques
São Paulo - SP - Brazil
 
Last edited:

Cellobita

Contributor
Joined
Jul 15, 2011
Messages
107
Solved!

Push the Rebuild Directory Services Cache button at the bottom of the page, let it finish, then you can enable monitoring with no errors.
 
D

dlavigne

Guest
Please create a feature request at bugs.freenas.org asking that the traceback instead bring up a tooltip to use the Rebuild Directory Services Cache button. Post the issue number here.
 
Status
Not open for further replies.
Top