一、某机器出现Input/output error无法切root很多指令无法使用原因raid卡掉配置状态status是Foreign#故障信息执行mount,ls ,tail,lsblk 等指令出现 Input/output errorsu- root后报错 Segmentation fault raid卡掉配置状态status是Foreign。奇怪的是没有告警dm-0盘符已经挂了error状态status是Foreign修复后 此时status变成了online#处理方法去到机房查看的机器掉配置重导入一下 -导入成功重启。 技术员说机器太热raid卡掉配置#群友见解A 没必要 重新import硬盘配置这个操作让厂商做 数据有问题就投诉。拉个日志给他们让他们出分析报告说明 原因。 所有盘都成foreign 要求换整套的 背板 sas线 阵列卡 缓存电池。要是想糊弄就import完事。 你这个背板问题不大 毕竟是前后两套背板。2块2.512块3.5 前后背板基本问题就排除了只有sas线和raid卡问题了。 B 所有硬盘如果都是出现异常状态 ,重启下就好的换掉raid卡保险些如果还复现要尝试换硬盘背板是这个意思通过设置恢复相对不保险。 专业[强] 之前遇到类似的维保厂家修了2次没彻底解决就保留硬盘其他整机换了。开机后查看 /var/log/messages 看到一些相关信息(823611313s/0x0001/CRIT)- VD 03/3 is now DEGRADED(823611313s/0x0002/FATAL)- Reassignwriteoperation failed on PD16(e0x08/s8)at 6cfa81f8(823611319s/0x0002/CRIT)- Diagnostics failedforPD16(e0x08/s8)(823611490s/0x0002/CRIT)- Rebuild failed on PD16(e0x08/s8)due to target drive errorEND二、elasticsearch-6.7.1下 log4j漏洞(CVE-2021-44832)ApacheLog4j2.x2.17.1。 也可以升级到elasticsearch-6.8.23#将新jar包上传到服务。 普通用户xxxUser操作。 两台传统部署方式的ES机器。#1、备份cd/data/xxx/xx/elasticsearch/elasticsearch-6.7.1/lib/mvlog4j-1.2-api-2.11.1.jar logBak4j-1.2-api-2.11.1.jar.bakmvlog4j-api-2.11.1.jar logBak4j-api-2.11.1.jar.bakmvlog4j-core-2.11.1.jar logBak4j-core-2.11.1.jar.bakcd/data/xxx/xx/elasticsearch/elasticsearch-6.7.1/modules/x-pack-securitymvlog4j-slf4j-impl-2.11.1.jar logBak4j-slf4j-impl-2.11.1.jar.bak#2、将新的复制cd/tmp/log4-jcplog4j-1.2-api-2.17.2.jar log4j-api-2.17.2.jar log4j-core-2.17.2.jar /data/xxx/xx/elasticsearch/elasticsearch-6.7.1/lib/cplog4j-slf4j-impl-2.17.2.jar /data/xxx/xx/elasticsearch/elasticsearch-6.7.1/modules/x-pack-security/#3、启停es操作#停止kill-9 EsPid#启动sh/home/xxx/bin/elastisearch.sh./home/xxx/bin/setenvnohup/home/xxx/xx/elasticsearch/elasticsearch-6.7.1/bin/elasticsearch/home/xxx/logs/es.log21ES 6.x升级的参考链接https://www.elastic.co/cn/downloads/past-releases?productelasticsearch https://www.elastic.co/guide/en/elasticsearch/reference/6.8/setup-upgrade.htmlEND三、有台redhat6安装oracle12c client ,ldconfig后很多指令都无法正常使用。报错1、ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory 。 报错2、ldconfig: /usr/lib64/libcrypto.so.10 不是符号连接 。报错3、chmod: error while loading shared libraries: __vdso_time: invalid mode for dlopen(): Invalid argument 报错4、再次执行ldconfig后显示段错误 core dumped以前在几台redhat6 安装oracle 12c client的rpm包都是正常的。但这次ldconfig后翻车了。#操作记录这个机器是redhat6的。 执行下面的脚本 后就无法正常使用了[rootxxx shellDir]# cat 0-installOraClient12c.sh#!/bin/bashcd/home/xxUser/shellDir/oracle12cPrpm-ivh *.rpmsleep1echo/usr/lib/oracle/12.2/client64/lib/etc/ld.so.conf.d/oracle-instantclient12.2.conf ldconfigchmod644/etc/ld.so.conf.d/oracle-instantclient12.2.confechofinish#------------[rootxxx shellDir]# ls -l /home/xxUser/shellDir/oracle12cP总用量53208-rw-r-----1xxUser xxUser5282662811月114:51 oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64.rpm -rw-r-----1xxUser xxUser70810411月114:50 oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm -rw-r-----1xxUser xxUser94330411月114:50 oracle-instantclient12.2-tools-12.2.0.1.0-1.x86_64.rpm[rootxxx shellDir]# bash 0-installOraClient12c.shPreparing...########################################### [100%]1:oracle-instantclient12.########################################### [ 33%]2:oracle-instantclient12.########################################### [ 67%]3:oracle-instantclient12.########################################### [100%]ldconfig: /usr/lib64/libcrypto.so.10 不是符号连接 chmod: errorwhileloading shared libraries: __vdso_time: invalid modefordlopen(): Invalid argument finish[rootxxx shellDir]#[rootxxx shellDir]# cat /etc/ld.so.conf.d/oracle-instantclient12.2.confcat: errorwhileloading shared libraries: __vdso_time: invalid modefordlopen(): Invalid argument[rootxxx shellDir]###################看样子 他是在执行ldconfig后服务器就异常了。#最终处理方法exportLD_PRELOAD/lib64/libc-2.12.socd/lib64LD_PRELOAD/lib64/libc-2.12.soln-sf /lib64/libc-2.12.so libc.so.6#此时可以运行ls 等指令也可重新ssh连上了。lsEND