看板FreeBSD
标 题Re: FreeBSD生手
发信站SEEDNet News Service (Sat Jun 12 08:08:45 2004)
转信站ptt!ctu-reader!ctu-gate!news.nctu!news.ntu!feeder.seed.net.tw!news.see
"漫漫长夜 无心睡眠" <
[email protected]> 在邮件
news:
[email protected] 中撰写...
> ※ 引述《Tonight (漫漫长夜 无心睡眠)》之铭言:
> > ※ 引述《[email protected] (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]