Re: Hell Installing OpenLDAP/Berkeley-DB/Java

2006-09-11 Thread Ted Johnson
I found a different file to build BerkeleyDB and built it successfully:
/usr/ports/databases/p5-BerkeleyDB
Then I rebuilt OpenLDAP from here:
/usr/ports/net/openldap23-server
Following the OpenLDAP tutorial, I edited slapd.conf and created an 
example.ldif file. Then I ran:
ldapadd -x -D cn=admin,dc=2012,dc=vi -W -f example.ldif 
(all correct for my domain/configuration). I was asked to give my LDAP 
password. When I entered it (exactly as is in the slapd.conf file) I was told 
that was incorrect:
ldap_bind: Invalid credentials (49)
This makes me believe that Berkeley isn't properly installed. How can I test 
that? What steps do you take to properly install this duo?
TIA,
Ted2

Atom Powers [EMAIL PROTECTED] wrote: On 9/8/06, Ted Johnson  wrote:
 Hi;
 I tried to install OpenLDAP, but it needs Berkeley-DB and complained that the 
 version installed was incompatible. I tried compiling it without Berkeley 
 (using GNU instead) but it wouldn't. I tried installing  Berkeley DB without 
 Java (for simplicity's sake), but that didn't work. I tried moving that 
 installation to where the ports would be but still no go. So I tried a make 
 of the berkeley-db port but that complained it needed a Java plug-in that had 
 to be loaded manually because of licensing restrictions.

I don't know why BDB would want Java (check make.conf?). I've done
several OpenLDAP/BDB installs recently and I never installed any kind
of Java.

-- 
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1cent;/min.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hell Installing OpenLDAP/Berkeley-DB/Java

2006-09-09 Thread Atom Powers

On 9/8/06, Ted Johnson [EMAIL PROTECTED] wrote:

Hi;
I tried to install OpenLDAP, but it needs Berkeley-DB and complained that the 
version installed was incompatible. I tried compiling it without Berkeley 
(using GNU instead) but it wouldn't. I tried installing  Berkeley DB without 
Java (for simplicity's sake), but that didn't work. I tried moving that 
installation to where the ports would be but still no go. So I tried a make of 
the berkeley-db port but that complained it needed a Java plug-in that had to 
be loaded manually because of licensing restrictions.


I don't know why BDB would want Java (check make.conf?). I've done
several OpenLDAP/BDB installs recently and I never installed any kind
of Java.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hell Installing OpenLDAP/Berkeley-DB/Java

2006-09-08 Thread Ted Johnson
Hi;
I tried to install OpenLDAP, but it needs Berkeley-DB and complained that the 
version installed was incompatible. I tried compiling it without Berkeley 
(using GNU instead) but it wouldn't. I tried installing  Berkeley DB without 
Java (for simplicity's sake), but that didn't work. I tried moving that 
installation to where the ports would be but still no go. So I tried a make of 
the berkeley-db port but that complained it needed a Java plug-in that had to 
be loaded manually because of 
licensing restrictions. So I went to the page it stated, agreed to the license, 
downloaded it and tried to install:
http://www.freebsdfoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.5.0_07-b00.tar.bz2
I un-bzip2'd it, then untarred it, then entered it and unzipped the sun.zip 
file, and now I'm lost. There are no instructions! There's a README.html file 
which told me to go to this page:
http://java.sun.com/j2se/1.5.0/install.html
but there's nothing of substance there. It only tells one how to install Linux 
binaries or RPMs, but I'm having to install from source. Good grief! Has anyone 
been through this crap before? What do I do?
TIA,
beno2

-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]