Configuration Error Sasl Initialization Failed
Contents |
(troubleshooting) Problem(Abstract) Internal document Description: On a Solaris 10 install
Sasl Per Process Initialization Failed
of Sun Java Server (LDAP) the following error is seen fatal sasl per process initialization failed when starting the slapd processes. The directory server does function and authenticate users but this error is thrown each time the process is started. Error Message: slapd-data52: ./start-slapd [06/Mar/2007:14:15:16 -0600] - ERROR<38918> - Startup - conn=-1 op=-1 msgId=-1 - Configuration error Sasl initialization failed Solution: Locate the following file. slapd instance/config/dse.ldif Edit that file with vi or another editing tool. dsSaslPluginsPath: /usr/lib/sasl2 <- wrong path, dsSaslPluginsPath: enter the correct path to the sasl folder. Save the edited file and remember that the dse.ldif file in each slapd instance would need to be corrected. Symptom slapd-data52: ./start-slapd [06/Mar/2007:14:15:16 -0600] - ERROR<38918> - Startup - conn=-1 op=-1 msgId=-1 - Configuration error Sasl initialization failed Resolving the problem Locate the following file. slapd instance/config/dse.ldif Edit that file with vi or another editing tool. dsSaslPluginsPath: /usr/lib/sasl2 <- wrong path, dsSaslPluginsPath: enter the correct path to the sasl folder. Save the edited file and remember that the dse.ldif file in each slapd instance would need to be corrected. Cross reference information Segment Product Component Platform Version Edition Business Analytics AccessManager AccessManager Business Analytics Cognos Series 7 PowerPlay Enterprise Server Historical Number 1030500 Document information More support for: Cognos Series 7 PowerPlay Enterprise Server Software version: Access Manager 7.4, PowerPlay Enterprise Server 7.4 Operating system(s): Platform Independent, Windows Reference #: 1351005 Modified date: 2014-09-12 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility
followed the "Virtual Users and Domains with Postfix, Courier, MySQL, and SquirrelMail (Ubuntu 8.04 LTS) and I am running Ubuntu 8.04 LTS server edition. I have not installed SquirrelMail. My problem is sending email. Using Evolution as the client, I have no problem logging in and receiving mail. And the SMTP server seems to be http://www.ibm.com/support/docview.wss?uid=swg21351005 receiving mail no problem, amavisd, clam-av, spamassassin, all seem to working fine. I just can't send an email. Following is the result of "tail /var/log/syslog" Code: Jul 27 17:41:23 crud-04 postfix/master[7576]: warning: process /usr/lib/postfix/smtpd pid 7665 exit status 1 Jul 27 17:41:23 crud-04 postfix/master[7576]: warning: /usr/lib/postfix/smtpd: https://www.howtoforge.com/community/threads/smtpd-sasl-failure.25543/ bad command startup -- throttling Jul 27 17:42:23 crud-04 postfix/smtpd[7677]: warning: SASL per-process initialization failed: generic failure Jul 27 17:42:23 crud-04 postfix/smtpd[7677]: fatal: SASL per-process initialization failed Jul 27 17:42:24 crud-04 postfix/master[7576]: warning: process /usr/lib/postfix/smtpd pid 7677 exit status 1 Jul 27 17:42:24 crud-04 postfix/master[7576]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Jul 27 17:43:24 crud-04 postfix/smtpd[7682]: warning: SASL per-process initialization failed: generic failure Jul 27 17:43:24 crud-04 postfix/smtpd[7682]: fatal: SASL per-process initialization failed Jul 27 17:43:25 crud-04 postfix/master[7576]: warning: process /usr/lib/postfix/smtpd pid 7682 exit status 1 Jul 27 17:43:25 crud-04 postfix/master[7576]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling Following is my /etc/postfix/sasl/smtpd.conf file Code: pwcheck_method:saslauthd mech_list:plain login allow_plaintext:true auxprop_plugin:mysql sql_hostname=127.0.0.1 sql_user:xxxxxxx sql_password:xxxxxx sql_database:mail sql_select:select password from users where email ='%u' Following is my /etc/pam.d/smtp file Code: auth required pam_mysql.so user=xxxxxxxxxx passwd=xxxxxxx host=127.0.0.1 db=mail table=u
Service (SES) which requires using TLS and SASL. Our https://answers.launchpad.net/ubuntu/+source/postfix/+question/205321 existing 10.04 instances all do this without a problem. Here are the instructions Amazon provides: http://docs.amazonwebservices.com/ses/latest/DeveloperGuide/SMTP.MTAs.Postfix.html I have run an strace on the smtp client as it runs, and have installed any libs it tries to load but can't find. This has not resolved the issue. The initialization failed one possible outstanding issue I noticed in the strace is that the libs can't find the following directory: /usr/etc/gss/mech I have run the smtp command with the -v flag, and there are no additional log lines regarding the failure. I have also looked in the postfix sasl per process source code, and it appears that the error is happening in the sasl lib, not the postfix lib, but the sasl lib is not writing any error messages. Configs: postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_size_limit = 0 mydestination = dev.dpn.inmar.com, localhost, localhost.localdomain, localhost myhostname = DEV-SMTP-TEST11.compute-1.internal mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = email-smtp.us-east-1.amazonaws.com:25 smtp_always_send_ehlo = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt smtp_tls_note_starttls_offer = yes smtp_tls_security_level = encrypt smtp_use_tls = yes smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory