--On Thursday, February 06, 2014 11:47 AM -0500 "Borresen, John - 0442 - MITLL" John.Borresen@ll.mit.edu wrote:
All,
I came in this morning, and the test environment was hung. Not sure what is going on. slapd on both servers will not stay up for more than 5-minutes. I tried to back step so attempted to slapadd from the dbase.ldif that I created the other day when things were working. When slapadding, I am receiving the following error: # slapadd -w -q -F /usr/local/openldap/etc/openldap/slapd.d -l # /usr/local/openldap/etc/openldap/ldif/backup/mm-server2_example_ldap.ldif 52f3bb11 olcDbDirectory: value #0: invalid path: No such file or directory 52f3bb11 config error processing olcDatabase={1}bdb,cn=config: olcDbDirectory: value #0: invalid path: No such file or directory slapadd: bad configuration directory!
The database directory you specified for slapd to use in olcDatabase={1}bdb,cn=config doesn't exist, as it clearly states.
--Quanah
--
Quanah Gibson-Mount Architect - Server Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Thanks Quanah;
I understand that is what it states... but it does exist.
cn=config]# ll total 128 -rw------- 1 ldap ldap 453 Jan 29 13:26 cn=module{0}.ldif drwxr-x--- 2 ldap ldap 4096 Dec 19 08:43 cn=schema -rw------- 1 ldap ldap 84017 Dec 18 10:53 cn=schema.ldif drwxr-x--- 2 ldap ldap 4096 Jan 21 14:13 olcDatabase={0}config -rw------- 1 ldap ldap 658 Dec 18 10:53 olcDatabase={0}config.ldif drwxr-x--- 2 ldap ldap 4096 Jan 29 13:30 olcDatabase={1}bdb -rw------- 1 ldap ldap 3857 Feb 3 15:09 olcDatabase={1}bdb.ldif -rw------- 1 ldap ldap 664 Dec 18 10:53 olcDatabase={-1}frontend.ldif drwxr-x--- 2 ldap ldap 4096 Jan 29 13:28 olcDatabase={2}bdb -rw------- 1 ldap ldap 890 Feb 3 14:02 olcDatabase={2}bdb.ldif -rw------- 1 ldap ldap 609 Jan 29 13:23 olcDatabase={3}monitor.ldif
# pwd /usr/local/openldap/etc/openldap/slapd.d/cn=config/olcDatabase={1}bdb
Thanks in advance; John ________________________________________ From: Quanah Gibson-Mount [quanah@zimbra.com] Sent: Thursday, February 06, 2014 12:16 PM To: Borresen, John - 0442 - MITLL; openldap-technical@openldap.org Subject: RE: Antw: RE: Syncrepl and mmr
--On Thursday, February 06, 2014 11:47 AM -0500 "Borresen, John - 0442 - MITLL" John.Borresen@ll.mit.edu wrote:
All,
I came in this morning, and the test environment was hung. Not sure what is going on. slapd on both servers will not stay up for more than 5-minutes. I tried to back step so attempted to slapadd from the dbase.ldif that I created the other day when things were working. When slapadding, I am receiving the following error: # slapadd -w -q -F /usr/local/openldap/etc/openldap/slapd.d -l # /usr/local/openldap/etc/openldap/ldif/backup/mm-server2_example_ldap.ldif 52f3bb11 olcDbDirectory: value #0: invalid path: No such file or directory 52f3bb11 config error processing olcDatabase={1}bdb,cn=config: olcDbDirectory: value #0: invalid path: No such file or directory slapadd: bad configuration directory!
The database directory you specified for slapd to use in olcDatabase={1}bdb,cn=config doesn't exist, as it clearly states.
--Quanah
--
Quanah Gibson-Mount Architect - Server Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
All,
The oldDbDirectory statement is pointing to /var/lib/openldap/openldap-data
The accesslog olcDbDirectory statement is: /var/lib/openldap/accesslog
________________________________________ From: Quanah Gibson-Mount [quanah@zimbra.com] Sent: Thursday, February 06, 2014 12:16 PM To: Borresen, John - 0442 - MITLL; openldap-technical@openldap.org Subject: RE: Antw: RE: Syncrepl and mmr
--On Thursday, February 06, 2014 11:47 AM -0500 "Borresen, John - 0442 - MITLL" John.Borresen@ll.mit.edu wrote:
All,
I came in this morning, and the test environment was hung. Not sure what is going on. slapd on both servers will not stay up for more than 5-minutes. I tried to back step so attempted to slapadd from the dbase.ldif that I created the other day when things were working. When slapadding, I am receiving the following error: # slapadd -w -q -F /usr/local/openldap/etc/openldap/slapd.d -l # /usr/local/openldap/etc/openldap/ldif/backup/mm-server2_example_ldap.ldif 52f3bb11 olcDbDirectory: value #0: invalid path: No such file or directory 52f3bb11 config error processing olcDatabase={1}bdb,cn=config: olcDbDirectory: value #0: invalid path: No such file or directory slapadd: bad configuration directory!
The database directory you specified for slapd to use in olcDatabase={1}bdb,cn=config doesn't exist, as it clearly states.
--Quanah
--
Quanah Gibson-Mount Architect - Server Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org