Hey,
We are faceing a weird problem with our LDAP running on Red Hat 6.0. When we start our OpenLDAP with the init script as "root" the ldap server starts without problems or errors and seems to be runnig ok. If you connect with an LDAP Browser like Apache Directory Studio and try to edit some parameters in cn=config you get the following error.
[LDAP: error code 80 - internal error (cannot create file)]
But when you start the LDAP server with "/usr/sbin/slapd -h ldap:/// -u ldap" as the init script does, everything is working just fine and you are able to make every change you need to.
Someone out there who has the same problem or already a solution or workaround for this problem?
Mit freundlichen Grüßen / Kind regards Markus Moj IT Infrastructure & Services
TimoCom Soft- und Hardware GmbH In der Steele 2 DE-40599 Düsseldorf Tel: +49 211 88 26 80 14 Fax: +49 211 88 26 70 14 eMail: mmoj@timocom.com Internet: www.timocom.com
Geschäftsführer: Jens Thiermann, Gunther Matzaitis Amtsgericht Düsseldorf, HRB 34489
Hello Markus, could you please check your file permissions, I think you converted your slapd.conf file to slapd.d and havn't fixed the permissions, which should be owned to your "ldap" user and group. That's why it is working with root when you start the daemon manually.
Bye, Benjamin.
On Thu, Mar 31, 2011 at 09:04, Markus Moj MMoj@timocom.com wrote:
Hey,
We are faceing a weird problem with our LDAP running on Red Hat 6.0. When we start our OpenLDAP with the init script as "root" the ldap server starts without problems or errors and seems to be runnig ok. If you connect with an LDAP Browser like Apache Directory Studio and try to edit some parameters in cn=config you get the following error.
[LDAP: error code 80 - internal error (cannot create file)]
But when you start the LDAP server with "/usr/sbin/slapd -h ldap:/// -u ldap" as the init script does, everything is working just fine and you are able to make every change you need to.
Someone out there who has the same problem or already a solution or workaround for this problem?
Mit freundlichen Grüßen / Kind regards Markus Moj IT Infrastructure & Services
TimoCom Soft- und Hardware GmbH In der Steele 2 DE-40599 Düsseldorf Tel: +49 211 88 26 80 14 Fax: +49 211 88 26 70 14 eMail: *mmoj@timocom.com* mmoj@TimoCom.com Internet: *www.timocom.com* http://www.timoCom.com
Geschäftsführer: Jens Thiermann, Gunther Matzaitis Amtsgericht Düsseldorf, HRB 34489
On 31/03/11 08:04 +0100, Markus Moj wrote:
Hey,
We are faceing a weird problem with our LDAP running on Red Hat 6.0. When we start our OpenLDAP with the init script as "root" the ldap server starts without problems or errors and seems to be runnig ok. If you connect with an LDAP Browser like Apache Directory Studio and try to edit some parameters in cn=config you get the following error.
[LDAP: error code 80 - internal error (cannot create file)]
But when you start the LDAP server with "/usr/sbin/slapd -h ldap:/// -u ldap" as the init script does, everything is working just fine and you are able to make every change you need to.
Someone out there who has the same problem or already a solution or workaround for this problem?
Does your init script also specify a group/gid? Does it make a difference if you specify one?
--On Thursday, March 31, 2011 8:04 AM +0100 Markus Moj MMoj@timocom.com wrote:
Hey,
We are faceing a weird problem with our LDAP running on Red Hat 6.0. When we start our OpenLDAP with the init script as "root" the ldap server starts without problems or errors and seems to be runnig ok. If you connect with an LDAP Browser like Apache Directory Studio and try to edit some parameters in cn=config you get the following error.
My biggest question would be why you are wasting time running such an outdated and unstable version of OpenLDAP. Your first priority should be building your own up-to-date packages.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org