Solaris 10 6/06 版本說明

登入錯誤訊息

登入 Java Desktop System 階段作業時,可能會出現下列的錯誤訊息:


Could not look up internet address for hostname.
This will prevent GNOME from operating correctly.
It may be possible to correct the problem by adding 
hostname to the file /etc/hosts

解決方法:確定已在 /etc/hosts 檔案中正確設定您的主機名稱。執行下列步驟:

  1. 如下所示,在 /etc/hosts 檔案中設定主機名稱:


    127.0.0.1 localhost loghost hostname
    localhost.localdomain

    hostname 是您的系統名稱。

  2. 確認您的主機名稱列在 /etc/nodename 檔案中。這個檔案必須包含下行的內容:


    127.0.0.1 localhost loghost hostname
    localhost.localdomain
  3. 將下列項目增加到 /etc/inet/ipnodes 檔案:


    127.0.0.1 hostname