Click to See Complete Forum and Search --> : class hash not available?
Mhaddy
11-06-2001, 12:15 AM
Setting up sendmail, after my many woes with previous versions, and in my /var/log/maillog I'm getting this error:
Nov 5 11:05:50 mdsnexus sendmail[769]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 145: readcf: map access: class hash not available
Then in /etc/mail/sendmail.cf on line 145, here's what it says:
# Access list database (for spam stomping)
Kaccess hash -T<TMPF> /etc/mail/access
How do I fix this?
I don't have a direct answer, but a Google (http://www.google.com) search using 2 snippets of the error message ("readcf: map access: class hash not available" and "class hash not available") as keyphrases returns some suggestions.
You might also want to check sendmail.org itself if you haven't already.
Mhaddy
11-06-2001, 04:13 PM
Aye, I've read and followed through with this one (http://www.sendmail.org/faq/section3.html#3.31). Required me to install that Berkeley database, which I did -- but alas, still no luck.
:(
Sorry, I'm out of ideas after that.
Good Luck.
Mhaddy
11-06-2001, 10:03 PM
All right, reinstalled the BerkeleyDB3.3. How do I compile sendmail with the BerkeleyDB support?
Mhaddy
11-10-2001, 02:26 PM
*bump*
bdg1983
11-10-2001, 02:40 PM
Nothing in all the Sendmail documentation included with it or at www.sendmail.org (http://www.sendmail.org) ?
error27
11-10-2001, 03:32 PM
what distro are you using.
And why aren't you using packages to install instead of source?
Mhaddy
11-11-2001, 10:57 PM
Not really, all it says in regards to that error message I'm getting is that I need to install the BerkeleyDB -- and I did that (http://www.sendmail.org/compiling.html#DatabaseDefs).
I'm on RH7.1, BTW. Here's my sendmail.mc file:
divert(0)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
define(`DATABASE_MAP_TYPE',`dbm')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
FEATURE(access_db, dbm -T<TMPF> /etc/mail/access)
FEATURE(relay_entire_domain)
FEATURE(virtusertable, dbm /etc/mail/virtusertable)
MAILER(local)dnl
MAILER(smtp)dnlI'm pretty sure I need to put in the path to where the BerkeleyDB is installed or state the type of DB that I'm using but again -- I haven't a clue as to how >_<