Bug 215697 - Manager Certificate DB file problem for DS/Administration Server
Manager Certificate DB file problem for DS/Administration Server
Status: CLOSED DUPLICATE of bug 215218
Product: 389
Classification: Community
Component: Directory Server (Show other bugs)
1.0.4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Rich Megginson
Orla Hegarty
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-15 03:52 EST by Ashley Chew
Modified: 2008-08-11 19:49 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-15 09:06:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ashley Chew 2006-11-15 03:52:20 EST
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 09:06:43 EST

*** This bug has been marked as a duplicate of 215218 ***
Comment 2 Chandrasekar Kannan 2008-08-11 19:49:11 EDT
Bug already CLOSED. setting screened+ flag

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