Re: Problem starting slapd (FIXED)

2009-06-23 Thread Carmel NY
On Tue, 23 Jun 2009 11:03:16 -0400
Carmel NY  wrote:

> On Tue, 23 Jun 2009 16:46:42 +0200
> Peter Boosten  wrote:
> 
> > Check permissions on /var/run/openldap
> 
> drwxr-xr-x   2 ldapldap 512B Jun 23 10:57 openldap/
> 
> They appear to be correct. I might add, that I did a complete
> deinstall of the port, removed the /usr/local/etc/openldap directory
> and the start up script and then reinstalled the port. The only thing
> I have not done is remove DB46 and reinstall that. I really don't
> think that would effect anything anyway.

FIXED! Apparently, I had a corrupted schema file. Replaced it and now
all is well.

-- 
Carmel
car...@hotmail.com

Don't eat yellow snow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem starting slapd

2009-06-23 Thread Carmel NY
On Tue, 23 Jun 2009 16:46:42 +0200
Peter Boosten  wrote:

> Check permissions on /var/run/openldap

drwxr-xr-x   2 ldapldap 512B Jun 23 10:57 openldap/

They appear to be correct. I might add, that I did a complete deinstall
of the port, removed the /usr/local/etc/openldap directory and the
start up script and then reinstalled the port. The only thing I have not
done is remove DB46 and reinstall that. I really don't think that would
effect anything anyway.

-- 
Carmel
car...@hotmail.com

Do not do unto others as you would they should do unto you. Their
tastes may not be the same.

George Bernard Shaw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem starting slapd

2009-06-23 Thread Peter Boosten



On 23 jun 2009, at 16:39, Carmel NY  wrote:


FreeBSD-7.2
openldap-server-2.4.16_1

I just installed this port. For some reason it will not start
correctly. I have all of the information entered in the /etc/rc.conf
file and the slapd.conf and ldap.conf files are configured correctly.

There is no 'PID' file created. Below is what I receive when I attempt
to start or stop the program.

/usr/local/etc/rc.d # ./slapd start
Starting slapd.
/usr/local/etc/rc.d # ./slapd stop
slapd not running? (check /var/run/openldap/slapd.pid).
/usr/local/etc/rc.d # ls /var/run/openldap
ldapi=
/usr/local/etc/rc.d #

There is a 'socket' created, but that is it. I a pulling my hair out,
what is left of it, trying to figure out what the problem is. Any
suggestions?

Thanks!



Check permissions on /var/run/openldap

Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problem starting slapd

2009-06-23 Thread Tim Judd
On 6/23/09, Carmel NY  wrote:
> FreeBSD-7.2
> openldap-server-2.4.16_1
>
> I just installed this port. For some reason it will not start
> correctly. I have all of the information entered in the /etc/rc.conf
> file and the slapd.conf and ldap.conf files are configured correctly.
>
> There is no 'PID' file created. Below is what I receive when I attempt
> to start or stop the program.
>
> /usr/local/etc/rc.d # ./slapd start
> Starting slapd.
> /usr/local/etc/rc.d # ./slapd stop
> slapd not running? (check /var/run/openldap/slapd.pid).
> /usr/local/etc/rc.d # ls /var/run/openldap
> ldapi=
> /usr/local/etc/rc.d #
>
> There is a 'socket' created, but that is it. I a pulling my hair out,
> what is left of it, trying to figure out what the problem is. Any
> suggestions?
>
> Thanks!


is there a /usr/local/etc/openldap/slapd.conf?
does it pass muster, config check 'n all?
did you enable logging?

would you pastebin your slapd.conf - masking out any passwords or
sensitive information?


I've run slapd plenty times, I bet it's something with your config
file.  Posting your /usr/ports/net/openldap24-server make
showconfigwould be appreciative too.


--TJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Problem starting slapd

2009-06-23 Thread Carmel NY
FreeBSD-7.2
openldap-server-2.4.16_1

I just installed this port. For some reason it will not start
correctly. I have all of the information entered in the /etc/rc.conf
file and the slapd.conf and ldap.conf files are configured correctly.

There is no 'PID' file created. Below is what I receive when I attempt
to start or stop the program.

/usr/local/etc/rc.d # ./slapd start
Starting slapd.
/usr/local/etc/rc.d # ./slapd stop 
slapd not running? (check /var/run/openldap/slapd.pid).
/usr/local/etc/rc.d # ls /var/run/openldap
ldapi=
/usr/local/etc/rc.d # 

There is a 'socket' created, but that is it. I a pulling my hair out,
what is left of it, trying to figure out what the problem is. Any
suggestions?

Thanks!

-- 
Carmel
car...@hotmail.com

I would have made a good pope.

Richard Nixon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"