Ticket #213 (closed defect: fixed)

Opened 9 years ago

Last modified 7 years ago

Postfix ne marche pas, peut-être un problème LDAP

Reported by: julien Owned by: benjamin
Priority: normal Milestone: 1.0 RC
Component: Postfix Version: 1.0
Severity: block Keywords:
Cc:

Description

Voila mon Postfix ne marche pas (il n'a jamais marché) et mon LDAP semble être cassé aussi.

Voici l'erreur quand je lance slapd : -- /etc/ldap/core.schema: line 33: attribute type "2.5.18.1" is operational --

Et l'erreur quand je lance Postscript : -- postfix: dict_eval_action: type literal buf mail context mail_dict "" recursive postfix: dict_eval_action: type literal buf adeixis.com context mail_dict "mail" recursive postfix: dict_eval_action: type literal buf adeixis.com context mail_dict "adeixis.com" recursive postfix: dict_eval_action: type literal buf Postfix context mail_dict "adeixis.com" recursive postfix: dict_eval_action: type literal buf postfix context mail_dict "Postfix" recursive postfix: dict_eval_action: type literal buf postfix context mail_dict "postfix" recursive postfix: dict_eval_action: type literal buf postdrop context mail_dict "postfix" recursive postfix: dict_eval_action: type variable buf myhostname context mail_dict "postdrop" recursive postfix: dict_eval_action: type literal buf adeixis.com context mail_dict "postdrop" recursive postfix: dict_eval_action: type literal buf , localhost. context mail_dict "adeixis.com" recursive postfix: dict_eval_action: type variable buf mydomain context mail_dict "adeixis.com, localhost." recursive postfix: dict_eval_action: type literal buf adeixis.com context mail_dict "adeixis.com, localhost." recursive postfix: dict_eval_action: type literal buf adeixis.com context mail_dict "adeixis.com, localhost.adeixis.com" recursive postfix: dict_eval_action: type literal buf /usr/lib/postfix context mail_dict "" recursive postfix: dict_eval_action: type literal buf /usr/lib/postfix context mail_dict "/usr/lib/postfix" recursive postfix: dict_eval_action: type literal buf /usr/sbin context mail_dict "/usr/lib/postfix" recursive postfix: dict_eval_action: type literal buf /var/spool/postfix context mail_dict "/usr/sbin" recursive postfix: dict_eval_action: type literal buf pid context mail_dict "/var/spool/postfix" recursive postfix: dict_eval_action: type literal buf all context mail_dict "pid" recursive postfix: dict_eval_action: type literal buf double-bounce context mail_dict "all" recursive postfix: dict_eval_action: type literal buf www-data context mail_dict "double-bounce" recursive postfix: dict_eval_action: type literal buf hash:/etc/aliases context mail_dict "www-data" recursive postfix: dict_eval_action: type literal buf 20020528 context mail_dict "hash:/etc/aliases" recursive postfix: dict_eval_action: type literal buf 1.1.11 context mail_dict "20020528" recursive postfix: dict_eval_action: type literal buf hash context mail_dict "1.1.11" recursive postfix: dict_eval_action: type literal buf incoming,active,deferred,bounce,defer,flush context mail_dict "hash" recursive postfix: dict_eval_action: type literal buf + context mail_dict "incoming,active,deferred,bounce,defer,flush" recursive postfix: dict_eval_action: type variable buf mydestination context mail_dict "+" recursive postfix: dict_eval_action: type literal buf adeixis.com, localhost.adeixis.com context mail_dict "+" recursive postfix: dict_eval_action: type variable buf relay_domains context mail_dict "adeixis.com, localhost.adeixis.com" recursive postfix: dict_eval_action: type literal buf adeixis.com, localhost.adeixis.com context mail_dict "adeixis.com, localhost.adeixis.com" recursive postfix: dict_eval_action: type literal buf TZ MAIL_CONFIG context mail_dict "adeixis.com, localhost.adeixis.com" recursive postfix: dict_eval_action: type literal buf MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY context mail_dict "TZ MAIL_CONFIG" recursive postfix: dict_eval_action: type literal buf smtp context mail_dict "MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY" recursive postfix: dict_eval_action: type literal buf subnet context mail_dict "smtp" recursive postfix: dict_eval_action: type literal buf += context mail_dict "" recursive postfix: dict_eval_action: type literal buf -=+ context mail_dict "+=" recursive postfix: dict_eval_action: type literal buf debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps context mail_dict "-=+" recursive postfix: dict_eval_action: type literal buf 100s context mail_dict "" recursive postfix: dict_eval_action: type literal buf 3600s context mail_dict "100s" recursive postfix: dict_eval_action: type literal buf 100s context mail_dict "3600s" recursive postfix: dict_eval_action: type literal buf 10s context mail_dict "100s" recursive postfix: dict_eval_action: type literal buf 1s context mail_dict "10s" recursive postfix: dict_eval_action: type literal buf 1s context mail_dict "1s" recursive postfix: dict_eval_action: type literal buf 500s context mail_dict "1s" recursive postfix: dict_eval_action: type literal buf 18000s context mail_dict "500s" recursive postfix: dict_eval_action: type literal buf 1s context mail_dict "18000s" recursive postfix: dict_eval_action: type literal buf 127.0.0.1 213.186.57.192 context mail_dict "1s" recursive postfix: dict_eval_action: type literal buf /usr/sbin/sendmail context mail_dict "127.0.0.1 213.186.57.192" recursive postfix: dict_eval_action: type literal buf /usr/bin/mailq context mail_dict "/usr/sbin/sendmail" recursive postfix: dict_eval_action: type literal buf /usr/bin/newaliases context mail_dict "/usr/bin/mailq" recursive postfix: dict_eval_action: type literal buf /usr/local/man context mail_dict "/usr/bin/newaliases" recursive postfix: dict_eval_action: type literal buf /etc/postfix context mail_dict "/usr/local/man" recursive postfix: dict_eval_action: type literal buf no context mail_dict "/etc/postfix" recursive postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, or check) --

Que faire pour réparer ça et avoir un Postfix qui marche...

ADDITIONAL INFORMATION: Je n'ai pas bidouillé mes fichiers de config et voici mes versions :

ii postfix 1.1.11-0.woody A high-performance mail transport agent ii postfix-ldap 1.1.11-0.woody LDAP map support for Postfix ii postfix-pcre 1.1.11-0.woody PCRE map support for Postfix ii postfix-tls 1.1.11+tls0.7. TLS and SASL support for Postfix ii libsasl2 2.1.15-6 Authentication abstraction library ii libsasl7 1.5.27-3 Authentication abstraction library. ii sasl-bin 1.5.27-3 Programs for manipulating the SASL users dat ii ldap-utils 2.0.23-6.3 OpenLDAP utilities. ii libldap2 2.1.23-1 OpenLDAP libraries

Change History

comment:1 Changed 9 years ago by julien

Sinon, comment puis-je réinstaller alternc et tous les packages associés sans perdre mes domaines et configs actuels car je sens que c'est ce que je vais faire...

comment:2 Changed 9 years ago by julien

J'ai résolu le pb LDAP en revenant aux versions stables et non testing des packages adéquats. Mais postfix ne fonctionne toujours pas, pourtant il est en stable avec le config de base AlternC.

Où est le bug ?

comment:3 Changed 9 years ago by julien

J'ai toujours le bug... Quelqu'un sait de quoi ca vient ?

comment:4 Changed 9 years ago by jonathan

Ce n'est pas un bug de postfix, c'est une incomptatibilité entre les scripts d'installation des versions pre-1.0 d'AlternC et le paquet slapd de la debian sarge.

Le plus simple est de réinstaller : le script alternc.install patche les fichiers de configuration du ldap et n'est PAS compatible avec les paquets sarge/sid.

Je crée un bug sur l'incompatibilité avec les nouveaux paquets ldap et je marque celui comme doublon.

modifié le : 10/08 20:56

comment:5 Changed 9 years ago by jonathan

  • Resolution set to duplicate
  • Milestone set to 1.0 RC

comment:6 Changed 9 years ago by benjamin

  • Owner changed from anonymous to benjamin
  • Status changed from new to closed
  • Resolution changed from duplicate to fixed

LDAP est mort

Note: See TracTickets for help on using tickets.