The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mcelog: warning: record length longer than expected. Consider update

Discussion in 'General Discussion' started by cool999, Feb 27, 2010.

  1. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I am getting these mails, please help me what to do..

    /etc/cron.hourly/mcelog.cron:

    mcelog: warning: record length longer than expected. Consider update.
     
  2. stugster

    stugster Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Edinburgh, UK
    cPanel Access Level:
    Root Administrator
    A new server set up this week within our organisation is showing signs of this issue as well.

    Linux ***.********.co.uk 2.6.32.2-xxxx-std-ipv4-64 #2 SMP Mon Jan 11 07:46:51 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

    ------------------
    /etc/cron.hourly/mcelog.cron:

    mcelog: warning: record length longer than expected. Consider update.
     
  3. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    please someone help...
     
  4. cool999

    cool999 Active Member

    Joined:
    Jan 18, 2010
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    someone help....

     
  5. onscreen

    onscreen Registered

    Joined:
    Jan 31, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    The same issue here.

    Any hint for the solution?
     
  6. AdamDresch

    AdamDresch Well-Known Member

    Joined:
    Jun 22, 2006
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Getting the same problem here.

    etc/cron.hourly/mcelog.cron:

    mcelog: warning: record length longer than expected. Consider update.
     
  7. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Good morning,

    This problem should have arised when the kernel was upgraded. I've seen both bugs for Fedora 11-13 and RHEL. Try upgrading mcelog.
     
  8. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    any solution for this ? i am getting this error past 2 days
     
  9. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Hello,

    What OS are you running and what kernel?
     
  10. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    i am running centos 5.6 64bit ,kerenel ? how to check kernel ?
     
  11. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Code:
    uname -a
    
    run the above command via SSH
     
  12. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    here is resulot :-
    Code:
    root@de [~]# uname -a
    Linux de.10gbin.com 2.6.35 #1 SMP Tue Oct 26 17:00:09 CEST 2010 x86_64 x86_64 x86_64 GNU/Linux
    
    
     
  13. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Here's a discussion of the bug on RHEL site:

    https://bugzilla.redhat.com/show_bug.cgi?id=625761

    Your kernel doesn't appear to be a standardized RHEL or CentOS kernel, so I have no way to know what to suggest here for which mcelog to use. As such, you can try to downgrade mcelog or upgrade mcelog to see if either works to resolve the errors, since the current version of mcelog that you are using isn't compatible with whatever kernel that happens to be.
     
  14. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    i already tried "yum upgrade mcelog" but i end up with message "its already uptodate" how can i downgrade ?
     
  15. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You'd have to remove the rpm and then find a lower version of the rpm:

    Code:
    rpm -qa | grep mcelog
    rpm -e mcelogrpmname.rpm
    wget http://somepathtothelowerversionrpm
    rpm -ivh mcelogolder.rpm
    You'd replace the mcelogrpmname.rpm with the name you obtain from running the "rpm -qa | grep mcelog" command, you'd replace http://somepathtothelowerversionrpm with the rpm you find online that matches your CentOS distribution and architecture, and you'd replace mcelogolder.rpm with the name of that older rpm you'd placed onto your machine.

    If you want to paste the output for the existing rpm on your machine so we know which one it happens to be, it's possible I could try to track down the rpm for you if you aren't able to locate the older rpm which bugzilla mentions as well in that link I previously provided.
     
  16. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    thanks for reply here is output :-

    Code:
    root@de [~]# rpm -qa | grep mcelog
    mcelog-0.9pre-1.30.el5
    
    
     
  17. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    any help please :(
     
  18. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Since you are running 0.9pre-1.30 version, it might be that you need the 0.9pre-1.29 version instead. It's hard to know because of your custom kernel that isn't a stock CentOS or RedHat Enterprise one. As such, if 0.9pre-1.29 will work, here's how to uninstall the current version and install the older one:

    Code:
    rpm -e mcelog-0.9pre-1.30.el5
    wget http://mirrors.gigenet.com/centos/5.6/os/x86_64/CentOS/mcelog-0.9pre-1.29.el5.x86_64.rpm
    rpm -ivh mcelog-0.9pre-1.29.el5.x86_64.rpm
    If this does not work, you might have to search online to find a newer or even older rpm for mcelog. Alternatively, you could ask your provider to boot you into a non-customized CentOS or RedHat Enterprise kernel.
     
  19. ljesh

    ljesh Well-Known Member

    Joined:
    Aug 2, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    I am receiving this on 1.30 and 1.29 version and it's very irritating.
    Can please cPanel find a solution for this error since many of us are having this problem?

    my uname -a
    Linux host.domain.com 2.6.35 #1 SMP Tue Oct 26 17:00:09 CEST 2010 x86_64 x86_64 x86_64 GNU/Linux
     
  20. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    This would be a RedHat and CentOS issue which is vendor specific for the OS. Specifically, the log would be impacted by a customized kernel. The RedHat bug report indicates that this falls with the OS - https://bugzilla.redhat.com/show_bug.cgi?id=625761

    This means that RedHat or CentOS would need to resolve the issue on their side. You may wish to contact them for further assistance.
     
Loading...

Share This Page