[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [x]inetd.conf??



On Sun, Feb 08, 2004 at 11:10:03AM -0500, Marty Landman wrote:
> At 12:55 AM 2/8/2004, Bob McClure, Jr. wrote:
> >
> ><among other things>
> 
> >> root]# /etc/rc.d/init.d/sendmail start
> >> Starting sendmail: makemap: error opening type hash map access.db:
> >> Permission denied
> >> make: *** [access.db] Error 73
> >> 554 5.0.0 No local mailer defined
> >> 554 5.0.0 QueueDirectory (Q) option must be set
> >>                                                            [FAILED]
> >
> >That's very odd.  How about posting the result of
> >
> >  ls -l /etc/mail
> 
> [root penguin root]# ls -l /etc/mail
> total 120
> -rw-r--r--    1 root     root          368 Jan 31 15:36 access
> -rw-r--r--    1 root     root          331 Jan 31 15:36 access~
> -rw-r-----    1 smmsp    root        12288 Jan 26 20:21 access.db
> -rw-r--r--    1 root     root            0 Feb 24  2003 domaintable
> -rw-r-----    1 smmsp    root        12288 Jan 26 20:21 domaintable.db
> -rw-r--r--    1 root     root         5588 Feb 24  2003 helpfile
> -rw-r--r--    1 root     root           64 Feb 24  2003 local-host-names
> -rw-r--r--    1 root     root            0 Feb 24  2003 mailertable
> -rw-r-----    1 smmsp    root        12288 Jan 26 20:21 mailertable.db
> -rw-r--r--    1 root     root          748 Feb 24  2003 Makefile
> -rw-r--r--    1 root     root            0 Feb  1 13:16 sendmail.cf

Whoa!  That's a problem.

> -rw-r--r--    1 root     root         5798 Feb 24  2003 sendmail.mc
> -rw-------    1 root     root          628 Feb  5 08:53 statistics
> -rw-r--r--    1 root     root            0 Feb  5 17:02 submit.cf

Whoa!  That's another problem.

> -r--r--r--    1 root     root        39077 Feb 24  2003 submit.cf.bak
> -rw-r--r--    1 root     root          953 Feb 24  2003 submit.mc
> -rw-r--r--    1 root     root          127 Feb 24  2003 trusted-users
> -rw-r--r--    1 root     root            0 Feb 24  2003 virtusertable
> -rw-r-----    1 smmsp    root        12288 Jan 26 20:21 virtusertable.db
> [root penguin root]#

How did your sendmail.cf and submit.cf become zero length?  That's why
sendmail won't come up.

You can regenerate those files from their respective *.mc files.  The
latter are "source" files, like in the C language, but it's not C, but
the M4 macro language.  If you don't have the sendmail-cf RPM
installed (check with)

  rpm -q sendmail-cf

I think you will need to install it, and then

  make -C /etc/mail

Then try again the "service sendmail start"

> Marty Landman   Face 2 Interface Inc 845-679-9387
> This Month's New Quiz --- Past Superbowl Winners
> Make a Website: http://face2interface.com/Home/Demo.shtml

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.bobcatos.com
We're too blessed to be depressed.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]