Q.bash-3.00#grep "syslog" /var/adm/messages
Apr 20 16:10:05 sun10 syslogd: line 24: WARNING: loghost could not be resolved


A:
bash-3.00# cat /etc/syslog.conf   查看設定檔,以為在24行的部分設定錯誤,
mail.debug                      ifdef(`LOGHOST', /var/log/syslog, @loghost)
原來是找不到loghost設定


重新查看並編輯cat /etc/inet/hosts
#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
192.168.0.46    sun10  loghost

重新查看並編輯cat /etc/inet/ipnodes
#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
192.168.0.46    sun10  loghost
問題就解決囉......

Q.May 17 10:32:37 sun10 sendmail[624]: [ID 702911 mail.alert] unable to qualify my own domain name (sun10) -- using short name
修改vi /etc/hosts 加入紅色字體,重新啟動服務,就可以囉
#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
192.168.200.146    sun15   loghost sohare.com.tw

arrow
arrow
    全站熱搜

    蒼穹 發表在 痞客邦 留言(0) 人氣()