• CentOS系统升级内核后ECS服务器启动失败

    日期:

    问题描述:使用CentOS 7.0 64服务器,之前误操作升级了系统内核,重置之后无法启动成功,通过管理终端查看启动过程中出现以下界面 系统启动过程中默认会选择第一个内核,但是第一个内核启动会失败,选择第二个旧内核才会启动成功 解决方法: 先通过管理终端...

  • centos使用mkswap格式化文件时报错的处理方法

    日期:

    centos使用mkswap格式化文件时报错,如图: 问题原因: 该文件太小,swap文件至少应该大于40KB 解决方法: 重新生成更大的文件格式化为swap即可。...

  • centos7无法启动,ECS控制台提示Give root password for maintenance

    日期:

    阿里云centos7无法启动,ECS管理控制台远程终端连接登录时,提示:Give root password for maintenance 如下图: 输入管理员密码,登录系统,根据提示,输入journalctl -xb 可以看到最后的一次报错信息 如下图: 红色字体,显示驱动报错,初看应该与数据盘的...

  • 解决No Caching mode page found /dev/root does

    日期:

    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...

  • yum出现“Could not retrieve mirrorlist ”的解决办法

    日期:

    报错如下: 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...

  • Linux Centos重启网络服务提示FATAL: Module off not found

    日期:

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

  • 解决another app is currently holding the yum

    日期:

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

  • vim: error while loading shared

    日期:

    [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...

  • 完美解决Access denied for user 'root'@'localhost'

    日期:

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

  • Vmware安装Centos NAT方式设置静态IP

    日期:

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