Hi feng,

Just have a moment here, so I'll do some cut&paste

if you type httpd -V

You'll get an output like the following:

Server version: Apache/1.3.6 (Unix)  (Red Hat/Linux)
Server built:   Apr  7 1999 17:17:41
Server's Module Magic Number: 19990320:0
Server compiled with....
 -D HAVE_MMAP
 -D HAVE_SHMGET
 -D USE_SHMGET_SCOREBOARD
 -D USE_MMAP_FILES
 -D USE_FCNTL_SERIALIZED_ACCEPT
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D SHARED_CORE_DIR="/usr/lib/apache"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
 -D DEFAULT_XFERLOG="/var/log/httpd/access_log"
 -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
 -D TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
 -D ACCESS_CONFIG_FILE="conf/access.conf"
 -D RESOURCE_CONFIG_FILE="conf/srm.conf"

Above, you'll see HTTPD_ROOT.  what ever that points to is the base of where
you should find your config files, under $HTTPD_ROOT/conf/.  Take a look at
httpd.conf, and look for the directive "ServerName', mine reads:


ServerName wintermute.berrex.com

change yours accordingly.  chances are, you may need other config modifications
to make things really work.  Take a look at the /manual section of your website
when you get it up and going.

Regards,

Russell
[EMAIL PROTECTED]



On 31-Mar-00 Hong F Du wrote:
> Greetings,
> I get error messages at redhat 6.1 bootup saying "httpd: cannot
> determine local host name" " Use the ServerName directive to set it
> manuallly" "httpd startup failed"
> 
> What is wrong with it? How should I fix it. Thanks a lot in advanced.
> 
> feng

Words to Live by...
        Work like you don't need money,
        Love like you've never been hurt,
        Dance like nobody's watching.

Reply via email to