Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get an error when I restart sendmail on my CentOS server, and it can not send email out. The error is :

[root@centos sendmail-8.13.6]# service sendmail restart
close sm-client:                                           [success]
close sendmail:                                            [failt]
start sendmail:554 5.0.0 /etc/mail/ line 152: readcf: map mailertable: class hash not available
554 5.0.0 /etc/mail/ line 155: readcf: map virtuser: class hash not available
554 5.0.0 /etc/mail/ line 160: readcf: map access: class hash not available
Warning: Option: AuthOptions requires SASL support (-DSASL)
start sm-client:                                           [success]
share|improve this question
How did you generate the file being used? – mdpc May 31 '11 at 17:38
up vote 0 down vote accepted

From the sendmail FAQ:

What does "class hash not available" mean?

I'd try to figure out if this install of sendmail was done with some customizations for some reason.

Post your and we'll take a look.

share|improve this answer
it works now, but it can not send email out :( – larry Jun 1 '11 at 6:12

What you post is odd, because when I restart sendmail on a CentOS 5.6 box, what I get is:

[madhatta@www ~]$ sudo service sendmail restart
Shutting down sm-client:                                   [  OK  ]
Shutting down sendmail:                                    [  OK  ]
Starting sendmail:                                         [  OK  ]
Starting sm-client:                                        [  OK  ]

Which makes me wonder if you're running some kind of hand-built sendmail - because the packaged version does. Before anything else, could we get the output of rpm -qf /etc/init.d/sendmail and the version of CentOS you're running?

Edit: thanks for those. Could you also confirm that you're not running any kind of hand-hacked sendmail, perhaps with rpm -qV sendmail?

Edit 2: in the light of dmourati's excellent observation, can we see what your sendmail is compiled with? A quick way to do this is to cut-and-paste (please, don't just retype) the output from sendmail -bt -d3,0.

share|improve this answer
sendmail-8.13.8-8.el5 – larry May 31 '11 at 12:06
and i am using centos 5.5 – larry May 31 '11 at 12:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.