Re: Broken MMR - DB_BUFFER_SMALL: User memory too small for return value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Hesse wrote:
Scenario: two FDS 1.1 servers in a multi-master setup. Working fine for
months without a hiccup (except to upgrade from 1.04) then replication
suddenly stops working. Checking the logs, I see this:

[03/Apr/2008:23:44:00 +0000] NSMMReplicationPlugin - changelog program -
agmt="cn=MM aa0-006-8.u.powerset.com" (aa0-006-8:636): Failed to retrieve
change with CSN 47f5710d000000010000; db error - -30999 DB_BUFFER_SMALL:
User memory too small for return value

How should I go about troubleshooting this? Searching for replication
conflicts didn't yield anything useful.
It looks as though it's attempting to read something from the changelog database, but it got the size wrong:
Errors

The DBcursor->get method may fail and return one of the following non-zero errors:

DB_BUFFER_SMALL
   The requested item could not be returned due to undersized buffer.

What version of db do you have on your system?  i.e. rpm -qi db4
32-bit or 64-bit?

I'm not sure, but it looks as though the code is perhaps expecting bdb to return ENOMEM in this case, and perhaps the bdb api has changed to return DB_BUFFER_SMALL instead for this case?

I tried running template-cl-dump.pl
like the documentation suggested,
Which documentation?  That needs to be updated.
but I couldn't find it anywhere in
/usr/share/dirsrv/script-templates (FC6 system).
/usr/bin/cl-dump
Thanks.

-richard


--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

<<attachment: smime.p7s>>

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux