LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2005, 10:00 AM   #1
novaprime
Member
 
Registered: Jan 2005
Posts: 39

Rep: Reputation: 15
unable to open Berkeley db /etc/sasldb2


I am trying to run a Cyrus IMAP mail server with MySQL database,
all is set up, execept when I try to connect to the imap server I get this error:
imap[4714]: unable to open Berkeley db /etc/sasldb2: No such file or directory

I am (trying) to use pam_mysql and I cant see why this is happening

I have a imapd.conf file in both /etc and /usr/lib/sasl2 with:
pwcheck_method: auxprop
auxprop_plugin: sql
sql_engine: mysql
mech_list: PLAIN LOGIN
sql_hostnames: localhost
sql_user: postfix
sql_passwd: postfix
sql_database: postfix
sql_select: SELECT password FROM mailbox WHERE username = '%u' AND active = '1'

(not sure which directory that file is meant to be in)
is this right?

also have
#%PAM-1.0
auth sufficient pam_mysql.so user=postfix passwd=postfix host=localhost db=postfix table=mailbox usercolumn=username passwdcolumn=password crypt=1
in /etc/pam.d/imap

and
MECH=pam
in /etc/sysconfig/saslauthd

what is wrong? please help
 
  


Reply



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
unable to open whole sites saurabhparihar Linux - Newbie 1 04-21-2005 02:48 PM
Mozilla is unable to open ???? munna_502 Linux - Software 1 04-04-2004 10:13 AM
unable to open modem Harp00 Debian 4 03-31-2004 09:25 AM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 07:29 PM
fdisk -> unable to open frankietomatoes Linux - General 11 12-10-2002 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:22 AM.

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
Open Source Consulting | Domain Registration