• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4403
  • Last Modified:

/var/log/messages: unable to open Berkeley db /etc/sasldb2: No such file or directory

I am running CentOS with sendmail.  In my /var/log/messages I keep seeing this error:

Feb 20 01:38:49 sendmail[3196]: unable to open Berkeley db /etc/sasldb2: No such file or directory
Feb 20 01:38:49 sendmail[3196]: no secret in database

Everything appears to be working OK, but I'd like to know:
 - Why this error appears
 - How I can solve it.

Thanks...
0
acrocat
Asked:
acrocat
  • 3
  • 3
2 Solutions
 
fosiul01Commented:
have a look to this one see if this help

http://forums.fedoraforum.org/archive/index.php/t-36607.html
0
 
Maciej SsysadminCommented:
It's cyrus-sasl related issue (this /etc/sasldb2). It complains about nonexisting file /etc/sasldb2 :) You can create empty file with:
saslpasswd2 -f /etc/sasldb2 aaa
provide some password here. It can by anything, as you will delete it in a moment :)
After creating user aaa, delete this account :)
saslpasswd2 -f /etc/sasldb2 -d aaa
sendmail should now stop complaining about missing /etc/sasldb2 file.

It should work, unless you run your sendmail in chrooted environment. If so, you have to replace /etc/sasldb2 with /path/to/your/chrooted/enrionment/etc/sasldb2
0
 
Maciej SsysadminCommented:
Eh... fosiul01.. do you always have to be first? ;) Refreshed once, didn't see your comment. I finished writing, clicked submit and... I saw your comment already there with link to the same I wrote ;)

Sorry for repeating :(
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
fosiul01Commented:
hahahaha , i am upgraded BOT with some extrac facilities... but your answer is most accurate most of the time then me!! so you get more points..

Can i have your email address ?
0
 
acrocatAuthor Commented:
Thanks guys -- I'll get this closed out in the AM, but I was wondering just for the heck of it, why this situation would occur, etc.  It just seems kinda hacky to have to do this (although if it works, I don't care).
0
 
fosiul01Commented:
HI sorry due to weakend didnto able to reply

anyway

are you sing openssl base auththetication  for checking emails from outlook or something else ??
0
 
Maciej SsysadminCommented:
Do you use authentication in your SMTP server? You have it configured, but do you use it? If so, where are your users' passwords stored?
Do you have /usr/lib/sasl2/sendmail.conf file? If so, paste its content here.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now