<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
<BR>
<BR>
On Tue, 2007-09-11 at 19:56 -0700, Scott Ding wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">/home/dings/fds/alias does exist. I am starting FDS by using start-slapd</FONT>
<FONT COLOR="#000000">as root user. /home/dings/fds/alias is writable by the server. It looks</FONT>
<FONT COLOR="#000000">like start-slapd is looking for some certificate under</FONT>
<FONT COLOR="#000000">/home/dings/fds/alias. I checked the content under /home/dings/alias. It</FONT>
<FONT COLOR="#000000">contains only one file: libnssckbi.so.</FONT>



<FONT COLOR="#000000">-----Original Message-----</FONT>
<FONT COLOR="#000000">From: <A HREF="mailto:fedora-directory-users-bounces@redhat.com">fedora-directory-users-bounces@redhat.com</A></FONT>
<FONT COLOR="#000000">[mailto:<A HREF="mailto:fedora-directory-users-bounces@redhat.com">fedora-directory-users-bounces@redhat.com</A>] On Behalf Of Richard</FONT>
<FONT COLOR="#000000">Megginson</FONT>
<FONT COLOR="#000000">Sent: Tuesday, September 11, 2007 5:56 PM</FONT>
<FONT COLOR="#000000">To: General discussion list for the Fedora Directory server project.</FONT>
<FONT COLOR="#000000">Subject: Re: [Fedora-directory-users] Fedora DS 1.0.4 build on Solaris</FONT>
<FONT COLOR="#000000">10?</FONT>

<FONT COLOR="#000000">Scott Ding wrote:</FONT>
<FONT COLOR="#000000">> I got the FDS installed on Solaris 10 by calling ds_newinst.pl with a </FONT>
<FONT COLOR="#000000">> inf file. However, when I tried to start the FDS, I got the following </FONT>
<FONT COLOR="#000000">> error. It looks like I did not set up SSL correctly. Can anyone help?</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> [11/Sep/2007:16:05:13 -0700] - SSL alert: Security Initialization: NSS</FONT>

<FONT COLOR="#000000">> initialization failed (Netscape Portable Runtime error -8174 - </FONT>
<FONT COLOR="#000000">> security</FONT>
<FONT COLOR="#000000">> library: bad database.): path: /home/dings/fds/alias/, certdb prefix:</FONT>
<FONT COLOR="#000000">> slapd-lsctsol06-, keydb prefix: slapd-lsctsol06-.</FONT>
<FONT COLOR="#000000">>   </FONT>
<FONT COLOR="#000000">Does the directory /home/dings/fds/alias exist?  Is it owned by the</FONT>
<FONT COLOR="#000000">server user?  Is it writable by the server user?</FONT>
<FONT COLOR="#000000">> [11/Sep/2007:16:05:13 -0700] - ERROR: NSS Initialization Failed.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> -----Original Message-----</FONT>
<FONT COLOR="#000000">> From: Scott Ding</FONT>
<FONT COLOR="#000000">> Sent: Tuesday, September 11, 2007 2:50 PM</FONT>
<FONT COLOR="#000000">> To: General discussion list for the Fedora Directory server project.</FONT>
<FONT COLOR="#000000">> Subject: RE: [Fedora-directory-users] Fedora DS 1.0.4 build on Solaris</FONT>

<FONT COLOR="#000000">> 10?</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Rob,</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> We got the FDS compiled on Solaris 10 with NET-SNMP 5.4.1. The </FONT>
<FONT COLOR="#000000">> compiled result contains the following files:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> LICENSE.txt</FONT>
<FONT COLOR="#000000">> README.txt</FONT>
<FONT COLOR="#000000">> disktune</FONT>
<FONT COLOR="#000000">> slapd.tar.gz</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> After I untar slapd.tar.gz, I got the following:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> alias</FONT>
<FONT COLOR="#000000">> manual</FONT>
<FONT COLOR="#000000">> shared</FONT>
<FONT COLOR="#000000">> bin</FONT>
<FONT COLOR="#000000">>   - slapd</FONT>
<FONT COLOR="#000000">>        - admin</FONT>
<FONT COLOR="#000000">>        - server</FONT>
<FONT COLOR="#000000">>        - install</FONT>
<FONT COLOR="#000000">>        - property</FONT>
<FONT COLOR="#000000">>        -lib</FONT>
<FONT COLOR="#000000">> lib</FONT>
<FONT COLOR="#000000">> plugins</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I checked the Installation Guide. The instructions are based on</FONT>
<FONT COLOR="#000000">RedHat.</FONT>
<FONT COLOR="#000000">> Are there any installation instructions based on Solaris?</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Regards,</FONT>
<FONT COLOR="#000000">> Scott</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> -----Original Message-----</FONT>
<FONT COLOR="#000000">> From: <A HREF="mailto:fedora-directory-users-bounces@redhat.com">fedora-directory-users-bounces@redhat.com</A></FONT>
<FONT COLOR="#000000">> [mailto:<A HREF="mailto:fedora-directory-users-bounces@redhat.com">fedora-directory-users-bounces@redhat.com</A>] On Behalf Of Rob </FONT>
<FONT COLOR="#000000">> Crittenden</FONT>
<FONT COLOR="#000000">> Sent: Tuesday, September 11, 2007 7:25 AM</FONT>
<FONT COLOR="#000000">> To: General discussion list for the Fedora Directory server project.</FONT>
<FONT COLOR="#000000">> Subject: Re: [Fedora-directory-users] Fedora DS 1.0.4 build on Solaris</FONT>

<FONT COLOR="#000000">> 10?</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Scott Ding wrote:</FONT>
<FONT COLOR="#000000">>   </FONT>
<FONT COLOR="#000000">>> Has anyone built Fedora DS 1.0.4 on Solaris 10 (SPARC 32bit)?</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>     </FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> In theory this should work ok.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I spent a little time many months ago to try to build it on Solaris 10</FONT>
<FONT COLOR="#000000">> x86 and nearly got there before running out of time and I never got </FONT>
<FONT COLOR="#000000">> back to it because I needed to reclaim the disk space :-(</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I would recommend the manual build process defined at </FONT>
<FONT COLOR="#000000">> <A HREF="http://directory.fedoraproject.org/wiki/Building">http://directory.fedoraproject.org/wiki/Building</A> . I would avoid the </FONT>
<FONT COLOR="#000000">> "one-step build" because I suspect this is going to be very iterative </FONT>
<FONT COLOR="#000000">> and while the auto-fetching is nice developing in that environment </FONT>
<FONT COLOR="#000000">> just adds another layer of pain.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> It is possible to build on Solaris with gcc, the trick is figuring out</FONT>

<FONT COLOR="#000000">> the magic to tell the various components to use it. I think things </FONT>
<FONT COLOR="#000000">> like NSS, NSPR and FDS itself use the env variable NS_USE_GCC. Set </FONT>
<FONT COLOR="#000000">> that to 1 and give it a go. There may be other tweaks required.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> And note that the manual instructions just cover the server itself. </FONT>
<FONT COLOR="#000000">> For console, the plugins, etc there is more to do.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> rob</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> --</FONT>
<FONT COLOR="#000000">> Fedora-directory-users mailing list</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</A></FONT>
<FONT COLOR="#000000">> <A HREF="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</A></FONT>
<FONT COLOR="#000000">>   </FONT>



<FONT COLOR="#000000">--</FONT>
<FONT COLOR="#000000">Fedora-directory-users mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</A></FONT>
<FONT COLOR="#000000"><A HREF="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</A></FONT>
</PRE>
</BLOCKQUOTE>
<BR>
 My guess is that you just need to create the cert files. Look for the certutil-bin binary in /opt/fedora-ds/shared/bin (no clue where on Solaris). Do certutil-bin -h . The cert db files will need to be named appropriately and located in alias. Something like:<BR>
<FONT COLOR="#000000">slapd-lsctsol06-</FONT>key3.db<BR>
slapd-lsctsol06-cert8.db<BR>
Also, I think that secmod.db is needed but I don't know what it contains.<BR>
<BR>
Dave<BR>
<BR>
<BR>
</BODY>
</HTML>