文件操作 - boot.log-20210626
返回文件管理
返回主菜单
删除本文件
文件: /var/log/boot.log-20210626
编辑文件内容
[[32m OK [0m] Started Show Plymouth Boot Screen. [[32m OK [0m] Started Forward Password Requests to Plymouth Directory Watch. [[32m OK [0m] Reached target Paths. [[32m OK [0m] Reached target Basic System. %G%G[[32m OK [0m] Found device Virtual_Disk root. Starting File System Check on /dev/disk/by-label/root... [[32m OK [0m] Started dracut initqueue hook. [[32m OK [0m] Reached target Remote File Systems (Pre). [[32m OK [0m] Reached target Remote File Systems. [[32m OK [0m] Started File System Check on /dev/disk/by-label/root. Mounting /sysroot... [[32m OK [0m] Mounted /sysroot. [[32m OK [0m] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [[32m OK [0m] Started Reload Configuration from the Real Root. [[32m OK [0m] Reached target Initrd File Systems. [[32m OK [0m] Reached target Initrd Default Target. Starting dracut pre-pivot and cleanup hook... [[32m OK [0m] Started dracut pre-pivot and cleanup hook. Starting Cleaning Up and Shutting Down Daemons... [[32m OK [0m] Stopped dracut pre-pivot and cleanup hook. [[32m OK [0m] Stopped target Timers. [[32m OK [0m] Stopped target Initrd Default Target. [[32m OK [0m] Stopped target Basic System. [[32m OK [0m] Stopped target Paths. [[32m OK [0m] Stopped target System Initialization. [[32m OK [0m] Stopped Apply Kernel Variables. [[32m OK [0m] Stopped Load Kernel Modules. [[32m OK [0m] Stopped target Swap. [[32m OK [0m] Stopped target Sockets. Starting Plymouth switch root service... Stopping udev Kernel Device Manager... [[32m OK [0m] Stopped target Remote File Systems. [[32m OK [0m] Stopped target Remote File Systems (Pre). [[32m OK [0m] Stopped dracut initqueue hook. [[32m OK [0m] Stopped udev Coldplug all Devices. [[32m OK [0m] Stopped target Slices. [[32m OK [0m] Stopped target Local File Systems. [[32m OK [0m] Stopped udev Kernel Device Manager. [[32m OK [0m] Stopped dracut pre-udev hook. [[32m OK [0m] Stopped dracut cmdline hook. [[32m OK [0m] Stopped Create Static Device Nodes in /dev. [[32m OK [0m] Stopped Create list of required static device nodes for the current kernel. [[32m OK [0m] Closed udev Kernel Socket. [[32m OK [0m] Closed udev Control Socket. Starting Cleanup udevd DB... [[32m OK [0m] Started Cleaning Up and Shutting Down Daemons. [[32m OK [0m] Started Cleanup udevd DB. [[32m OK [0m] Reached target Switch Root. [[32m OK [0m] Started Plymouth switch root service. Starting Switch Root... Welcome to [0;31mCentOS Linux 7 (Core)[0m! [[32m OK [0m] Stopped Switch Root. [[32m OK [0m] Stopped Journal Service. Starting Journal Service... [[32m OK [0m] Started Forward Password Requests to Wall Directory Watch. [[32m OK [0m] Listening on udev Kernel Socket. Starting Replay Read-Ahead Data... Starting Collect Read-Ahead Data... [[32m OK [0m] Stopped target Switch Root. [[32m OK [0m] Stopped target Initrd Root File System. Mounting Huge Pages File System... Starting Create list of required static device nodes for the current kernel... [[32m OK [0m] Created slice system-getty.slice. [[32m OK [0m] Listening on udev Control Socket. Mounting Debug File System... [[32m OK [0m] Stopped target Initrd File Systems. [[32m OK [0m] Set up automount Arbitrary Executable File Formats File System Automount Point. [[32m OK [0m] Created slice Virtual Machine and Container Slice. [[32m OK [0m] Listening on Delayed Shutdown Socket. Starting Control Group configuration service... [[32m OK [0m] Created slice system-systemd\x2dfsck.slice. [[32m OK [0m] Listening on LVM2 poll daemon socket. [[32m OK [0m] Created slice system-selinux\x2dpolicy\x2dmigrate\x2dlocal\x2dchanges.slice. Starting Read and set NIS domainname from /etc/sysconfig/network... Mounting POSIX Message Queue File System... [[32m OK [0m] Created slice User and Session Slice. [[32m OK [0m] Reached target Slices. [[32m OK [0m] Created slice system-vncserver.slice. [[32m OK [0m] Listening on LVM2 metadata daemon socket. [[32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe. [[32m OK [0m] Listening on Device-mapper event daemon FIFOs. Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling... [[32m OK [0m] Started Collect Read-Ahead Data. [[32m OK [0m] Started Replay Read-Ahead Data. Starting Remount Root and Kernel File Systems... Starting Load Kernel Modules... [[32m OK [0m] Started Create list of required static device nodes for the current kernel. Starting Create Static Device Nodes in /dev... [[32m OK [0m] Started Load Kernel Modules. Starting Apply Kernel Variables... Mounting FUSE Control File System... [[32m OK [0m] Started Journal Service. [[32m OK [0m] Started Apply Kernel Variables. [[32m OK [0m] Started Control Group configuration service. [[32m OK [0m] Mounted Debug File System. [[32m OK [0m] Mounted FUSE Control File System. [[32m OK [0m] Mounted POSIX Message Queue File System. [[32m OK [0m] Mounted Huge Pages File System. [[32m OK [0m] Started Remount Root and Kernel File Systems. Starting udev Coldplug all Devices... Starting Configure read-only root support... Starting Flush Journal to Persistent Storage... [[32m OK [0m] Started Read and set NIS domainname from /etc/sysconfig/network. [[32m OK [0m] Started udev Coldplug all Devices. Starting udev Wait for Complete Device Initialization... [[32m OK [0m] Started Flush Journal to Persistent Storage. [[32m OK [0m] Started Configure read-only root support. Starting Load/Save Random Seed... [[32m OK [0m] Started Load/Save Random Seed. [[32m OK [0m] Started LVM2 metadata daemon. [[32m OK [0m] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [[32m OK [0m] Started udev Kernel Device Manager. %G%G[[32m OK [0m] Found device Virtual_Disk boot. [[32m OK [0m] Found device Virtual_Disk swap. [[32m OK [0m] Started udev Wait for Complete Device Initialization. Starting Activation of DM RAID sets... Activating swap /dev/disk/by-label/swap... [[32m OK [0m] Activated swap /dev/disk/by-label/swap. [[32m OK [0m] Reached target Swap. [[32m OK [0m] Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling. [[32m OK [0m] Reached target Local File Systems (Pre). Starting File System Check on /dev/disk/by-label/boot... [[32m OK [0m] Started Activation of DM RAID sets. [[32m OK [0m] Reached target Local Encrypted Volumes. [ 18.601075] systemd-fsck[743]: boot: clean, 370/260096 files, 216451/1048576 blocks [[32m OK [0m] Started File System Check on /dev/disk/by-label/boot. Mounting /boot... [[32m OK [0m] Mounted /boot. [[32m OK [0m] Reached target Local File Systems. Starting Import network configuration from initramfs... Starting Tell Plymouth To Write Out Runtime Data... Starting Preprocess NFS configuration... [[32m OK [0m] Started Import network configuration from initramfs. [[32m OK [0m] Started Tell Plymouth To Write Out Runtime Data. [[32m OK [0m] Started Preprocess NFS configuration. Starting Create Volatile Files and Directories... [[32m OK [0m] Started Create Volatile Files and Directories. Starting Security Auditing Service... Mounting RPC Pipe File System... [[32m OK [0m] Mounted RPC Pipe File System. [[32m OK [0m] Reached target rpc_pipefs.target. [[32m OK [0m] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [[32m OK [0m] Started Update UTMP about System Boot/Shutdown. [[32m OK [0m] Reached target System Initialization. [[32m OK [0m] Listening on Open-iSCSI iscsiuio Socket. [[32m OK [0m] Started Daily Cleanup of Temporary Directories. [[32m OK [0m] Listening on Open-iSCSI iscsid Socket. [[32m OK [0m] Listening on RPCbind Server Activation Socket. [[32m OK [0m] Listening on Virtual machine log manager socket. [[32m OK [0m] Listening on Virtual machine lock manager socket. [[32m OK [0m] Started Flexible branding. [[32m OK [0m] Reached target Paths. [[32m OK [0m] Listening on D-Bus System Message Bus Socket. [[32m OK [0m] Reached target Sockets. [[32m OK [0m] Started daily update of the root trust anchor for DNSSEC. [[32m OK [0m] Reached target Timers. [[32m OK [0m] Reached target Basic System. [[32m OK [0m] Reached target Login Prompts (Pre). Starting Login Service... Starting Generate rndc key for BIND (DNS)... [[32m OK [0m] Started Hardware RNG Entropy Gatherer Daemon. Starting GSSAPI Proxy Daemon... Starting Resets System Activity Logs... [[32m OK [0m] Started D-Bus System Message Bus. Starting CGroups Rules Engine Daemon... Starting Load CPU microcode update... Starting Dump dmesg to /var/log/dmesg... Starting NTP client/server... [[32m OK [0m] Started ABRT Automated Bug Reporting Tool. [[32m OK [0m] Started ABRT kernel log watcher. Starting Initialize hardware monitoring sensors... Starting VDO volume services... [[32m OK [0m] Started libstoragemgmt plug-in server daemon. [[32m OK [0m] Started irqbalance daemon. Starting Virtual Machine and Container Registration Service... Starting Self Monitoring and Reporting Technology (SMART) Daemon... Starting Install ABRT coredump hook... Starting Authorization Manager... Starting Rollback uncommitted netcf network config change transactions... [[32m OK [0m] Started Self Monitoring and Reporting Technology (SMART) Daemon. [[32m OK [0m] Started Generate rndc key for BIND (DNS). [[32m OK [0m] Started Resets System Activity Logs. [[1;31mFAILED[0m] Failed to start CGroups Rules Engine Daemon. See 'systemctl status cgred.service' for details. [[32m OK [0m] Started Dump dmesg to /var/log/dmesg. [[32m OK [0m] Started Install ABRT coredump hook. [[32m OK [0m] Started Rollback uncommitted netcf network config change transactions. [[32m OK [0m] Started GSSAPI Proxy Daemon. [[32m OK [0m] Reached target NFS client services. [[1;39m INFO [0m] Network Manager is not active. [[1;33mDEPEND[0m] Dependency failed for Network Manager Wait Online. Starting LSB: Bring up/down networking... [[32m OK [0m] Started Login Service. [[32m OK [0m] Started Initialize hardware monitoring sensors. [[32m OK [0m] Started Virtual Machine and Container Registration Service. [[32m OK [0m] Started NTP client/server. [[32m OK [0m] Started Authorization Manager. [[32m OK [0m] Started Load CPU microcode update. [[32m OK [0m] Started VDO volume services. [[0m[31m* [0m] (1 of 2) A start job is running for dev-disk-by\x2did-usb\x...C0ECE32088610AAA\x2d0:0\x2dpart1.device (12s / 1min 30s) [K[[1;31m*[0m[31m* [0m] (1 of 2) A start job is running for dev-disk-by\x2did-usb\x...C0ECE32088610AAA\x2d0:0\x2dpart1.device (12s / 1min 30s) [K[[31m*[1;31m*[0m[31m* [0m] (1 of 2) A start job is running for dev-disk-by\x2did-usb\x...C0ECE32088610AAA\x2d0:0\x2dpart1.device (13s / 1min 30s) [K[[32m OK [0m] Started LSB: Bring up/down networking. [[32m OK [0m] Reached target Network. Starting Pure-FTPd FTP server... Starting Logout off all iSCSI sessions on shutdown... [[32m OK [0m] Started The PHP FastCGI Process Manager. Starting Amavis mail content checker... Starting OpenSSH server daemon... Starting Dynamic System Tuning Daemon... Starting Remote desktop service (VNC)... Starting CentOS Web Panel service (daemon)... Starting Spamassassin daemon... [[32m OK [0m] Started The PHP FastCGI Process Manager. [[32m OK [0m] Started MacroMilter service. [[32m OK [0m] Started The PHP FastCGI Process Manager. [[32m OK [0m] Started Memcached. Starting Web server Apache... Starting ConfigServer Firewall & Security - csf... [[32m OK [0m] Started Pro-active monitoring utility for unix systems. [[32m OK [0m] Started The PHP FastCGI Process Manager. [[32m OK [0m] Started The PHP FastCGI Process Manager. [[32m OK [0m] Started The PHP FastCGI Process Manager. Starting Berkeley Internet Name Domain (DNS)... Starting MariaDB 10.1.48 database server... [[32m OK [0m] Started CWP Policyd for Postfix. Starting Fail2Ban Service... Starting Postfix Mail Transport Agent... [[32m OK [0m] Reached target Network is Online. Starting LSB: Systems Management Device Drivers... Starting System Logging Service... Starting LSB: Dell DRAC4 Service... Starting Dovecot IMAP/POP3 email server... [[32m OK [0m] Started OpenSSH server daemon. [[32m OK [0m] Started Logout off all iSCSI sessions on shutdown. [[32m OK [0m] Started Fail2Ban Service. [[32m OK [0m] Started LSB: Dell DRAC4 Service. Starting Availability of block devices... [[32m OK [0m] Reached target Remote File Systems (Pre). [[32m OK [0m] Reached target Remote File Systems. Starting Virtualization daemon... Starting Permit User Sessions... Starting Crash recovery kernel arming... [[32m OK [0m] Started Availability of block devices. [[32m OK [0m] Started Permit User Sessions. [[32m OK [0m] Started LSB: Systems Management Device Drivers. Starting LSB: Systems Management Data Engine... [[32m OK [0m] Created slice User Slice of root. [[32m OK [0m] Started Job spooling tools. [[32m OK [0m] Started Getty on tty1. [[32m OK [0m] Reached target Login Prompts. Starting Terminate Plymouth Boot Screen... [[32m OK [0m] Started Session c1 of user root. [[32m OK [0m] Started Command Scheduler.
修改文件时间
将文件时间修改为当前时间的前一年
删除文件