启动Linux时,在starting sendmail长时间等待,接下来的starting sm-client也是长时间等待。
解决:
和更改hostname有关
更改主机名要做三件事:
1. 修改/etc/sysconfig/network文件,HOSTNAME=“主机名”;
2. 将主机名添加到/etc/hosts文件中。使主机名能够被解析。
3. 这时,主机名已经修改成功了,但shell提示符还是显示原来的主机名,需重启才能更改。
另外,利用命令 hostname 主机名 ,临时修改主机名,重启后失效。
相关热门文章
给主人留下些什么吧!~~
评论热议