root alerts

General support questions
cornish
Posts: 67
Joined: 2013/12/05 19:30:11

root alerts

Post by cornish » 2015/07/16 18:17:39

Hi could someone please help me sort this problem below. I use to get email alerts for root user but not getting nothing, and when i check i see this error.


relay=local, delay=0.2, delays=0.1/0/0/0.1, dsn=5.2.2, status=bounced (cannot update mailbox /var/mail/root for user root. error writing message: File too large)

I also see this message below but i think it's old

Code: Select all

backtrace:
:WARNING: at drivers/pci/dmar.c:588 warn_invalid_dmar+0x7a/0x90() (Not tainted)
:Hardware name: ProLiant DL120 G6
:[Firmware Warn]: Your BIOS is broken; DMAR reported at address fe711000 returns all ones!
:BIOS vendor: HP; Ver: O26   ; Product Version:        
:Modules linked in:
:Pid: 0, comm: swapper Not tainted 2.6.32-504.el6.x86_64 #1
:Call Trace:
:[<ffffffff81074df7>] ? warn_slowpath_common+0x87/0xc0
:[<ffffffff81074e8f>] ? warn_slowpath_fmt_taint+0x3f/0x50
:[<ffffffff81041b9d>] ? native_set_pte_at+0xd/0x40
:[<ffffffff810414d9>] ? native_flush_tlb_single+0x9/0x10
:[<ffffffff812c40fa>] ? warn_invalid_dmar+0x7a/0x90
:[<ffffffff81c5b8d0>] ? check_zero_address+0xd6/0x118
:[<ffffffff8130b017>] ? acpi_get_table_with_size+0x5a/0xb4
:[<ffffffff815360c5>] ? _etext+0x0/0x3
:[<ffffffff81c5b924>] ? detect_intel_iommu+0x12/0x91
:[<ffffffff81c3387b>] ? pci_iommu_alloc+0x5e/0x6d
:[<ffffffff81c47446>] ? mem_init+0x19/0xec
:[<ffffffff81c2ad8c>] ? start_kernel+0x221/0x430
:[<ffffffff81c2a33a>] ? x86_64_start_reservations+0x125/0x129
:[<ffffffff81c2a453>] ? x86_64_start_kernel+0x115/0x124

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: root alerts

Post by aks » 2015/07/19 10:07:22

cannot update mailbox /var/mail/root for user root. error writing message: File too large
What is the size of mailbox_size_limit in postfix - I think the default was something like 5MB. Perhaps set it larger ( so something like postconf -e mailbox_size_limit=10240000000)
[Firmware Warn]: Your BIOS is broken; DMAR reported at address fe711000 returns all ones!
Perhaps update your firmware?

cornish
Posts: 67
Joined: 2013/12/05 19:30:11

Re: root alerts

Post by cornish » 2015/07/19 10:23:11

Hi the file in /var/mail/root is 50,000 KB

Could you tell me how to make it bigger please.

If the bios is broken why does my server still work, also is it easy to update never done this before. I only use it for a backup server and have software that runs every hour,
will updating the bios break any software.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: root alerts

Post by aks » 2015/07/20 17:10:31

Could you tell me how to make it bigger please.
See my previous post.
If the bios is broken why does my server still work, also is it easy to update never done this before. I only use it for a backup server and have software that runs every hour, will updating the bios break any software.
Linux is very clever and can "work around" known firmware issues. Updating the BIOS should not break any software it's more likely to prevent booting if something goes wrong, but I don't have a crystal ball and can not predict the behavior of a remote system that I do not have access to!

cornish
Posts: 67
Joined: 2013/12/05 19:30:11

Re: root alerts

Post by cornish » 2015/07/20 23:32:46

Hi done that now but i see this message and not sure why. And still getting no emails.

--------------------- sendmail-largeboxes (large mail spool files) Begin ------------------------

Large Mailbox threshold: 40MB (41943040 bytes)
Warning: Large mailbox: root (51218465)

---------------------- sendmail-largeboxes (large mail spool files) End -------------------------

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: root alerts

Post by TrevorH » 2015/07/21 00:06:29

Maybe you should try reading (and deleting) some of your 50MB of root mail ;-)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cornish
Posts: 67
Joined: 2013/12/05 19:30:11

Re: root alerts

Post by cornish » 2015/07/21 01:03:04

TrevorH wrote:Maybe you should try reading (and deleting) some of your 50MB of root mail ;-)
Hi 50MB is not much room is there any way i make it bigger ? also where do i find all the emails to remove please.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: root alerts

Post by gerald_clark » 2015/07/21 01:22:39

Run mailx.

cornish
Posts: 67
Joined: 2013/12/05 19:30:11

Re: root alerts

Post by cornish » 2015/07/21 08:37:17

gerald_clark wrote:Run mailx.
mailx just give me a list like this below from 1 to 20 and then stopped

16698 messages 16698 new
>N 1 Mail Delivery System Fri Sep 12 14:12 80/3157 "Undelivered Mail Retu"
N 2 Mail Delivery System Fri Sep 12 14:18 80/3157 "Undelivered Mail Retu"
N 3 Mail Delivery System Fri Sep 12 19:32 80/3157 "Undelivered Mail Retu"
N 4 Mail Delivery System Fri Sep 12 22:25 80/3157 "Undelivered Mail Retu"
N 5 Mail Delivery System Fri Sep 12 22:38 80/3157 "Undelivered Mail Retu"
N 6 Mail Delivery System Sat Sep 13 08:16 80/3157 "Undelivered Mail Retu"

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: root alerts

Post by aks » 2015/07/21 18:35:56

Those are mail messages and occupy space - delete them.
I think by default on modern terminal typesm mailx will display the first 20 messages - but this depends on the terminal type (and dimensions).

Post Reply