[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Can't start with DB_BUFFER_SMALL error



On 14-Sep-07, at 6:44 AM, Howard Chu wrote:

Jason Lixfeld wrote:
Anyone know what caused this, or how to fix? Google hasn't told me anything I can understand about this error.
=> bdb_last_id: get failed: DB_BUFFER_SMALL: User memory too small for return value (-30999)
bdb_db_open: last_id(/var/db/openldap-data/ario) failed: DB_BUFFER_SMALL: User memory too small for return value (-30999)

This should never happen. Seems the only way it could is if you installed a new software version on top of an older database. Naturally, you are never supposed to do that...

I've been using 2.3/4.4 for as long as I can remember. Updating via FreeBSD portupgrade which shouldn't bump major versions.


More importantly, how to fix? slapcat ; rm ; slapadd ? Or is there a less destructive way?

Running:
openldap-client-2.3.37
openldap-server-2.3.37
db44-4.4.20.4
FreeBSD 6.1-RELEASE-p3
.


--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/