Bug 215696 - Manager Certificate DB file problem for DS/Administration Server
Summary: Manager Certificate DB file problem for DS/Administration Server
Keywords:
Status: CLOSED DUPLICATE of bug 215218
Alias: None
Product: 389
Classification: Retired
Component: Directory Server
Version: 1.0.4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Orla Hegarty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-15 08:51 UTC by Ashley Chew
Modified: 2007-04-18 17:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-15 14:06:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Ashley Chew 2006-11-15 08:51:15 UTC
Description of problem:

There seem to be a problem with initializing the Security DB files for Directory 
Server (Seems to be just for the Administration Server but seems somewhat 
applicable to the Directoy Server component as well)

Version-Release number of selected component (if applicable):

Fedora Directory Server 1.04 build 2006.312.1621

How reproducible:
Fresh RPM install from fedora-ds-1.0.4-1.FC4.i386.opt.rpm on Fedora Core 4 box 
with custom install. When you enter the Admin Server you hit Console -> Security 
-> Manage Certificates.

Reports "Could not open file admin-serv-hostname-cert8.db"

Steps to Reproduce:
1. Install FC4 installation
2. Install IBM JDK 1.4.2 (rpm -ivh IBMJava2-142-ia32-SDK-1.4.2-3.0.i386.rpm)
3. Export Java variables to shell ie export JAVA_HOME=/opt/IBMJava2-142, export
PATH=/opt/IBMJava2-142/bin:$PATH
4. Install the RPM for the appropriate distribution (rpm -ivh fedora-ds-1.0.4-1.
FC4.i386.opt.rpm)
5. Run the setup for (/opt/fedora-ds/setup/setup) and setup using the defaults
6. First Time you run the console you go into the administration console, then 
run Console -> Security -> Manage Certificates.
  
Actual results: 

Reports "Could not open file admin-serv-hostname-cert8.db"

From Fedora Directory Server 1.01 and 1.02 (I bypassed 1.03), it usually ask you 
 to enter a password which initialize a database files if it is not present in 
the /opt/fedora-ds/alias.

By default it only has the slapd-hostname-cert8.db and slapd-hostname-key3.db 
which are for only Fedora Directoy Server. So it has yet to create a set for 
Administration Server ie ( admin-serv-hostname-cert8.db  / admin-serv-hostname-
key3.db )

I just wanted to test if it also occured for Fedora Directory Server. I deleted
slapd-hostname-cert8.db and slapd-hostname-key3.db in the /opt/fedora-ds/alias.
It dosn't ask for a password just like for the Administration Server. Says
"Could not open file slapd-hostname-cert8.db"

(I made the alias direcotry would read/write/execute just to make sure ie chmod 
-R 777 /opt/fedora-ds/alias but makes no difference)


Expected results:
Should ask for password phrase to initialiase or populate the /opt/fedora-ds/
alias area but it just goes looking for the file but there are no db files to 
manage the certificate

Additional info:

                                                Cheers then, Ashley

Comment 1 Rich Megginson 2006-11-15 14:06:16 UTC

*** This bug has been marked as a duplicate of 215218 ***


Note You need to log in before you can comment on or make changes to this bug.