OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "queue file write error" on reiserfs

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Wed Feb 07 2007 - 11:47:14 CST


On Wed, Feb 07, 2007 at 07:24:05PM +1100, druidy long wrote:

> >I am using postfix 2.3.4 on linux Centos 4.2
> >I recently formatted my "/var/spool/postfix" as reiserfs
> >
> >This servers receives outgoing mail of our clients via uucp and relays
> >it.
> >
> >Now I can see some stray messages like these in the maillog
> >
> >-----------------------
> >Feb 7 08:02:58 home postfix/postdrop[14158]: warning: uid=10: Illegal
> >seek
> >Feb 7 13:32:58 home postfix/sendmail[14157]: fatal: AAAABBBB.com (10):
> >queue file write error
> >------------------------
> >
> >The maillog times are messed up. Both lines occur successively but the
> >timing is 5:30 hrs apart ( incidentally that is our time zone diff )

The mismatched timestamps are as expected, the setgid postdrop program
does not trust the TZ environment variable and coerces the value to
"TZ=UTC".

> >What are these errors ? is it got to do with the filesystem
> >Or do I just dont bother ?
>
> possbility you are using old postfix conf file in a newer version of
> postfix.

This is idle speculation, indeed there appears to be an issue with the
file-system. The OP should run "sendmail" as root, and trace system
calls:

    strace -o ~/sendmail.trace /usr/sbin/sendmail ...

find out what happens shortly before the problem is reported? Is the
problem always there, or sporadic?

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.