Re: slapcat error

2009-01-07 Thread Adam Williams
Quanah Gibson-Mount wrote: This won't include the operational attributes. And I'd search as the root user, so that you can be sure to have all attributes regardless of ACLs. Right now you are doing an anonymous search. For example: ldapsearch -x -h freelancer.lab.zimbra.com -D "cn=config" -

Re: slapcat error

2009-01-07 Thread Adam Williams
Quanah Gibson-Mount wrote: And are you sure that's the slapd.conf used by your running process? I don't see how slapd could be running with valid data with all the database files missing. If they were somehow rm -f'd, I'd use ldapsearch with both regular & operational attrs to get a dump be

Re: slapcat error

2009-01-07 Thread Quanah Gibson-Mount
--On Wednesday, January 07, 2009 1:01 PM -0600 Adam Williams wrote: Quanah Gibson-Mount wrote: And are you sure that's the slapd.conf used by your running process? I don't see how slapd could be running with valid data with all the database files missing. If they were somehow rm -f'd, I'd

Re: slapcat error

2009-01-07 Thread Quanah Gibson-Mount
--On Wednesday, January 07, 2009 12:49 PM -0600 Adam Williams wrote: do you think running slapindex -c -f /etc/openldap/slapd.conf -b -b "dc=mdah,dc=state,dc=ms,dc=us" would rebuild everything in /var/lib/ldap? my biggest concern is that I have to stop slapd to run it, and with the files missi

Re: slapcat error

2009-01-07 Thread Quanah Gibson-Mount
--On Wednesday, January 07, 2009 12:36 PM -0600 Adam Williams wrote: Quanah Gibson-Mount wrote: What is the directory set to in slapd.conf? Perhaps the database isn't located in /var/lib/ldap? [r...@roark ldap]# cat /etc/openldap/slapd.conf |grep directory directory /var/lib/ldap

Re: slapcat error

2009-01-07 Thread Adam Williams
do you think running slapindex -c -f /etc/openldap/slapd.conf -b -b "dc=mdah,dc=state,dc=ms,dc=us" would rebuild everything in /var/lib/ldap? my biggest concern is that I have to stop slapd to run it, and with the files missing, what happens if slapindex doesn't help, and then slapd won't star

Re: slapcat error

2009-01-07 Thread Adam Williams
Quanah Gibson-Mount wrote: What is the directory set to in slapd.conf? Perhaps the database isn't located in /var/lib/ldap? [r...@roark ldap]# cat /etc/openldap/slapd.conf |grep directory directory /var/lib/ldap

Re: slapcat error

2009-01-07 Thread George Holbert
Are you sure your active bdb backend files are kept in /var/lib/ldap? It seems weird that your installation is running OK if those are the only files you've got. What do you have for the 'directory' directive in slapd.conf? Adam Williams wrote: My OpenLDAP installation seems to be running ok,

Re: slapcat error

2009-01-07 Thread Quanah Gibson-Mount
--On Wednesday, January 07, 2009 12:08 PM -0600 Adam Williams wrote: Where are all the missing files!?!?!?!??!?! I'm scared to even restart slapd because it probably wouldn't start properly. On my server at home with a similar configuration, it has more files in /var/lib/ldap such as cn.dbd,

slapcat error

2009-01-07 Thread Adam Williams
My OpenLDAP installation seems to be running ok, running on Fedora 8 X64 w/ openldap 2.3.43., users and groups are operating fine from LDAP. however, i'm trying to make a copy of all of the data for backup purposes, and for some reason, I can't run slapcat. [r...@roark ldap]# slapcat -v -l /r

Re: slapcat error

2007-10-23 Thread Buchan Milne
On Monday 22 October 2007 16:33:42 Laura Iacob wrote: > Hello there, > I need some assistance with an error generated while trying to perform a > slapcat. > /usr/local/openldap/sbin/slapcat -d 1 -l /home/backup/output.ldif > slapcat init: initiated tool. > > >>> dnNormalize: > > <<< dnNormalize:

Re: slapcat error

2007-10-22 Thread Howard Chu
:* Tuesday, 23 October 2007 12:34 AM *To:* openldap-software@openldap.org *Subject:* slapcat error Hello there, I need some assistance with an error generated while trying to perform a slapcat. /usr/local/openldap/sbin/slapcat -d 1 -l /home/backup/output.ldif slapcat init

RE: slapcat error

2007-10-22 Thread Srilakshmanan, Kumuthiny
Try this /usr/local/openldap/sbin/slapcat -f slapd.conf -l /home/backup/output.ldif -Original Message- From: [EMAIL PROTECTED] g [mailto:[EMAIL PROTECTED] nLDAP.org] On Behalf Of Laura Iacob Sent: Tuesday, 23 October 2007 12:34 AM To: openldap-software@openldap.org Subject: slapcat

Re: slapcat error

2007-10-22 Thread Dieter Kluenter
"Laura Iacob" <[EMAIL PROTECTED]> writes: > Hello there, > I need some assistance with an error generated while trying to perform a > slapcat. > /usr/local/openldap/sbin/slapcat -d 1 -l /home/backup/output.ldif > slapcat init: initiated tool. dnNormalize: > <<< dnNormalize: > Unrecognized d

slapcat error

2007-10-22 Thread Laura Iacob
Hello there, I need some assistance with an error generated while trying to perform a slapcat. /usr/local/openldap/sbin/slapcat -d 1 -l /home/backup/output.ldif slapcat init: initiated tool. >>> dnNormalize: <<< dnNormalize: Unrecognized database type (bdb) database bdb initialization failed. sla

Re: Slapcat error with crashed openldap

2006-03-22 Thread ricardo.ferreira
Hi, I've done some tests with my crashed ldap and it resumes to these points: 1 - Tried to do the command slapindex >slapindex -c -v and it gives this output ( ... ) indexing id=2c32 indexing id=2c33 indexing id=2c34 indexing id=2c35 indexing id=

Slapcat error with crashed openldap

2006-03-21 Thread ricardo.ferreira
Hi, #1 Software Specifications: - OpenLDAP v2.2.20 - SleepyCat v4.3.27 #2 I know these are older versions but I have a new brand machine with these specification - OpenLDAP v2.3.20 - SleepyCat v4.4 This is what happenned. My #1 configuration crashed and I have remove my logs from openldap-