Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2011 16:25:13 GMT
From:      "Jason C. Wells" <jcw@speakeasy.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154711: kadmin: hdb_open: hdb_open failed initialize database /var/heimdal/heimdal
Message-ID:  <201102121625.p1CGPDFt059158@red.freebsd.org>
Resent-Message-ID: <201102121630.p1CGU87K037748@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154711
>Category:       ports
>Synopsis:       kadmin: hdb_open: hdb_open failed initialize database /var/heimdal/heimdal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason C. Wells
>Release:        8.1-RELEASE
>Organization:
n/a
>Environment:
FreeBSD a1.stradamotorsports.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Install heimdal port, create new database

$ kadmin -l
kadmin> init REALM
kadmin: hdb_open: hdb_open failed initialize database /var/heimdal/heimdal
kadmin> quit
$

But /var/heimdal/heimdal.db is created, as it should be.  For some reason kadmin is looking for the wrong path.  Explicitly defining dbname=/var/heimdal/heimdal.db in kdc.conf just moves the path error over by an extra ".db" such that the error becomes 

kadmin: hdb_open: hdb_open failed initialize database /var/heimdal/heimdal.db

but /var/heimdal/heimdal.db.db is created.
>How-To-Repeat:

>Fix:
unknown

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102121625.p1CGPDFt059158>