Try:
/var/qmail/queue -type f

If there are *any* references in the numbered subdirectories in *any* of the
queues, you may get the message in question. Be sure to delete them all.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


> From: Charles Cazabon <[EMAIL PROTECTED]>
> Date: Wed, 24 Jan 2001 19:27:14 -0600
> To: Qmail <[EMAIL PROTECTED]>
> Subject: Re: queue is empty, but qmail still complains
> 
> Keary Suska <[EMAIL PROTECTED]> wrote:
>> Qmail stores references to messages in multiple locations in the queue. What
>> this error likely means is that there are references to messages in the todo
>> directory that don't exist in the mess directory. Find the messages via
>> something like find /var/qmail/queue -name '*MESSAGEID*' where MESSAGEID is
>> the id number of the message. Delete every instance of the troublesome
>> message ID's.
> 
> Actually, I'm quite aware of this -- that's why in my original message,
> I posted (among other things) the result of `find /var/qmail/queue -type f`
> showing that there are _no_ files in the queue directory other than
> lock/tcpto and lock/sendmutex.  queue-fix (with the big-todo patch) says
> the queue is fine.
> 
> To sum up:  this is not simple queue corruption, caused by manually
> removing files in the queue hierarchy.  Something distinctly odd is going
> on.  I can stop qmail, verify no qmail processes are running, verify there
> are no files in the queue structure other than the two mentioned above,
> start qmail, and _still_ get error output about these particular files
> in mess/*/ being missing.  Where is qmail getting the necessary state
> information to determine that these files should exist?
> 
> I've also just noticed something else odd about the error messages -- aren't
> the files in the split directories normally named by inode number?  In this
> case, the "missing" files all share the names of the split directories that
> qmail thinks they should be in -- i.e. mess/13/13, mess/14/14, etc.
> 
> Here's a listing of /var/qmail/queue/mess:
> 
> [root@charon mess]# pwd
> /var/qmail/queue/mess
> [root@charon mess]# ll
> total 92
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 0/
> drwxr-x---   2 qmailq   qmail        4096 Apr  9  1999 1/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 10/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 11/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 12/
> drwxr-x---   2 qmailq   qmail        4096 Jun 27  2000 13/
> drwxr-x---   2 qmailq   qmail        4096 Jun 27  2000 14/
> drwxr-x---   2 qmailq   qmail        4096 Jun 27  2000 15/
> drwxr-x---   2 qmailq   qmail        4096 Jun 27  2000 16/
> drwxr-x---   2 qmailq   qmail        4096 Jun 27  2000 17/
> drwxr-x---   2 qmailq   qmail        4096 Feb 14  2000 18/
> drwxr-x---   2 qmailq   qmail        4096 May 11  2000 19/
> drwxr-x---   2 qmailq   qmail        4096 Apr  9  1999 2/
> drwxr-x---   2 qmailq   qmail        4096 Jun 27  2000 20/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 21/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 22/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 3/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 4/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 5/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 6/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 7/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 8/
> drwxr-x---   2 qmailq   qmail        4096 Jan 24 15:04 9/
> 
> I just don't get it.  I've searched the archives of the list, and can't find
> any occurrences of this.  I'd appreciate any thoughts on what might be
> causing this.
> 
> Charles
> 
>>> [root@charon queue]# ps auxw | grep qmail
>>> [root@charon queue]# pwd
>>> /var/qmail/queue
>>> [root@charon queue]# find . -type f
>>> ./lock/sendmutex
>>> ./lock/tcpto
>>> [root@charon queue]# /etc/rc.d/init.d/qmail start
>>> Starting qmail:  done.
>>> [root@charon queue]# tail /var/log/maillog
>>> Jan 24 16:02:49 charon qmail: 980373769.839878 warning: unable to stat
>>> mess/13/13
>>> Jan 24 16:02:49 charon qmail: 980373769.841153 warning: unable to stat
>>> mess/14/14
>>> Jan 24 16:02:49 charon qmail: 980373769.841305 warning: unable to stat
>>> mess/15/15
>>> Jan 24 16:02:49 charon qmail: 980373769.841445 warning: unable to stat
>>> mess/16/16
>>> Jan 24 16:02:49 charon qmail: 980373769.841572 warning: unable to stat
>>> mess/17/17
>>> Jan 24 16:02:49 charon qmail: 980373769.845169 warning: unable to stat
>>> mess/18/18
>>> Jan 24 16:02:49 charon qmail: 980373769.845323 warning: unable to stat
>>> mess/19/19
>>> Jan 24 16:02:49 charon qmail: 980373769.845463 warning: unable to stat
>>> mess/20/20
>>> Jan 24 16:02:49 charon qmail: 980373769.848179 warning: unable to stat
>>> mess/21/21
>>> Jan 24 16:02:49 charon qmail: 980373769.851135 warning: unable to stat
>>> mess/22/22
> 
> -- 
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------
> 

Reply via email to