I have a Dell Poweredge running Openldap 2.3.27 for mail =20 authentication. Everytime I restart ldap using service ldap restart, =20 or /etc/init.d/ldap restart, or just reboot the server, when ldap =20 starts I get error messages concerning bdb corruption. My DB_CONFIG =20 file:
set_lg_max 5242880 # one 0.25 GB cache set_cachesize 0 268435456 1 # Data Directory #set_data_dir db # Transaction Log settings set_lg_regionmax 262144 set_lg_bsize 2097152 #set_lg_dir logs My slapd.conf: include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/local # Allow LDAPv2 client connections. This is NOT the default. allow bind_v2 # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args # Load dynamic backend modules: # modulepath /usr/lib/openldap # moduleload back_bdb.la # moduleload back_ldap.la # moduleload back_ldbm.la # moduleload back_passwd.la # moduleload back_shell.la # Log everything: Added this to turn on logging loglevel 256 # Minimal logging: #loglevel 3072 #schemacheck off sizelimit 1000 idletimeout 1200 database bdb suffix "ou=3Dpeople,dc=3Dharrisonburg,dc=3Dk12,dc=3Dva,dc=3Dus" index objectClass eq index mailLocalAddress pres,eq index cn pres,eq index sn pres,eq index mailRoutingAddress pres,eq index uid pres,eq index uidNumber pres,eq index gidNumber pres,eq access to attrs=3DuserPassword by self write by anonymous auth by =20 dn=3D"uid=3Dsomeone,ou=3Dpeople,dc=3Dharrisonburg,dc=3Dk12,dc=3Dva,dc=3Dus" = write by * none access to * by =20 dn=3D"uid=3Dsomeone,ou=3Dpeople,dc=3Dharrisonburg,dc=3Dk12,dc=3Dva,dc=3Dus" = write by * read I dont seem be logging anything to an ldap.log. I do seem to have a =20 rather large log in my /var/lib/ldap directory. Im trying to limit =20 this to 5 mb with my DB_CONFIG file. -- -rw------- 1 ldap ldap 10485760 May 7 08:52 log.0000000001 I had to restore my ldap from a backup ldif file from last night. =20 After doing a slapadd root ended up owning everything in my =20 /var/lib/ldap directory and I had to chown it back to ldap. How can I =20 eliminate my bdb corruption? Dwayne Hottinger Network Administrator Harrisonburg City Public Schools --- You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.