Command "mail" returns "panic: temporary file seek"
Hello all.
One of our RHEL 4.2 servers is behaving very strange. Consider this: Code:
[root@server1 /tmp]# mail Regards, kenneho |
AFAIK it has to do with large mailboxes.
Try mutt to see if you can access the mailbox |
Mutt worked just fine. Seems like all of the mails are just debug stuff. Can I simply remove the file /var/spool/mail/root to get rid of the mails? Or do I have to re-create an empty version the file.
|
you can do
cat /dev/null > /var/spool/mail/root |
Thanks, I'll give it a try as soon as I get the chance. And I'll report back here the results.
|
I worked like a charm. Thank you for your help.
I was worried that the fseek error would imply something seriously wrong with the file system or hardware, so I'm happy it was just this small thing. |
All times are GMT -5. The time now is 03:38 AM. |