centos6.8启动错误 init: rcS post-stop process terminated with status 1
来源:互联网 发布:数据可视化展示平台 编辑:程序博客网 时间:2024/06/06 10:03
前段时间在一台虚拟机上做监控软件测试,但重启后不知道怎么就启动不了,刚启动不久就提示init:rcS post-stop process (870) terminated with status 1
错误如下
查了很多资料都没有找到原因,后来有一个网友的提醒,说可能是/etc/rc.d/ 目录下的某个文件有问题。可我没有修改过下面的任何文件啊。不管了,进入救援模式,先备份/etc/rc.d/ 目录,然后在相同配置的虚拟机上copy /etc/rc.d/到本机当中。重启……还是一样的问题。。。
我再认真看了错误提示,发现一个重要信息 "chown: invalid user: 'root:root'",怎么会是无效用户?于是我就查看了一下passwd文件……晕,怎么全空了?再查看一下发现还有一个“passwd-” 文件,这里面才是需要的内容。把文件改回来以后再启动,果然能正常启动了。
这应该是我再配置服务的时候被修改了passwd文件,而我没有发现!
声明:自己也出现了这个错误,看了这篇文章得以解决,特留次文章保存,以备后用。如作者看见,觉有不妥,自当删除。
转子地址:http://blog.163.com/mrxie896@126/blog/static/53311987201362424915740/
0 0
- centos6.8启动错误 init: rcS post-stop process terminated with status 1
- init: prefdm main process (1235) terminated with status 1解决办法
- init: prefdm main process (1235) terminated with status 1解决办法
- Process terminated with status 255 错误,首先检查错误
- Process terminated with status -1073741510
- process terminated with status 255 in codeblocks
- Android启动错误init: untracked pid 1246 exited with status判断方法
- 服务启动Apache服务,错误Parent: child process exited with status 3 -- Aborting.解决
- 服务启动Apache服务,错误Parent: child process exited with status 3 -- Aborting.解决
- hadoop运行时错误:Task process exit with nonzero status of 1
- '/etc/init.d/rcS'启动打不开
- 开机启动脚本/etc/init.d/rcS
- 开机启动脚本/etc/init.d/rcS
- ORA-00470: LGWR process terminated with error
- Erlang的“ERROR: Shell process terminated!”错误
- STOP: c000021a { Fatal System Error } the initial session process or system process terminated ...
- MINI2440启动配置文件/etc/init.d/rcS文件分析
- MINI2440启动配置文件/etc/init.d/rcS文件分析
- PHP觸發服務器shell腳本(轉載,未測)
- C++ 去warning
- 动态加载框架集合 总结篇
- 心理学家、实验与效应
- JSON是什么
- centos6.8启动错误 init: rcS post-stop process terminated with status 1
- 你真的了解UINavigationController吗?
- D3D11教程十之LighhtMap(光照贴图)
- 使用common-fileupload实现文件的上传
- LeetCode[416] Partition Equal Subset Sum
- Spring Boot基础7-web应用开发-模板引擎Thymeleaf
- JSP与Java Servlet的关系
- java下的actor模型【actor model】的实现
- Lint使用文档(AndroidStudio)