需要使用ipmitool工具

[root@Resource ~]# yum install ipmitool

首先查看是否有ecc报错

如下图:

[root@Resource ~]# ipmitool sel list
    | // | :: | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
    | // | :: | OS Boot | C: boot completed | Asserted
    | // | :: | OEM record dc |  | 00001e395800
    | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
    | // | :: | Physical Security #0x73 | General Chassis intrusion () | Deasserted
    | // | :: | Power Supply #0x74 | Redundancy Lost | Asserted
    | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
    | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
    | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
   a | // | :: | Unknown #0x2e |  | Asserted
   b | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC |  DIMMB3) | Asserted
   c | // | :: | Unknown #0x2e |  | Asserted
   d | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC |  DIMMB3) | Asserted
   e | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
   f | // | :: | Unknown #0x2e |  | Asserted
   | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC |  DIMMB3) | Asserted
   | // | :: | Unknown #0x2e |  | Asserted
   | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC |  DIMMB3) | Asserted
   | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
   | // | :: | Unknown #0x2e |  | Asserted
   | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC |  DIMMB3) | Asserted
   | // | :: | Unknown #0x2e |  | Asserted
   | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC |  DIMMB3) | Asserted
   | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
   | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
  1a | // | :: | Physical Security #0x73 | General Chassis intrusion () | Deasserted
  1b | // | :: | Drive Slot #0xa1 | Drive Present () | Deasserted
  1c | // | :: | Drive Slot #0xa3 | Drive Present () | Deasserted
  1d | // | :: | Drive Slot #0xa2 | Drive Present () | Deasserted
  1e | // | :: | Drive Slot #0xa1 | Drive Present () | Asserted
  1f | // | :: | Drive Slot #0xa3 | Drive Present () | Asserted
   | // | :: | Drive Slot #0xa0 | Drive Present () | Deasserted
   | // | :: | Drive Slot #0xa2 | Drive Present () | Asserted
   | // | :: | Drive Slot #0xa0 | Drive Present () | Asserted
   | // | :: | Temperature #0x04 | Upper Non-critical going high | Asserted
   | // | :: | Temperature #0x04 | Upper Non-critical going high | Deasserted
   | // | :: | Temperature #0x04 | Upper Non-critical going high | Asserted
   | // | :: | Temperature #0x04 | Upper Non-critical going high | Deasserted
   | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
   | // | :: | Physical Security #0x73 | General Chassis intrusion () | Deasserted

报错查看信息为txt文件,如下

[root@Resource ~]# ipmitool sel save SN12345.txt
 | // | :: | Event Logging Disabled #0x72 | Log area reset/cleared | Asserted
 | // | :: | OS Boot | C: boot completed | Asserted
 | // | :: | OEM record dc |  | 00001e395800
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Deasserted
 | // | :: | Power Supply #0x74 | Redundancy Lost | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
a | // | :: | Unknown #0x2e | | Asserted
b | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC | DIMMB3) | Asserted
c | // | :: | Unknown #0x2e | | Asserted
d | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC | DIMMB3) | Asserted
e | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
f | // | :: | Unknown #0x2e | | Asserted
 | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC | DIMMB3) | Asserted
 | // | :: | Unknown #0x2e | | Asserted
 | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC | DIMMB3) | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
 | // | :: | Unknown #0x2e | | Asserted
 | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC | DIMMB3) | Asserted
 | // | :: | Unknown #0x2e | | Asserted
 | // | :: | Memory #0x02 | Uncorrectable ECC (UnCorrectable ECC | DIMMB3) | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
1a | // | :: | Physical Security #0x73 | General Chassis intrusion () | Deasserted
1b | // | :: | Drive Slot #0xa1 | Drive Present () | Deasserted
1c | // | :: | Drive Slot #0xa3 | Drive Present () | Deasserted
1d | // | :: | Drive Slot #0xa2 | Drive Present () | Deasserted
1e | // | :: | Drive Slot #0xa1 | Drive Present () | Asserted
1f | // | :: | Drive Slot #0xa3 | Drive Present () | Asserted
 | // | :: | Drive Slot #0xa0 | Drive Present () | Deasserted
 | // | :: | Drive Slot #0xa2 | Drive Present () | Asserted
 | // | :: | Drive Slot #0xa0 | Drive Present () | Asserted
 | // | :: | Temperature #0x04 | Upper Non-critical going high | Asserted
 | // | :: | Temperature #0x04 | Upper Non-critical going high | Deasserted
 | // | :: | Temperature #0x04 | Upper Non-critical going high | Asserted
 | // | :: | Temperature #0x04 | Upper Non-critical going high | Deasserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Asserted
 | // | :: | Physical Security #0x73 | General Chassis intrusion () | Deasserted
[root@Resource ~]# ll
total -rw-r--r--.  root root  Nov  : SN12345.txt

