Re: FreeBSD 5.2.1 OpenLDAP21-server won't start

2004-06-22 Thread David Snyder
Well, I finally figured out how to get it to work.  It installed the 
script into:
/etc/rc.d
instead of where i thought it would be...
/usr/local/etc/rc.d/
and I had to put the following line in /etc/rc.conf
slapd_enable=YES

But on boot... it was saying that it was having a problem with the 
inetorgperson schema and then when I disabled that one, it said it had 
a problem with openldap.schema saying it couldn't find AUDIO for 
inetorgperson.schema and DISPLAYNAME for openldap.schema.

So I disabled  all but core.schema, misc.schema, and cosine.schema, 
then I rebooted and it finally started up on boot.  And finally, the 
slapd.pid and slapd.args were created in /var/run/openldap/.

But, to further address the problem... why would the script have a 
problem with those two schemas?

-Dave
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.2.1 OpenLDAP21-server won't start

2004-06-20 Thread Andy Harrison
On Sat, 19 Jun 2004 22:55:27 -0400, David Snyder [EMAIL PROTECTED] wrote:
 
 I installed a minimal FreeBSD 5.2.1
 
 Then installed Openldap21-server from ports with
 # make install clean
 
 Then installed a script
 cp /usr/ports/net/openldap21-server /usr/local/etc/rc.d/slapd.sh
 
 configured slapd.conf  ldap.conf
 
 manually started ldap with /usr/local/libexec/slapd start
 
 and everything worked but the script won't work.
 
 So then i viewed teh script and added the three lines to /etc/rc.d that
 was stated in the script.  I rebooted and still ldap didn't start on
 boot but i can do it manually with /usr/local/libexec/slapd start
 
 Whats the deal?  WHat am I doing wrong?
 
 -Dave
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

What errors appeared in the logs?

-- 
Andy Harrison
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.2.1 OpenLDAP21-server won't start

2004-06-19 Thread David Snyder
I installed a minimal FreeBSD 5.2.1
Then installed Openldap21-server from ports with
# make install clean
Then installed a script
cp /usr/ports/net/openldap21-server /usr/local/etc/rc.d/slapd.sh
configured slapd.conf  ldap.conf
manually started ldap with /usr/local/libexec/slapd start
and everything worked but the script won't work.
So then i viewed teh script and added the three lines to /etc/rc.d that 
was stated in the script.  I rebooted and still ldap didn't start on 
boot but i can do it manually with /usr/local/libexec/slapd start

Whats the deal?  WHat am I doing wrong?
-Dave
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]