CentOs启动时inittab的问题

lyshensir 2018-03-19 09:27:10
如果我设置为 5,启动倒是正常,有图形化的界面,可以正常使用。

但是如果设置为3,启动时候,屏幕上循环出现
connect to server..
connect to server..
server is off...
server is off...
connect to server..
connect to server..
server is off...
server is off...
connect to server..
connect to server..
server is off...
server is off...
connect to server..
connect to server..
server is off...
server is off...

[root@localhost etc]# vi /etc/inittab
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:


现在问题是:不知道这是个什么服务,一直在connect to server...新手求教,如何定位到这是哪个进程,什么服务。。谢谢。
...全文
450 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
cqyy725 2018-03-19
  • 打赏
  • 举报
回复
你不会连了nfs的吧
骏马金龙 2018-03-19
  • 打赏
  • 举报
回复
用5级别进去后,清空系统日志。然后再用3登录一次,再用5级别查看日志

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