歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> Solaris 8 啟動時,sendmail 報錯的處理

Solaris 8 啟動時,sendmail 報錯的處理

日期:2017/2/27 14:15:51   编辑:更多Linux
  Solaris 8 啟動時,會有信息: Oct 29 14:52:12 student23 sendmail[204]: [ID 702911 mail.alert] unable to qualify my own domain name (student23) -- using short name 檢查,/etc/hosts 可以看到 192.1.1.23 student23 logfile 這樣一行,我們注意到student23 這台主機沒有對應的 domain ,所以,我們需要為他加上 domainname 。我們可以任意指定一個: 192.1.1.23 student23 student23.sunedu logfile 重新啟動 sendmail, #pkill -HUP sendmail 這條信息就沒有了。 其實,sendmail.cf 裡面就是默認讀取 /etc/hosts 作為解析域名的文件。




Copyright © Linux教程網 All Rights Reserved