YamPiz Servies
       
       
      Share
       
      Forum

      Yampiz Forum

      Sharing let knowledge Spreaded, Reading let spirits growth, Creative let culture extended, Let us
      • 禁止廣告文
      • 知識傳播
      • 閱讀
      • 心靈成長
      • 創作
      • 文化傳承
      Forum Dictionary / PC / Linux 討論版 /

      在啟動 httpd 時出現 httpd: apr_sockaddr_info_get() failed for

      New Subject
      Random
      Previous
      Next
      |
      在啟動 httpd 時出現 httpd: apr_sockaddr_info_get() failed for

      在啟動 httpd 時出現

      Starting httpd: httpd: apr_sockaddr_info_get() failed for MYHOST
      httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName.

      這個問題應該是沒有在 /etc/httpd/conf/httpd.conf 中設定 ServerName 所以它會用主機上的名稱來取代,首先會去找 /etc/hosts 中有沒有主機的定義。

      所以要解決這個問題可以設定 ServerName 或者在 /etc/hosts 中填入自己的主機名稱 MYHOST,像這樣:

      >vi /etc/hosts

      127.0.0.1 localhost.localdomain localhost MYHOST

      就可以解決了 =)

      • Keywords : httpd, hosts, ServerName, MYHOST, localhost, 首先會去找, 要解決這, 就可以解決, 定義, 啟動, 問題, 名稱來取代, 出現, 主機名稱, 主機, 中設定, 中填入, using, server, reliably
      0 0
      2007-11-10T08:30:35+0000

      學生妹瀨043811 :

      !!! The contents has been hidden because it violates policy tactic. !!!
      0 0
      2019-01-29T16:58:14+0000

      q6986 :

      !!! The contents has been hidden because it violates policy tactic. !!!
      0 0
      2019-07-18T13:21:13+0000


      • Now, you can post comments by Facebook Account when your Yampiz account was logout or unvariable. whatever, we suggest to post comment by Yampiz Account to get more bounds to join new events of Heyxu
      Comment
       
      Verify

      Facebook Page

      QR-Code and APP Launcher

      User Guide
      This Webpage

      In those service tabs, "Scan QRCode, in mobile device" or "Click the button, in this device" to open webpage or APP-related operations.
      QRCode
      • Auto Platform
        For better browsing experience, it will auto detects your device to display webpage.
      • Bug Report
        Tell us about the idea, problem and errors you found.
      • Comodo Secure
        The sensitive data transmission adopts by SSL-2048 authenticated encryption.
      • Copyright
        © 2009 YamPiz Digital Inc. & Jaby Group. All rights reserved.
      • Revised Version
        V2.2.208
        26 Feb 2025 (GMT+8)