Serviço ldap

1. Serviço ldap

Edir Arnaldo de Oliveira Bonametti
EddyBin

(usa CentOS)

Enviado em 17/06/2013 - 10:41h

Bom dia prezados,

Estou com um problema para subir o serviço ldap ,

Estou configurando um servidor para usar o squid
e o ldap ,

Quando eu inicio o serviço ele starta, porem quando
vou verificar se ele esta rodando ele ta parado,

service ldap start
Starting slapd: [ OK ]

service ldap status
slapd is stopped

Poderiam me ajudar a entender o que pode estar
acontecendo.


Atenciosamente,
Edir Bonametti


  


2. Re: Serviço ldap

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 17/06/2013 - 11:09h

chegou a verificar nos logs ?



3. Inicia ele no modo debug

Diogo
dmap

(usa Ubuntu)

Enviado em 17/06/2013 - 11:18h

Iniciar o openldap no modo debug, desse modo ele exibira todas as mensagem em tela, inclusive os erros,veja onde eles estão ocorrendo, segue o comando:

# /usr/sbin/slapd -d 16383




4. [Parte do log]

Edir Arnaldo de Oliveira Bonametti
EddyBin

(usa CentOS)

Enviado em 17/06/2013 - 13:09h

Veja se parte do log,

2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedControl $ supportedExtension $ supportedFeatures $ supportedApplicationContext ) )
ldap_pvt_gethostbyname_a: host=voipengsp, r=0
slapd startup: initiated.
backend_startup_one: starting "cn=config"
config_back_db_open
config_build_entry: "cn=config"
config_build_entry: "cn=include{0}"
config_build_entry: "cn=include{1}"
config_build_entry: "cn=include{2}"
config_build_entry: "cn=include{3}"
config_build_entry: "cn=schema"
config_build_entry: "cn={0}core"
config_build_entry: "cn={1}cosine"
config_build_entry: "cn={2}inetorgperson"
config_build_entry: "cn={3}nis"
config_build_entry: "olcDatabase={-1}frontend"
config_build_entry: "olcDatabase={0}config"
config_build_entry: "olcDatabase={1}bdb"
config_build_entry: "olcDatabase={2}bdb"
backend_startup: warning, database 1 (bdb) has no suffix
backend_startup_one: starting "(unknown)"
bdb_db_open: need suffix
backend_startup_one: bi_db_open failed! (-1)
slapd shutdown: initiated
====> bdb_cache_release_all
====> bdb_cache_release_all
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.



5. O erro ocorreu na backend olcDatabase={1}bdb

Diogo
dmap

(usa Ubuntu)

Enviado em 17/06/2013 - 14:58h

ebonametti escreveu:

Veja se parte do log,

2.5.13.0 (objectIdentifierMatch): matchingRuleUse: ( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedControl $ supportedExtension $ supportedFeatures $ supportedApplicationContext ) )
ldap_pvt_gethostbyname_a: host=voipengsp, r=0
slapd startup: initiated.
backend_startup_one: starting "cn=config"
config_back_db_open
config_build_entry: "cn=config"
config_build_entry: "cn=include{0}"
config_build_entry: "cn=include{1}"
config_build_entry: "cn=include{2}"
config_build_entry: "cn=include{3}"
config_build_entry: "cn=schema"
config_build_entry: "cn={0}core"
config_build_entry: "cn={1}cosine"
config_build_entry: "cn={2}inetorgperson"
config_build_entry: "cn={3}nis"
config_build_entry: "olcDatabase={-1}frontend"
config_build_entry: "olcDatabase={0}config"
config_build_entry: "olcDatabase={1}bdb"
config_build_entry: "olcDatabase={2}bdb"
backend_startup: warning, database 1 (bdb) has no suffix
backend_startup_one: starting "(unknown)"
bdb_db_open: need suffix
backend_startup_one: bi_db_open failed! (-1)
slapd shutdown: initiated
====> bdb_cache_release_all
====> bdb_cache_release_all
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.


Edite o arquivo /etc/ldap/slapd/cn=config/olcDatabase={1}bdb acrescentado esse parâmetro:
"olcSuffix: dc=componente_dominio,dc=componente_dominio"








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts