
【Troubleshooting】
shaonbean
关注稳定性建设,SRE体系建设
展开
-
记一次误删yum源的解决方法
【1】误删yum源由于大意,在导致新装的CentOS 7 yum源被删除,导致使用yum的时候报错rpm -aq | grep yum | xargs rpm -e --nodeps #就是这条命令惹的祸解决思路:由于当时安装系统的时候同事安装了两台CentOS7,查看另外一台上面存在的yum包,找到包后到相关源站下载所需的yum包,然后通过rpm -原创 2016-10-26 17:31:21 · 5227 阅读 · 0 评论 -
GC 调优实战
原文:https://yq.aliyun.com/articles/54413前情概要对于线上高并发、高吞吐的Java web服务来说,长时间的GC暂停(也叫 stop- the-world)会严重影响系统吞吐、稳定性和用户体验。下文是我们的一个真实线上web系统针对GC调优过程的一个总结。这个系统在调优前,经常会反映有超秒的GC暂停问题,这种GC问题可能会导致调用方(可能是上层服务调用方...转载 2019-03-16 17:44:35 · 883 阅读 · 0 评论 -
glusterfs中split-brain修复
gluster环境参考https://blog.youkuaiyun.com/wh211212/article/details/79412081ovirt 中国glusterfs服务脑裂恢复查看脑裂情况gluster volume heal gv0 info split-brain恢复脑裂# 制定brick恢复gluster volume heal gv0 split-brain ...原创 2019-02-27 20:18:34 · 1274 阅读 · 0 评论 -
java线上服务问题排查总结
java线上服务问题排查1、业务日志相关如果应用系统出现异常,一般都会在业务日志中体现统计当天业务日志中ERROR出现数量:egrep ERROR --color logname | wc -l ,如果错误数量过大,一般都是有问题的查看日志中ERROR后10行具体报错:egrep -A 10 ERROR logname | less ,或 -C 10 查看ERROR前后10行日志...原创 2018-12-06 22:51:46 · 2004 阅读 · 0 评论 -
ffmpeg编译安装过程报错解决
安装过程报错解决:# 无法访问这个项目:https://chromium.googlesource.com/webm/libvpx.git[root@aniu-ops ffmpeg_sources]# git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.gitInitialized empty Git re...原创 2018-05-15 17:41:27 · 5362 阅读 · 1 评论 -
CentOS6、7编译安装FFmpeg
FFmpeg一个完整的跨平台解决方案,用于记录,转换和流式传输音频和视频。文档:https://www.ffmpeg.org/documentation.htmlFFmpeg安装CentOS7 sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.rosudo rpm -Uvh http:...原创 2018-05-15 17:15:27 · 2015 阅读 · 0 评论 -
在CentOS / RHEL 7上找不到fuser命令
在CentOS / RHEL 7上找不到fuser命令-bash: fuser: command not found yum install psmisc原创 2018-03-30 09:57:26 · 31764 阅读 · 2 评论 -
find: ‘/root/.gvfs’: Transport endpoint is not connected
find: ‘/root/.gvfs’: Transport endpoint is not connectedumount .gvfsrm -rf .gvfs# http://ubuntuforums.org/原创 2018-03-01 09:54:30 · 3242 阅读 · 0 评论 -
umount: /var: device is busy
去掉挂载显示device is busy 出现此问题是当前挂载点上面有进程存在[root@zabbix ~]# umount /dev/mapper/vg_zabbix-LogVol02umount: /var: device is busy. (In some cases useful info about processes that use the d原创 2017-03-17 12:45:57 · 2996 阅读 · 0 评论 -
使用MySQL community 源安装MySQL
使用MySQL community 源安装MySQL添加MySQL Yum源下载:http://dev.mysql.com/downloads/repo/yum/.(本文已CentOS为例)安装MySQLsudo rpm -Uvh mysql57-community-release-el6-n.noarch.rpmyum localinstall mysql57-community-relea原创 2017-03-17 09:56:27 · 7504 阅读 · 2 评论 -
Redhat 7配置yum源
1、前提由于redhat系统不再期官网注册,系统安装完成之后无法正常使用期yun源,因此更改redhat的yum源为CentOS的源#系统环境root@linuxprobe[06:22:13]:~$cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo)2、删除redhat自带的yum原创 2016-10-26 18:01:41 · 12006 阅读 · 3 评论 -
【备用】常用镜像源
阿里镜像:https://opsx.alibaba.com/mirrorgooglekubernetes源: https://hub.docker.com/u/mirrorgooglecontainers/企业贡献:搜狐开源镜像站:http://mirrors.sohu.com/网易开源镜像站:http://mirrors.163.com/阿里云开源镜像站:http://mirrors....转载 2019-07-02 10:38:49 · 1095 阅读 · 0 评论