LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2009, 03:18 AM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No suc


Hi,
I found this problem has been encountered by many but it has not been resolved for my case with the solution suggested on the web.

I encoutered the above error, and based on postifx website states:
The problem here is if you run smtpd in a chroot environment then it will not find the sasldb file. If you try to authenticate postfix will give an error "warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory". The problem here is that you have a /etc/sasldb2 file, but postfix is looking for a /var/spool/postfix/etc/sasldb2 file.

So, i have checked my master.cf , it has the chroot off:
smtp inet n - n - - smtpd

It is unable to resolve the problem even with chroot off.

I have the following postfix and cyrus-sasl installed:

cyrus-sasl-2.1.22-4.i386.rpm
postfix-2.3.3-2.i386.rpm

Its on a RHEL5 server.
Because of that, my postfix isn't working with RHEL5.
Anyone else have resolved the problem on RHEL5?
I have rhel4 installed with postfix and sasl before, it is working fine, RHEL4 doesnt not cyrus-sasl-lib, while RHEL5 needs cyrus-sasl-lib rpm instaleld.

There is the only difference i can spot among the two which is a big difference that one is working the other is not.

Pls assist to advice what may help to solve this problem, thanks a lot for taking time assisting,

Regards
Y
 
Old 07-17-2009, 08:22 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Try, in /etc/init.d/postfix, changing the line to:
Code:
              FILES="etc/localtime etc/services etc/resolv.conf etc/hosts \
                    etc/nsswitch.conf etc/nss_mdns.config etc/sasldb2"
and restarting Postfix. I'm not sure that'll solve your problem but hopefully. This is from a Debian system but hopefully RHEL has something similar.
 
Old 07-19-2009, 09:18 PM   #3
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Hi AlucardZero
Thanks a lot for your kind reply.

I have checked in /etc/init.d/postfix,
unfortunately there is nothing similar to the line you mentioned, so i could not edit anything...

thanks a lot,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SASL and TLS authentication problem in Postfix Mogget Linux - Server 1 03-31-2009 08:12 AM
Sendmail Cyrus SASL authentication problem demith Linux - Software 0 11-15-2006 02:19 AM
cyrus-sasl authentication problem nobu Red Hat 1 11-01-2005 06:54 PM
unable to open Berkeley db /etc/sasldb2 novaprime Linux - Networking 0 01-20-2005 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration