*BSD News Article 10583


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA336 ; Sun, 31 Jan 93 14:03:39 EST
Xref: sserve comp.mail.sendmail:6730 comp.unix.bsd:10636
Newsgroups: comp.mail.sendmail,comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!wupost!dsuvax.dsu.edu!ghelmer
From: ghelmer@dsuvax.dsu.edu (Guy Helmer)
Subject: Re: sendmail 5.65c/IDA 1.4.4 - problem
Message-ID: <1993Jan28.150711.23605@dsuvax.dsu.edu>
Organization: Dakota State University
References: <C1GyHB.9Av@malihh.hanse.de>
Date: Thu, 28 Jan 1993 15:07:11 GMT
Lines: 44

In <C1GyHB.9Av@malihh.hanse.de> clu@malihh.hanse.de (Carsten Lutz) writes:

>Moin !

>I tried compiling sendmail5.65c/IDA1.4.4 under 386bsd ( 0.1 ) today. It seems
>like everything should work ( after some smaller changes ), but I get a
>mysterious error which I don't understand. I compiled gdbm under 386bsd
>( the test-programs showed no problems with this ) and compiled sendmail
>with -DGDBM ( and IDA too, of course ). 

>When I use gdbm "by hand" to create e.g. the uucp-pahttable and do some
>fetches everything looks ok. But when testing sendmail it complains about
>the alias-database ( there's no problem in creating one with sendmail -bi )
>is locked in some way. Looks like an EAGAIN from errno.h. Here's an
>example:

>[..powerup, fresh system..]
>lemmoncurry:/etc/sendmail (24) > dbm fetch usenet aliases
>usenet  [NOT FOUND]
>lemmoncurry:/etc/sendmail (25) > dbm dump aliases |grep usenet
>usenet   clu						<-- STRANGE, TOO!
>lemmoncurry:/etc/sendmail (26) > mail clu@malihh.hanse.de
>test
>EOT
>lemmoncurry:/etc/sendmail (27) > 
>can't open database '@' [/etc/sendmail/aliases]: Resource temporarily unavailable
>Jan 26 02:14:35 lemmoncurry sendmail[109]: NOQUEUE: SYSERR: can't open database '@' [/etc/sendmail/aliases]: Resource temporarily unavailable
>Jan 26 02:14:35 lemmoncurry sendmail[109]: NOQUEUE: SYSERR: can't open database '@' [/etc/sendmail/aliases]: Resource temporarily unavailable

>lemmoncurry:/etc/sendmail (27) > dbm fetch usenet aliases
>aliases{.dir,.pag}: Resource temporarily unavailable
>lemmoncurry:/etc/sendmail (28) > 

I have had the same trouble with sendmail/IDA under 386BSD 0.1 using GDBM.
I've found that I have to kill the sendmail daemon to be able to
successfully run 'sendmail -bi' or 'newaliases', then restart the daemon
('sendmail -bd -q30m').

Anyone know of a way to rebuild the aliases table without having to kill
the sendmail daemon?

-- 
Guy Helmer, Dakota State University Computing Services - ghelmer@dsuvax.dsu.edu