<!-- DIV {margin:0px;}-->Hi; I ran the following command:
# slapadd -b dc=example,dc=com -l urls.ldif -f slapd.conf -d 1
Here is what I think is the relevant output:
dnPrettyNormal: <cn=log>
<<< dnPrettyNormal: <cn=log>, <cn=log>
dnPrettyNormal: <uid=root,cn=log>
<<< dnPrettyNormal: <uid=root,cn=log>, <uid=root,cn=log> bdb_db_init: Initializing BDB database
dnPrettyNormal: <dc=example,dc=com>
<<< dnPrettyNormal: <dc=example,dc=com>, <dc=example,dc=com>
dnPrettyNormal: <cn=admin,dc=example,dc=com>
<<< dnPrettyNormal: <cn=admin,dc=example,dc=com>, <cn=admin,dc=example,dc=com>
dnPrettyNormal: <cn=log>
<<< dnPrettyNormal: <cn=log>, <cn=log>
...and here is the complaint:
slapadd: slap_init no backend for "dc=example,dc=com"
Please advise. TIA, Ted
____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com
--On Friday, December 15, 2006 3:38 AM -0800 Ted Johnson whatawonderfulworldweliveintoo@yahoo.com wrote:
Hi; I ran the following command:
# slapadd -b dc=example,dc=com -l urls.ldif -f slapd.conf -d 1
Here is what I think is the relevant output:
dnPrettyNormal: <cn=log>
<<< dnPrettyNormal: <cn=log>, <cn=log>
dnPrettyNormal: <uid=root,cn=log>
<<< dnPrettyNormal: <uid=root,cn=log>, <uid=root,cn=log> bdb_db_init: Initializing BDB database
dnPrettyNormal: <dc=example,dc=com>
<<< dnPrettyNormal: <dc=example,dc=com>, <dc=example,dc=com>
dnPrettyNormal: <cn=admin,dc=example,dc=com>
<<< dnPrettyNormal: <cn=admin,dc=example,dc=com>, <cn=admin,dc=example,dc=com>
dnPrettyNormal: <cn=log>
<<< dnPrettyNormal: <cn=log>, <cn=log>
...and here is the complaint:
slapadd: slap_init no backend for "dc=example,dc=com"
What does your slapd.conf file look like? What version of OpenLDAP are you using?
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
Ted Johnson wrote:
Hi; I ran the following command:
# slapadd -b dc=example,dc=com -l urls.ldif -f slapd.conf -d 1
Here is what I think is the relevant output:
dnPrettyNormal: <cn=log>
<<< dnPrettyNormal: <cn=log>, <cn=log>
dnPrettyNormal: <uid=root,cn=log>
<<< dnPrettyNormal: <uid=root,cn=log>, <uid=root,cn=log> bdb_db_init: Initializing BDB database
dnPrettyNormal: <dc=example,dc=com>
<<< dnPrettyNormal: <dc=example,dc=com>, <dc=example,dc=com>
dnPrettyNormal: <cn=admin,dc=example,dc=com>
<<< dnPrettyNormal: <cn=admin,dc=example,dc=com>, <cn=admin,dc=example,dc=com>
dnPrettyNormal: <cn=log>
<<< dnPrettyNormal: <cn=log>, <cn=log>
...and here is the complaint:
slapadd: slap_init no backend for "dc=example,dc=com"
I don't think "-d 1" is going to give you any relevant output; on the contrary, it's going to clobber real issues behind tons of useless DN normalization and so. Did you read any documentation about logging? The errors you show would have appeared even with "-d none". Usually, you should run commands with as little logging as possible (e.g. "-d none") and only in case of error add log levels that make sense. Then, since that message only makes sense if there's a discrepancy between your data and your configuration, posting both would have helped helping you.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ------------------------------------------ Office: +39.02.23998309 Mobile: +39.333.4963172 Email: pierangelo.masarati@sys-net.it ------------------------------------------
openldap-software@openldap.org