查看保存的文件信息

[root@Resource ~]# cat SN12345.txt
0x04 0x10 0x72 0x6f 0x02 0xff 0xff # Event Logging Disabled #0x72 Log area reset/cleared
0x04 0x1f 0x00 0x6f 0x01 0xff 0xff # OS Boot #0x00 C: boot completed
0x37 0x00 0x00 0x1e 0x39 0x58 0x00 # Reserved #0x00 Unknown
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x05 0x73 0xef 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x08 0x74 0x0b 0x01 0xff 0xff # Power Supply #0x74 Redundancy Lost
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0xc1 0x2e 0x72 0xa2 0x04 0x00 # Unknown #0x2e Unknown
0x04 0x0c 0x02 0x6f 0xa1 0xc1 0x40 # Memory #0x02 Uncorrectable ECC (UnCorrectable ECC | DIMMB3)
0x04 0xc1 0x2e 0x72 0xa2 0x04 0x00 # Unknown #0x2e Unknown
0x04 0x0c 0x02 0x6f 0xa1 0xc1 0x40 # Memory #0x02 Uncorrectable ECC (UnCorrectable ECC | DIMMB3)
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0xc1 0x2e 0x72 0xa2 0x04 0x00 # Unknown #0x2e Unknown
0x04 0x0c 0x02 0x6f 0xa1 0xc1 0x40 # Memory #0x02 Uncorrectable ECC (UnCorrectable ECC | DIMMB3)
0x04 0xc1 0x2e 0x72 0xa2 0x04 0x00 # Unknown #0x2e Unknown
0x04 0x0c 0x02 0x6f 0xa1 0xc1 0x40 # Memory #0x02 Uncorrectable ECC (UnCorrectable ECC | DIMMB3)
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0xc1 0x2e 0x72 0xa2 0x04 0x00 # Unknown #0x2e Unknown
0x04 0x0c 0x02 0x6f 0xa1 0xc1 0x40 # Memory #0x02 Uncorrectable ECC (UnCorrectable ECC | DIMMB3)
0x04 0xc1 0x2e 0x72 0xa2 0x04 0x00 # Unknown #0x2e Unknown
0x04 0x0c 0x02 0x6f 0xa1 0xc1 0x40 # Memory #0x02 Uncorrectable ECC (UnCorrectable ECC | DIMMB3)
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x05 0x73 0xef 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x0d 0xa1 0xef 0xa0 0x01 0x01 # Drive Slot #0xa1 Drive Present ()
0x04 0x0d 0xa3 0xef 0xa0 0x01 0x03 # Drive Slot #0xa3 Drive Present ()
0x04 0x0d 0xa2 0xef 0xa0 0x01 0x02 # Drive Slot #0xa2 Drive Present ()
0x04 0x0d 0xa1 0x6f 0xa0 0x01 0x01 # Drive Slot #0xa1 Drive Present ()
0x04 0x0d 0xa3 0x6f 0xa0 0x01 0x03 # Drive Slot #0xa3 Drive Present ()
0x04 0x0d 0xa0 0xef 0xa0 0x01 0x00 # Drive Slot #0xa0 Drive Present ()
0x04 0x0d 0xa2 0x6f 0xa0 0x01 0x02 # Drive Slot #0xa2 Drive Present ()
0x04 0x0d 0xa0 0x6f 0xa0 0x01 0x00 # Drive Slot #0xa0 Drive Present ()
0x04 0x01 0x04 0x01 0x57 0xaa 0xaa # Temperature #0x04 Upper Non-critical going high
0x04 0x01 0x04 0x81 0x57 0xa7 0xaa # Temperature #0x04 Upper Non-critical going high
0x04 0x01 0x04 0x01 0x57 0xaa 0xaa # Temperature #0x04 Upper Non-critical going high
0x04 0x01 0x04 0x81 0x57 0xa7 0xaa # Temperature #0x04 Upper Non-critical going high
0x04 0x05 0x73 0x6f 0x80 0x02 0xff # Physical Security #0x73 General Chassis intrusion ()
0x04 0x05 0x73 0xef 0x80 0x01 0xff # Physical Security #0x73 General Chassis intrusion ()

根据红色带有ECC的报错信息,前面的代码

0x04 0x0c 0x02 0x6f 0xa1 0xc1 0x40 # Memory #0x02 Uncorrectable ECC (UnCorrectable ECC | DIMMB3)

根据这些16进制代码判断定位内存的位置,进行更换内存

这个位置,以服务器厂商给的技术文档所要求得为准,因为每个机型的位置都不一样~

