/var/log/boot.log — 记录系统启动时的日志信息,如果系统启动之后有什么异常可以查看该文件信息
[root@localhost ~]# cat /var/log/boot.log # 要用cat查看不要用vim @ Welcome to CentOS Starting udev: G [ OK ] Setting hostname VM_215_87_centos: [ OK ] Setting up Logical Volume Management: No volume groups found [ OK ] Checking filesystems /dev/vda1: clean, 114164/3276800 files, 1357072/13106944 blocks [ OK ] Remounting root filesystem in read-write mode: [ OK ] Mounting local filesystems: [ OK ] Enabling local filesystem quotas: [ OK ] Enabling /etc/fstab swaps: [ OK ] Entering non-interactive startup iptables: Applying firewall rules: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. [ OK ] WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. FATAL: Module off not found. Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining if ip address 10.105.215.87 is already in use for device eth0... [ OK ] WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. FATAL: Module off not found. Starting portreserve: [ OK ] Starting system logger: [ OK ] Starting php-fpm done Starting sshd: [ OK ] Starting MySQL.. SUCCESS! Starting nginx: [ OK ] Starting crond: [ OK ] Starting jexec servicesStarting Zabbix Agent: [ OK ]