7u2开机过程中,syslog-ng启动失败,导致机器hang住
启动过程如下
[ 14.678188] systemd-fsck[1020]: /apsara: Inodes that were part of a corrupted orphan linked list found.
[ 14.683348] systemd-fsck[1020]: /apsara: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
[ 14.693904] systemd-fsck[1020]: (i.e., without -a or -p options)
[ OK ] Started File System Check on /dev/disk/by-label/\x2fapsara.
[ OK ] Stopped target Emergency Mode.
[ OK ] Stopped Emergency Shell.
Mounting /apsara...
[ OK ] Stopped target Multi-User System.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Machine Check Exception Logging Daemon.
[ OK ] Stopped Network Time Service.
[ OK ] Reached target Paths.
[ OK ] Stopped SYSV: service_manager_super... A Supervisor For TianjiClient..
[ OK ] Stopped SYSV: ilogtail is log collect agent of Simple Log Service.
[ OK ] Stopped Login Service.
[ OK ] Stopped Resets System Activity Logs.
[ OK ] Stopped OpenSSH server daemon.
[ OK ] Stopped OpenSSH Server Key Generation.
[ OK ] Stopped Serial Getty on ttyS1.
[ OK ] Stopped Terminate Plymouth Boot Screen.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Wait for Plymouth Boot Screen to Quit.
[ OK ] Stopped /etc/rc.d/rc.local Compatibility.
[ OK ] Reached target Login Prompts.
[ OK ] Stopped Command Scheduler.
[ OK ] Stopped SYSV: Staragent is a standa...toring UNIX program for alibaba.
[ OK ] Stopped SYSV: DragoonAgent is a sta...toring UNIX program for alibaba.
[ OK ] Stopped SYSV: Load unevictable kernel module.
[ OK ] Stopped SYSV: Load ApsaraOOM2 kernel module.
[ OK ] Stopped LSB: Bring up/down networking.
[ OK ] Reached target Network is Online.
[ OK ] Stopped Permit User Sessions.
[ OK ] Mounted /apsara.
[ OK ] Reached target Local File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Import network configuration from initramfs...
[ OK ] Started Import network configuration from initramfs.
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Timers.
[ OK ] Reached target Basic System.
Starting System Logger Daemon...
Starting Dump dmesg to /var/log/dmesg...
[ OK ] Started Dump dmesg to /var/log/dmesg.
[ OK ] Started System Logger Daemon.
场景复现条件:
1.syslog-ng到远程有一个收集日志中心 remote IP的网络不通
2.开机过程中有fsck检查磁盘的过程,并且检查到失败信息
我怀疑是 这个fsck检查失败 触发日志,但是syslog-ng卡住,导致机器hang住
有遇到同样问题的吗?求解决办法?多谢
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...