give root password for maintenance 启动异常的解决
问题:
centos重启后,无法正常ssh登陆,也无法ping通,实地操作出现如下提示:
输入登陆密码,重启sshd服务,出现提示“read-only file system”,重启network服务问题依旧:
分析:
结合以上两点信息,大致可以判断出现这种问题有几种原因:1硬盘坏了;2硬件不兼容;3人为操作改动;
解决办法:
1尝试ssh登陆服务器:
启动ssh相关服务,即network 、sshd ,即使有错误提示,服务依然可以被成功启动,不影响使用:
2登陆crt查看开机服务与服务端口状态:
使用chkconfig查看本地服务,没有异常;但是使用netstat 查看本地服务端口,发现是全部关闭的;
3进行磁盘修复:
使用fsck检查和维护不一致的文件系统,点选“yes”
[root@Centos ~]# fsck
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/sda2 contains a file system with errors, 强制检查.
第一步: 检查inode,块,和大小
第二步: 检查目录结构
第3步: 检查目录连接性
Pass 4: Checking reference counts
第5步: 检查簇概要信息
块位图差异: -(561863--561885) -(1096960--1097067) -(1116272--1116512) -(1117898--1118374) -(1642496--1642506) -1648639 -(2218497--2218498) -2218500 -2218605 -2218608
处理<y>? 是Free 块s count wrong for 簇 #17 (22913, counted=22936).
处理<y>? 是Free 块s count wrong for 簇 #33 (0, counted=108).
处理<y>? 是Free 块s count wrong for 簇 #34 (0, counted=718).
处理<y>? 是Free 块s count wrong for 簇 #50 (27079, counted=27091).
处理<y>? 是Free 块s count wrong for 簇 #67 (14633, counted=14638).
处理<y>? 是Free 块s count wrong (4465830, counted=4466696).
处理<y>? 是Inode位图差异: -131475 -263939 -265119 -265121 -393388 -661151
处理<y>? 是Free inodes count wrong for 簇 #16 (6455, counted=6456).
处理<y>? 是Free inodes count wrong for 簇 #32 (0, counted=3).
处理<y>? 是Free inodes count wrong for 簇 #48 (5, counted=6).
处理<y>? 是Free inodes count wrong for 簇 #80 (0, counted=1).
处理<y>? 是Free inodes count wrong (1172502, counted=1172508).
处理<y>? 是/dev/sda2: ***** 文件系统已修改 *****
/dev/sda2: ***** 重新启动 LINUX *****
/dev/sda2: 72676/1245184 files (0.5% non-contiguous), 513784/4980480 blocks
4系统修复完毕,重启服务器,再次查看服务端口,恢复正常;
[root@Centos ~]# netstat -luntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 966/rpcbind
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 1165/perl
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1038/sshd
tcp 0 0 0.0.0.0:35702 0.0.0.0:* LISTEN 984/rpc.statd
tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 1121/(squid)
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1062/sendmail
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 1130/rsync
tcp 0 0 :::111 :::* LISTEN 966/rpcbind
tcp 0 0 :::80 :::* LISTEN 1096/httpd
tcp 0 0 :::58067 :::* LISTEN 984/rpc.statd
tcp 0 0 :::22 :::* LISTEN 1038/sshd
tcp 0 0 :::873 :::* LISTEN 1130/rsync
udp 0 0 0.0.0.0:111 0.0.0.0:* 966/rpcbind
udp 0 0 0.0.0.0:10000 0.0.0.0:* 1165/perl
udp 0 0 0.0.0.0:34227 0.0.0.0:* 1121/(squid)
udp 0 0 0.0.0.0:717 0.0.0.0:* 966/rpcbind
udp 0 0 0.0.0.0:37968 0.0.0.0:* 984/rpc.statd
udp 0 0 0.0.0.0:736 0.0.0.0:* 984/rpc.statd
udp 0 0 :::111 :::* 966/rpcbind
udp 0 0 :::58520 :::* 1121/(squid)
udp 0 0 :::717 :::* 966/rpcbind
udp 0 0 :::59859 :::* 984/rpc.statd
转载于:https://www.cnblogs.com/daino/p/4293907.html
give root password for maintenance 启动异常的解决相关推荐
- Linux 启动时,出现give root password for maintenance处理方法
报错 某天由于openstack资源不足,导致了宿主机杀死了上面的部分虚拟机.刚好杀死了nginx和监控各微服务存活的一个服务.导致了整个平台大部分对外服务的访问异常. 大部分服务由于配置了开机自启, ...
- linux系统无法启动提示give root password for maintenance的解决方法
linux系统无法启动提示give root password for maintenance的解决方法 由于非法重启或硬盘故障,会导致linux系统无法启动,无法进入操作系统.当你看到提示:give ...
- linux系统无法启动提示give root password for maintenance的多种解决方法
终端输入reboot后出现 GIVE root password for maintenance(or type control-D to continue): 输入密码出现提示符后再reboot才能 ...
- Give root password for maintenance 问题解决.
LINUX 服务器,不能远程登录,本机也不能登录,只看到满屏的 16位数据...... 后重启动,发现硬盘检测不能通过, 按以下方法解决. Give root password for mainten ...
- centos——开机显示 give root password for maintenance
Linux服务器断电后系统文件错误,开机后显示checking file on dask,但是不能自我修复完,提示如下: give root password for maintenance(or p ...
- linux 系统出现Give root password for maintenance 问题
2019独角兽企业重金招聘Python工程师标准>>> linux 系统出现Give root password for maintenance 问题的解决方法 : 问题原因应该是/ ...
- linux开机出现一下错误Give root password for maintenance (or type Control-D to continue):
linux开机出现一下错误Give root password for maintenance (or type Control-D to continue): 第一种错误的情况: 由于错误的编辑/e ...
- Give root password for maintenance 问题的解决方法
Give root password for maintenance 问题的解决方法 应该是/usr /home /boot分区磁盘检测出了问题. Give root password for mai ...
- centos 7系统Give root password for maintenance解决办法
当系统出现Give root password for maintenance这个问题: 1,系统因不正常的方式重启或关机,造成系统文件出错(/usr , /home)一般是这两个文件 2,系统挂载的 ...
最新文章
- 21行满分代码:1039 到底买不买 (20分)
- 最长配对(51Nod-2494)
- JavaScript 面向对象
- 搭建负载均衡器nginx_为什么要使用NGINX作为负载均衡器?
- IDEA 中创建多级目录
- Normalization的方法
- 升级总代分享思路_旧笔记本光驱换SSD,升级内存,改造散热还能再战5年
- 国内十大主流安卓和iOSApp应用商店推广渠道列表
- otrs软件_开源 IT 服务管理软件(ITSM) - OTRS
- 鼎捷软件ERP,MES等系统构筑制造企业信息化系统
- 计算机开机没有d盘,电脑每次开机总是自检D盘的解决办法
- Hutool 导出excel并合并单元格
- 找零钱问题(C语言实现)——贪心算法应用(1)
- Linux安全审计之audit安装与使用
- 从Oho到Siri (语言心理学简介)
- 换个方式认识一下——微信公众号搜索公众号列表 API
- 解决谷歌浏览器的 DNS_PROBE_FINISHED_NXDOMAIN
- 初学乍练redis:Redis 5 Cluster手工指定主从关系
- 【Ubuntu系统配置】006Ubuntu20.04安装QQ for Linux v3.0(del文件安装卸载)
- VUE不兼容显卡问题
热门文章
- SAP MM ME29N 试图取消审批报错 - Document has already been outputed(function not possible) -
- GAN简介及其常见应用
- SAP MM MM17里不能修改物料主数据'Purchasing Value Key'字段值?
- 深度丨人工智能的最大未解之谜是什么?
- 强化学习gym库中的Pendulum-v1/CartPole-v1游戏介绍
- 人工智能将如何改变芯片设计
- Science: 四万张大脑图像首次揭示人脑白质的基因基础
- 图解丨卷积神经网络数学原理解析
- 它将改变一切:AI解决了生物学50年来的重大难题
- 生物战教训、生物安全问题以及未来监控军民两用生物技术扩散的手段