Re: Root mail account is dying

From: Paul Howarth (paul_at_city-fan.org)
Date: 06/03/05

  • Next message: Mirco Beaker: "Fedora 4 test 3 on USB Hard Disk;"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Fri, 03 Jun 2005 08:21:10 +0100
    
    

    On Thu, 2005-06-02 at 21:32 -0400, A. Rick Anderson wrote:
    > Paul Howarth wrote:
    > > A. Rick Anderson wrote:
    > >
    > >> Whenever I attempt to access mail from root, it pauses, then dies with
    > >> the following error message.
    > ..
    > >> fseek: Invalid argument
    > >> panic: temporary file seek
    > >> Aborted
    > >> You have mail in /var/spool/mail/root
    > >
    > > Perhaps /var/spool/mail/root lives on one of the bad disk blocks that
    > > SMART is complaining about?
    > >
    > > Can you copy /var/spool/mail/root to another file and then open it with
    > > "Mail -f filename"?
    >
    > Tried moving it to /root/mail and then opened it with the -f command. I
    > got the exact same error. However, since I had "moved" the mail file,
    > that effectively meant that the original file under /var/spool/mail was
    > now gone.
    >
    > Running a simple mail gave me the expected "no mail" message, but exited
    > gracefully. I am assuming the mail file was corrupted somehow.

    Moving the file, if it was on the same partition, will result only in
    directory entries being changed and not actually putting the data on
    different disk blocks. If you still have the file, try copying it to
    another file and trying again with "Mail -f filename". If that doesn't
    work, the file probably is corrupt but you could try using formail to
    "fix" it:

    $ formail -ds < mailfile >> newmailfile

    Paul.

    -- 
    Paul Howarth <paul@city-fan.org>
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mirco Beaker: "Fedora 4 test 3 on USB Hard Disk;"