Topic: LDAP start failure
rebooted server, and on reboot, LDAP errors out. Getting in syslog:
Jan 25 15:18:56 mail postfix/smtpd[2687]: warning: problem talking to service rewrite: Connection reset by peer
Jan 25 15:18:56 mail postfix/smtpd[2566]: warning: problem talking to service rewrite: Success
Jan 25 15:18:56 mail postfix/master[2235]: warning: process /usr/lib/postfix/trivial-rewrite pid 2922 exit status 1
Jan 25 15:18:56 mail postfix/master[2235]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Jan 25 15:18:56 mail postfix/smtpd[2552]: warning: problem talking to service rewrite: Connection reset by peer
Jan 25 15:18:56 mail postfix/smtpd[2666]: warning: problem talking to service rewrite: Success
Jan 25 15:18:56 mail postfix/master[2235]: warning: process /usr/lib/postfix/trivial-rewrite pid 2923 exit status 1
Jan 25 15:18:56 mail postfix/smtpd[2817]: warning: problem talking to service rewrite: Connection reset by peer
Jan 25 15:18:56 mail postfix/smtpd[2815]: warning: problem talking to service rewrite: Success
Jan 25 15:18:56 mail postfix/master[2235]: warning: process /usr/lib/postfix/trivial-rewrite pid 2924 exit status 1
And when I go to start slapd:
Starting OpenLDAP: slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).
Below, you can find the command line options used by this script to
run slapd. Do not forget to specify those options if you
want to look to debugging output:
slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -f /etc/ldap/slapd.conf
When I run in that debug mode, I get a LOT of output, as expected, I do notice this line:
/etc/ldap/slapd.d: line 1: warning: cannot assess the validity of the ACL scope within backend naming context
Since last reboot, I did generate new SSL keys and I changed domain of the system from a test domain to a live domain, so Ithink the problem lies somewhere therein.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.