Article Title: solution to slow sendmail startup in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After the new linux system is restarted, it is found that the startup is very slow and it has been stopped at sendmail, which takes a lot of time. After searching for information, it is found that most of the network information is inaccurate, then I found a solution:
Environment: Linux AS4 Update6
# Vi/etc/hosts
127.0.0.1 localhost. localdomain localhost
Modify
127.0.0.1 localhost. localdomain localhost Host Name
The command for viewing the Host Name of the local machine is: hostname
Only this row is retained, and additional rows can be deleted.
After reboot, it is found that startup is normal.