Try strace and see where it is looking for the plugins and verify the
db2 plugin is actually there?

>From your previous output, it looked like you may have run configure

with "--prefix=/krb5". If so, it should be looking for the db2 plugin
at /krb5/lib/krb5/plugins/kdb/db2.so

K.C.

On Nov 13, 2007 9:26 AM, Anthony McGovern wrote:
> Hi There thank you for your swift reply. I tried from the start again.
>
> I downloaded the source from the MIT site again and ran the configure
> command. Then i ran the make and then make install.
>
> After that i ran the krb5_util command again using TSSG.ORG but i keep
> getting the same error message:
>
> create: Unable to load requested database module 'db2': plugin symbol
> 'kdb_function_table' not found while creating database
>
> Error. If i attached my kdc.conf and krb5.conf files would that make any
> difference?
>
> Kind Regards
> Anthony McGovern
>
>
>
>
> On Thu, 2007-11-08 at 13:30, Kevin Coffman wrote:
> > On 11/8/07, Anthony McGovern wrote:
> > >
> > > root@tssgtestbox:/home/tssgtestbox/Kerberos/krb5-1.6.3/src/kadmin/dbutil# ./kdb5_util create -r tssg.org -s
> > > Loading random data
> > > Initializing database '/krb5/var/krb5kdc/principal' for realm
> > > 'tssg.org',
> > > master key name 'K/M@tssg.org'
> > > You will be prompted for the database Master Password.
> > > It is important that you NOT FORGET this password.
> > > Enter KDC database master key:
> > > Re-enter KDC database master key to verify:
> > > create: Unable to load requested database module 'db2': plugin symbol
> > > 'kdb_function_table' not found while creating database
> > > '/krb5/var/krb5kdc/principal'
> > > root@tssgtestbox:/home/tssgtestbox/Kerberos/krb5-1.6.3/src/kadmin/dbutil#
> > >
> > >
> > > I have checked the google machine and on the FAQ's on the MIT site but i
> > > cant find anything about this error. Would anyone be able to help me?

> >
> > I may be wrong, but I think the code is expecting that you've done a
> > 'make install' so that it can find the plugin libraries.
> >
> > Also, the convention is that your realm name should be all upper-case
> > (TSSG.ORG rather than tssg.org).