服务器之ECC报错检查的更多相关文章

  1. SpringBoot注册Windows服务和启动报错的原因

    SpringBoot注册Windows服务和启动报错的原因 Windows系统启动Java程序会弹出黑窗口.黑窗口有几点不好.首先它不美观:其次容易误点导致程序关闭:但最让我匪夷所思的是:将鼠标光标选 ...

  2. 【spring boot】spring cloud下spring boot微服务启动没有报错,但是访问访问不到

    spring cloud下spring boot微服务启动没有报错,但是访问访问不到 解决方法: 可能是端口被占用了,但是依旧启用成功了. 更改一下项目启用的端口号,再重新启动查看是否可以正常访问.

  3. 阿里云服务执行mysql_install_db报错

    问题描述:阿里云服务执行mysql_install_db报错解决方案:安装autoconf库(yum -y install autoconf)然后在执行:mysql_install_db就会出现这样, ...

  4. 解决 U2000 R017 安装报错: 检查SQL server数据库环境变量信息 ( 异常 ) [ 详细信息 ] PATH环境变量中缺少数据库路径的信息

    U2000 R017 安装报错: 检查SQL server数据库环境变量信息 ( 异常 ) [ 详细信息 ] PATH环境变量中缺少数据库路径的信息 管理员模式打开注册表位置: HKEY_LOCAL_ ...

  5. (转) 关于Oracle EBS邮件服务无法使用的报错

    来源http://blog.itpub.net/23850820/viewspace-1060596/ 也可以检查如下网站:http://blog.sina.com.cn/s/blog_5b021b4 ...

  6. systemctl status ssh.service 服务重启出现报错

    Case: ubuntu在从Ubuntu 16.04 LTS 升级到18.04 的时候,执行 do-release-upgrade -d 后,发现ssh无法登陆服务器, Solution: 1.通过s ...

  7. 【Solr】新建core后,启动服务访问web报错 HTTP Status 503

    新建core collection2后,启动solr服务,访问solr web界面报错. HTTP Status 503 - Server is shutting down or failed to ...

  8. springCloud 服务注册启动报错<com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect>

    报错:com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: ...

  9. Windows服务启动时候报错1053

    用.net 开发了一个C#语言的windows服务,在本地和测试环境,安装启动都正常,在新的线上环境报错,不能启动-报出-错误1053:服务没有及时响应启动或控制请求. 后来发现时线上.NET FRA ...

随机推荐

  1. 怎样使用libcurl获取隐藏了文件后缀的url网络文件类型

    CURLINFO_CONTENT_TYPE CURL: Get Returned Content Mime Type 例如 :以下代码可以查询出天地图的tile图像类型为jpg "http: ...

  2. netty handlers模式

    netty的handler模式真的挺方便的,可以像插件一样随意的插入自己新增的功能而不用队系统进行大的变动. 下面我们来看一下这个模式是如何实现和运行的. 待续...

  3. redis学习笔记——Redis过期键的删除策略

    Redis过期键的删除策略 对于过期键一般有三种删除策略 定时删除:在设置键的过期时间的同时,创建一个定时器(timer),让定时器在键的过期时间来临时,立即执行对键的删除操作: 惰性删除:放任键过期 ...

  4. Openerp图片路径处理

    Openerp目前存储图片如人力资源头像图片等都是以二进制的方式存储在数据库中,若要修改数据库里只存储路径可以用这种方法 Image 装饰器: Image装饰器包含3中图片显示 Image 大图片 i ...

  5. Python中函数参数传递问题【转】

    1. Python passes everything the same way, but calling it "by value" or "by reference& ...

  6. codeforces #550D Regular Bridge 构造

    题目大意:给定k(1≤k≤100),要求构造一张简单无向连通图,使得存在一个桥,且每一个点的度数都为k k为偶数时无解 证明: 将这个图缩边双,能够得到一棵树 那么一定存在一个叶节点,仅仅连接一条桥边 ...

  7. C# JSON序列化日期格式问题

    默认序列化日期为1970至今的时间戳 需要在json.convert中做一些设置 //JavaScriptSerializer js = new JavaScriptSerializer(); Iso ...

  8. elasticsearch 使用快照方式迁移数据

    注册快照仓库 ES是通过快照的方式来实现数据备份,并且是以增量的方式,所以一般第一次做的话会花费较长的时间.为了做快照,那么就需要注册一个快照仓库,告诉ES我们的快照应该如何保存以及将快照保存到哪里. ...

  9. Android - 返回上一个界面finish()方法

    返回上一个界面finish()方法 本文地址: http://blog.csdn.net/caroline_wendy Android能够使用finish()方法,实现函数返回的功能.当不是Activ ...

  10. 摄像头驱动_摄像头驱动程序必需的11个ioctl及摄像头数据的获取过程

    摄像头驱动_摄像头驱动程序必需的11个ioctl及摄像头数据的获取过程 根据虚拟驱动vivi的使用过程彻底分析摄像头驱动// 1~2都是在v4l2_open里调用1. open2. ioctl(4, ...