The error log is as follows
The code is as follows |
Copy Code |
Cat/var/log/boot.log Welcome to CentOS Starting Udev:/sbin/start_udev:line 299:/etc/sysconfig/network:no such file or directory [OK] Setting hostname localhost: [OK] Setting up Logical Volume management:no Volume groups found [OK] Checking filesystems /dev/sda2:clean, 26038/640848 files, 298339/2560000 blocks /dev/sda1:clean, 38/51200 files, 34323/204800 blocks /dev/sda5:clean, 3757/4464640 files, 390676/17835520 blocks [OK] remounting root filesystem in Read-write mode: [OK] Mounting local filesystems: [OK] Enabling/etc/fstab swaps: [OK] Entering Non-interactive startup ip6tables:applying firewall rules: [OK] iptables:applying firewall rules: [OK] Starting AUDITD: [OK] Starting system logger: [OK] Retrigger failed Udev events [OK] Starting sshd: [OK] /etc/rc3.d/s80postfix:line:/etc/sysconfig/network:no such file or directory /etc/rc3.d/s80postfix:line: [: =: unary operator expected |
The file does not exist .... Back to normal after new
The code is as follows |
Copy Code |
Python[root@localhost network-scripts]# Cat/etc/sysconfig/network Rking=yes Hostname=
|
/etc/sysconfig/network pointed out that Networking=yew or no, read by Rs.sysinit, overall, the reason for recording this is a bit baffling, if directly import a system directly use, the way I almost misunderstood is VMXNET2 reason ...