[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: apache setup



I cannot see what the acctual error on line 264 is. It
only tells me that there is an error.
Here is what I'm doing:
[root localhost httpd-2.0.48]# apachectl start
and this is the error I get:
"Starting httpd: Syntax error on line 264 of
/etc/httpd/conf/httpd.conf: ServerName takes one
argument, The hostname and port of the server"

I have no clue what that means, cuz I'm new to linux.
Thanks for your help though.
--- Chris Hewitt <g0pae manordat demon co uk> wrote:
> asko mursel wrote:
> 
> >When I try to turn on the server with "service
> httpd
> >start" I get the following 
> >"Starting httpd: Syntax error on line 264 of
> >/etc/httpd/conf/httpd.conf: ServerName takes one
> >argument, The hostname and port of the server"
> >
> >It doesn't start the server.
> >Help.
> >Please, make some suggestions. Thanks.
> >
> If there is any syntax error then the server will
> not start. Would you 
> let us know what is on line 264 and then we may be
> able to say what is 
> wrong with it. Which version of apache/linux is this
> on?
> 
> Usually, ServerName is not needed and it is
> commented out by default. 
> You would only need it if it is different from the
> DNS name. What IP 
> address and DNS name have you got for your computer
> network interface  
> (presumably ethernet or serial port)?
> 
> HTH
> Chris
> PS I think you may have simply done a "reply" to a
> previous message. If 
> so then please start a new message with a new
> subject, rather than 
> taking someone else's.
> 
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
>
https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request redhat com
> Subject: unsubscribe


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]