欢迎光临IT网Linux学习频道

当前位置: > CentOS > CentOS故障 >
  • [CentOS故障] 解决No Caching mode page found /dev/root does 日期:2016-01-01 15:19:12 点击:163 好评:0

    1、错误描述 [sdb] No Caching mode page found [sdb] Assuming drive cache:write through .... Could not boot /dev/root does not exist 2、进入安装界面时,按下e键 将 vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.ch...

  • [CentOS故障] yum出现“Could not retrieve mirrorlist ”的解决办法 日期:2016-01-01 15:16:22 点击:185 好评:-2

    报错如下: Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7arch=x86_64repo=osinfra=stock error was 12: Timeout on http://mirrorlist.centos.org/?release=7arch=x86_64repo=osinfra=s...

  • [CentOS故障] Linux Centos重启网络服务提示FATAL: Module off not found 日期:2016-01-01 00:10:23 点击:85 好评:0

    Linux系统重启网络服务提示 FATAL: Module off not found.错误,如下图: 该问题可以尝试通过以下方法解决: 打开/etc/modprobe.d/disable_ipv6.conf文件,找到以下语句alias ipv6 off注释为#alias ipv6 off,然后通过service network restart命令重启网络服...

  • [CentOS故障] 解决another app is currently holding the yum 日期:2015-12-27 13:47:15 点击:184 好评:0

    解决another app is currently holding the yum lock;waiting for it to exit...

  • [CentOS故障] vim: error while loading shared 日期:2015-12-27 13:45:34 点击:165 好评:0

    [root@localhost etc]# vim my.cnf vim: error while loading shared libraries: /usr/lib/libgpm.so.2: file too short [root@localhost etc]# 看图,弄了下,还是报错 执行命令:ldd /usr/bin/vim 执行结果: linux-vdso.so.1 = (0x00007fffaedff000) libse...

  • [CentOS故障] 完美解决Access denied for user 'root'@'localhost' 日期:2015-12-26 00:38:10 点击:129 好评:0

    本问题缠绕了我数个小时,看问题吧 。 总结一句话:权限问题。那怎么授权? 第一步:停服务 命令行: /etc/init.d/mysql stop 如果不行,就执行下一行: service mysqld stop 报: Stopping mysqld: [ OK ] 第二步:跳过密码验证 执行命令行: # /usr/bin/mys...

  • [CentOS故障] Vmware安装Centos NAT方式设置静态IP 日期:2015-12-24 21:30:37 点击:137 好评:0

    【Vmware中在搭建集群环境等,DHCP自动获取IP方式不方便,为了固定IP减少频繁更改配置信息,建议使用静态IP来配置,网络连接主要有三种方式 1.nat 2.桥接,3主机模式 ,在这里主要介NAT方式, 为什么使用NAT静态IP而不用桥接静态IP,主要是桥接方式存在一定安...

  • [CentOS故障] 解决CentOS出现Unit iptables.service failed to load 日期:2015-12-24 21:30:04 点击:72 好评:0

    一直用CentOS 6 习惯了,一下没适应过来。防火墙配置后执行service iptables save 出现Failed to restart iptables.service: Unit iptables.service failed to load: No such file or directory.错误,在CentOS 7或RHEL 7或Fedora中防火墙由firewalld来管理,...

  • [CentOS故障] 解决CentOS6.5下SVN启动问题 日期:2015-12-22 21:25:13 点击:147 好评:0

    最近开发由于公司业务的需要,将目前正在开发项目的svn迁移到云服务器(不是笔者安装的)上有一天重启服务器之后发现了SVN连接不上了(见下图)。输入命令:svnserver -d -r /home/lyh/svn/store,依然出现同样的问题。 最后发现是没有设置监听的IP,设置好...

  • [CentOS故障] 解决CentOS消耗内存过高引发的问题 日期:2015-12-19 16:42:09 点击:103 好评:0

    工作中接到DBA报障某台服务器 跑一些大的数据,服务器就无法远程连接,报错,抓过日志叫DELL工程师检测也没问题,系统也重装过, 现在些一些较大的数据就会报如 图错误,由于服务器远在异地城市IDC机房,ssh也无法登录,于是使用iDRAC 远程管理卡连接到该台...

  • [CentOS故障] Centos Another app is currently holding the yum lock 日期:2015-12-16 12:47:17 点击:177 好评:0

    yum命令用ctrl+z命令中断后,再运行yum时,出现: Existing lock /var/run/yum.pid: another copy is running as pid 3046. Another app is currently holding the yum lock; waiting for it to exit... Another app is currently holding the yum lock; wait...

  • [CentOS故障] 解决gem install nokogiri -v '1.6.6.2' 出错 日期:2015-12-16 01:50:35 点击:72 好评:0

    在centos7上,当安装如下命令时,bundle --deployment出现说需要安装gem install nokogiri -v 1.6.6.2,但我确实安装了。所以bundle --deployment一直不能正常执行下去。 则需要安装如下命令: gem update --system yum install libxml2-devel libxslt-devel...

  • [CentOS故障] 解决VMware克隆CentOS 6.7后网卡不能使用 日期:2015-12-14 15:33:55 点击:150 好评:0

    用VMware克隆CentOS6.7后,发现系统只有eth1,而且/etc/sysconfig/network-scripts/下只有ifcfg-eth0文件,IP地址是动态获取的,虽然可以上网,但无法设置eth0的静态IP。 1、将上面的eth0注释掉,将下面的NAME=eth1 改成NAME=eth0 vim /etc/udev/rules.d/70-p...

  • [CentOS故障] 解决CentOS系统找不到kernel headers 日期:2015-12-10 22:11:09 点击:178 好评:0

    在VirtualBox虚拟机中安装了Centos系统,安装增强功能时报错,错误为centos the headers for the current running kernel were not found......,报错原因是系统找不到kernel headers,在网上找到了方法,原解决方案为: 1)yum install gcc -y 2)yum insta...

  • [CentOS故障] centos service中的环境变量问题 日期:2015-12-08 22:18:01 点击:109 好评:0

    问题描述: 在之前的测试intel media server studio的硬编,并将应用写成service脚本放入/etc/init.d/目录下。 不过测试发现使用service和/etc/init.d/启动的效果不一样。 使用service启动时,硬编不能正常使用,获得的打印信息是: [h264_qsv @ 0x27fa960] W...

  • [CentOS故障] 解决centos安装完成后不能运行setup命令后:command not find 日期:2015-12-08 18:24:05 点击:178 好评:0

    用过Linux的人知道在centos下是有setup这个命令的。用于系统服务,网络配置,X配置等方面的图形配置界面。在command not find 说明你还没有安装支持这个命令的软体套件,安装它即可,命令 yum -y install setuptool...

  • [CentOS故障] Centos 6 关闭ipv6后报错: Module off not found 解决 日期:2015-12-08 17:17:58 点击:111 好评:0

    Centos 6 关闭ipv6 在 /etc/modprobe.d/dist.conf增加如下内容 alias net-pf-10 off alias ipv6 off 此步可以禁止ipv6,但重启网络会提示报错FATAL: Module off not found. 解决方法如下: 1. alias ipv6 off 替换成 options ipv6 disable=1 2. /etc/sysconfig...

  • [CentOS故障] 解决CentOS7网卡端口出现紊乱的问题 日期:2015-12-08 17:10:34 点击:118 好评:0

    最近项目上,遇到一个问题,让我们很是没办法,就是Dell R920 安装上CentOS7的系统,做完Bonding后,发现端口重启系统后会紊乱,过程如下: 端口紊乱情况 服务器上一共配置了两张万兆两口的网卡和一张千兆四口的网卡,其中不同万兆卡上,两端口做Bonding,同...

  • [CentOS故障] 解决centos7没有安装ifconfig命令 日期:2015-12-08 17:10:04 点击:95 好评:0

    前提是centos已经可以上网了,且已经能发现网卡。 ifconfig命令是设置或显示网络接口的程序,可以显示出我们机器的网卡信息,可是有些时候最小化安装CentOS等Linux发行版的时候会默认不安装ifconfig等命令,这时候你进入终端,运行ifconfig命令就会出错 是我...

  • [CentOS故障] 解决CentOS eth0: 错误:断开设备 ‘eth0’ 日期:2015-12-08 17:08:44 点击:92 好评:0

    1,问题描述 [root@pdshow ~]# ping www.it.net.cn connect: 网络不可达 [root@pdshow ~]# [root@pdshow ~]# ping www.it.net.cn connect: 网络不可达 [root@pdshow ~]# ifconfig eth0 192.168.121.51 netmask 255.255.255.0 broadcast 192.168.121.255 [root...

  • [CentOS故障] linux(CentOS7)安装cuda 日期:2015-12-07 21:49:11 点击:62 好评:0

    以用户名cluster登录系统 1.检查是否安装了GPU: 1.lspci | grep -i nvidia 2.安装gcc、g++编译器 1.sudo yum install gcc 2.sudo yum install gcc-c++ 3.安装kernel-devel 1.sudo yum install kernel-devel 4.安装Driver,Toolkit和Samples 1.sudo sh cuda_...

  • [CentOS故障] 解决Couldn't resolve host 'mirrorlist.centos.org 日期:2015-12-06 16:59:29 点击:61 好评:0

    今天在linux环境通过yum安装软件报了以下错误: [root@multi-mysqlyum.repos.d] #yuminstallncursesdevel-y Loadedplugins:fastestmirror,security Loadingmirrorspeedsfromcachedhostfile Couldnotretrievemirrorlisthttp: //mirrorlist .centos.org/?releas...

  • [CentOS故障] 解决CentOS 6.7安装VM规划eth0不能自动激活问题 日期:2015-12-04 17:34:52 点击:105 好评:0

    VMWare 11.0 CentOS 6.7 minimal VMWare网卡配置选择Bridge方式 问题: 默认情况下ifconfig命令只能看到网络设备lo,看不到eth0,也没有分配合理的IP地址。 分析: 使用ifconfig -a能看到eth0和lo,说明系统中还是存在eth0的,只是没有被激活。 解决: vi /et...

  • [CentOS故障] 安装centos7时选择软件源的时候有问题 日期:2015-12-03 01:24:11 点击:129 好评:0

    请问安装时的软件源该咋整?提示说我的u盘无法使用。 说什么无法使用此介质安装。那位仁兄知道为啥 下面还可以选网络安装,但我找不到什么安装源,谁知道几个吗... 然后就不能下一步了... 建议安装cd版...

  • [CentOS故障] 解决Centos中文乱码与设置字符 日期:2015-12-03 01:07:14 点击:114 好评:0

    1)说明: Windows的默认编码为GBK,Linux的默认编码为UTF-8。在Windows下编辑的中文,在Linux下显示为乱码。为了解决此问题,修改Linux的默认编码为GBK。 2)查看支持的字符集: # locale -a 3) 安装英文版默认的字符集配置为: # cat /etc/sysconfig/i18n LA...

  • [CentOS故障] 解决centos6.5使用JMX时远程连接不上的问题 日期:2015-12-03 01:05:45 点击:168 好评:0

    环境说明 系统:centos6.5; tomcat: 7.059,使用commons-daemon-native.tar.gz配置自启动; java:1.7.0_75-b13; /etc/hosts: $ServerIp localhost ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 $ServerIp iZ258xcfjroZ localhost...

  • [CentOS故障] 解决centos7的网卡命名问题 日期:2015-12-03 01:04:51 点击:116 好评:0

    在进行centos7的pxe安装测试中发现了网卡命名不再遵从来有的命名规则而启用了最新的命名方式,官网文档描述如下: 在 RedHat EnterpriseLinux7 中,systemd和udevd支持大量不同的命名方案。默认行为是根据固件、拓扑及位置信息分配固定名称。这个命名方法的优...

  • [CentOS故障] Centos7.1.1503中文编码下,tomcat service命令不支持UTF-8 日期:2015-11-21 00:42:58 点击:83 好评:0

    碰到一个特殊的case,使用/etc/init.d/tomcat 命令可以只是中文,只需要tomcat的server.xml 增加URIEncoding=UTF-8即可。但是使用service tomcat 命令却死活不行。 暂时没有发现根本原因,解决方案如下 脚本增加locale设置 export LANG=en_US.UTF-8 export L...

栏目列表
推荐内容