[K12OSN] Running ldap as root or ldap

Eric Harrison eharrison at mail.mesd.k12.or.us
Tue Aug 23 20:04:38 UTC 2005


John Hegarty wrote:
> os = k12ltsp 4.4
>
> I'm having a problem with ldap/samba where slapd is stopping at night.
> if I run "service ldap start" or "service ldap restart" it claims to
> have started but is in fact stopped.

It should run as ldap. Since you have run it as root, the ownership of
some of the database files are wrong.

> The owner and group on the __db.00* files are both root. The owner and
> group on the other files in /var/lib/ldap are ldap.


Run this and you should be back in business:

	/sbin/service ldap stop
	chown -R ldap:ldap /var/lib/ldap
	/sbin/service ldap start


-Eric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/k12osn/attachments/20050823/61361b72/attachment.sig>


More information about the K12OSN mailing list