Re: FreeBSD生手

看板FreeBSD作者時間21年前 (2004/06/13 00:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/17 (看更多)
※ 引述《Tonight (漫漫長夜 無心睡眠)》之銘言: > ※ 引述《spiderii@seed.net.tw (Bruce)》之銘言: > > 請問,我在FreeBSD 5.2 release 版中,進ports/apache13 安裝 > > 安裝完畢後,要啟動 apache時出現 > > [root@matrix /usr/local/sbin]# apachectl start > > /usr/local/sbin/apachectl start: httpd could not be started > > 請問是哪裡出錯了呢??請指教 > /var/log/httpd-error.log 出現什麼訊息? 應該是你的httpd.conf中ServerName設定錯了. # # ServerName allows you to set a host name which is sent back to clients for # your server if it's different than the one the program would get (i.e., use # "www" instead of the host's real name). # # Note: You cannot just invent host names and hope they work. The name you # define here must be a valid DNS name for your host. If you don't understand # this, ask your network administrator. # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address (e.g., http://123.45.67.89/) # anyway, and this will make redirections work in a sensible way. # # 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your # machine always knows itself by this address. If you use Apache strictly for # local testing and development, you may use 127.0.0.1 as the server name. # ServerName xxx.xxx.xxx.xxx -- ※ Origin: 雲林科技大學藍天使 <bbs.yuntech.edu.tw> [From: 140.125.251.2]
文章代碼(AID): #10ooZ300 (FreeBSD)
文章代碼(AID): #10ooZ300 (FreeBSD)